HammerCraftingMaterials
Right-click any piece in the hammer build menu to pull its required materials from nearby chests directly into your inventory. Configurable search radius.
About this mod Author’s original text
HammerCraftingMaterials — Valheim Mod
Right-click any piece in the hammer build menu to pull its required materials from nearby chests directly into your inventory.
Features
| Feature | Detail |
|----------------------------|---------------------------------------------------------------------------------------------------------------------------------|
| Right-click pull | Open the hammer build menu, right-click any piece to pull its materials you are short in your inventory |
| Shift+Right-click pull | Open the hammer build menu, shift+right-click any piece to pull all its materials regardless of what you have in your inventory |
| Smart search | Searches all accessible chests within a configurable radius (default 10 m) |
| Partial pulls | Pulls as much as it can find and reports what's still missing |
Requirements
- Valheim (any recent version)
- BepInEx 5.4.x for Valheim — install or r2modman
Installation
Option A — r2modman Mod Manager (recommended)
- Open r2modman, select your Valheim profile.
- Click Install from file and select the HammerCraftingMaterials-1.1.1.zip package.
- Launch Valheim through the mod manager.
Option B — Manual
- Make sure BepInEx is installed in your Valheim folder.
- Copy HammerCraftingMaterials.dll into:
Valheim/BepInEx/plugins/HammerCraftingMaterials/HammerCraftingMaterials.dll
- Launch Valheim.
Configuration
Config file is auto-generated on first launch at:
Valheim/BepInEx/config/com.hammercraftingmaterials.valheim.cfg
| Key | Default | Description |
|---------------------|---------|----------------------------------------------|
| ChestSearchRadius | 10 | Radius in metres to search for nearby chests |
How It Works
- Equip your hammer and open the build menu.
- Right-click any piece in the piece selection list.
- The mod:
- Checks what materials that piece requires.
- Counts what you already have in your inventory.
- Searches all nearby, accessible chests within ChestSearchRadius metres.
- Removes only the missing materials from chests and adds them to your inventory.
- Displays a MessageHud popup summarizing what was pulled (and what's still missing).
- (Optional Shift+Right-click ignores your inventory and removes all needed materials from chests and adds them to your inventory.)
Known Limitations
- Chests inside a ward you don't have access to are skipped.
- If your inventory is full, items that can't stack will not be pulled.
License
MIT — do whatever you want, attribution appreciated.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.
Install these first, or the mod will not work: