You are viewing a potentially older version of this package. View all versions.
Frogger-ChestSnap-0.1.1 icon

ChestSnap

Ever wanted to place your chests or crates on a grid? Now you can add additional snap point by yourself via config

Date uploaded 2 days ago
Version 0.1.1
Download link Frogger-ChestSnap-0.1.1.zip
Downloads 734
Dependency string Frogger-ChestSnap-0.1.1

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2333

README

Project Logo

ChestSnap

A mod for Valheim that adds snap points to chests and crates, allowing you to place them perfectly on a grid or stack them with ease.

About

ChestSnap solves the problem of imprecise chest placement. It automatically injects snap points into the prefabs of various containers. No more spending minutes trying to align your storage — now they snap like building pieces.

Supported Buildings

  • Vanilla: All vanilla chests and containers.
  • BuildIt (OdinPlus): All crates.
  • Construction (MrSerji): Branch chest.
  • Valharvest (Frenvius): Apple, Garlic, Pepper, Potato, Salt, and Tomato boxes.
  • Valharvest: Cultivated Ground (various sizes).

How It Works

The mod load data a YAML configuration file and injects snap points into placeable objects.

  • Dynamic Injection: Snap points are added to the prefabs, so all existing and new chests will have them.
  • YAML-based: Coordinates are stored in an external file, making it easy to add support for new mods without recompiling.
  • Visual Debugging: Includes a built-in overlay system to visualize object bounds and snap points in real-time.

Console Commands

The mod adds a terminal command to help you find snap points for new objects:

Command Arguments Description
generate_snap_points [onlyBottom:bool] Generates snap points for the building piece you are currently hovering with a hammer. Saves points to the YAML config.

Configuration

Modify com.Frogger.ChestSnap.cfg in your BepInEx/config to toggle debug visuals:

  • Show debug visuals: Hidden / Always / OnHover.
  • Draw object bounds: Toggles green bounding box.
  • Draw snap points: Toggles cyan snap point spheres.

Custom Snap Points

You can manually edit BepInEx/config/com.Frogger.ChestSnap__snappoints_data.yaml to add support for any modded container.

Format example:

piece_chest_wood:
  - (0.8, 0, 0.37)
  - (0.8, 0, -0.37)

Install Notes

This is a fully client-side mod. It should be installed on the client. There is no need to install on a dedicated server.

Credits

Discord Logo Discord — justafrogger
GitHub Logo Source Code

If something does not work for you, you have found any bugs, or have suggestions — DM me or open a github issue

CHANGELOG

Version Date Changes
0.1.1 09.03.2026 Fixed a couple of bugs (Issue 1, Issue 2)
0.1.0 12.02.2026 Code refactor, configuration support
0.0.4 10.12.2022 Initial Thunderstore relese