Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
NearbyCrafting
Craft items using materials stored in nearby player-built containers. Built for Valheim 1.0.
By IPA38
| Date uploaded | 2 weeks ago |
| Version | 1.0.4 |
| Download link | IPA38-NearbyCrafting-1.0.4.zip |
| Downloads | 637 |
| Dependency string | IPA38-NearbyCrafting-1.0.4 |
This mod requires the following mods to function
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.2350README
Nearby Crafting
Craft items using materials stored in nearby containers.
Built for Valheim 1.0+.
Features
- Craft directly from nearby player-built storage.
- Automatically detects required materials in nearby containers.
- Uses materials from your inventory first, then nearby storage.
- Crafting requirement indicators recognize materials stored in nearby containers.
- Uses the nearest eligible containers first.
- Configurable container range.
- Optimized container caching for minimal performance impact.
- World loot containers are ignored by default.
- Carts and ships are ignored by default.
- Optional debug logging for troubleshooting.
Installation
r2modman / Thunderstore Mod Manager
Install Nearby Crafting directly through your preferred Thunderstore-compatible mod manager.
BepInEx is required and will be installed as a dependency when using a supported mod manager.
Manual Installation
-
Install BepInEx for Valheim.
-
Download and extract Nearby Crafting.
-
Place
NearbyCrafting.dllin:Valheim/BepInEx/plugins/NearbyCrafting/ -
Launch Valheim with BepInEx.
The configuration file will be generated automatically after the first launch.
Configuration
Configuration is located at:
BepInEx/config/com.mikeg.valheim.nearbycrafting.cfg
The default container range is 20 meters.
Available options include:
- Enable or disable Nearby Crafting.
- Change the container detection range.
- Include or exclude world/non-player-built containers.
- Include or exclude moving containers.
- Enable or disable the crafting requirement indicator fix.
- Enable diagnostic logging.
Debugging
If you encounter a problem, debug logging can be enabled in the configuration file:
DebugLogging = true
For detailed container detection information:
DebugContainerDetails = true
Debug information is written to the BepInEx log.
Detailed container logging can generate a large amount of output and should normally remain disabled.
Compatibility
Designed for Valheim 1.0+.
Nearby Crafting currently supports normal crafting recipes.
It does not currently pull materials for:
- Building
- Smelters
- Kilns
- Fires
- Carts
- Ships
Special recipes that require only one of multiple possible ingredients are not currently supported.
Multiplayer
Multiplayer support is currently considered experimental.
For the best experience, use Nearby Crafting in single-player or when hosting the world yourself.
Issues
If you encounter a problem, please include your BepInEx LogOutput.log when reporting it.
CHANGELOG
Changelog
1.2.1
- Corrected the internal BepInEx plugin version to
1.2.1. - Added an in-game HUD confirmation showing how many items were deposited and how many chests received items.
- Added a
nothing to depositHUD message when the hotkey finds no transferable items. - Reworked Mass Quick Deposit to avoid repeated
Inventory.StackAllcalls across nearby chests. - Fixed
Trying to add item to occupied slot -1, -1errors seen during mass deposit. - Uses explicit, valid inventory slots with
Inventory.MoveItemToThisfor every transfer. - Preserves quick-deposit behavior: an item is deposited only into a chest that already contained a compatible stack when that chest is processed.
- Added conservative stack matching for item name, quality, variant, world level, and custom data.
- Explicit anti-duplication behavior: quantities are moved from the live player stack and the remaining amount is re-checked before every subsequent transfer.
1.2.0
- Added configurable Mass Quick Deposit hotkey.
- Added independent
Quick Deposit > Enabledtoggle. - Default quick-deposit hotkey is
F6. - Mass quick-deposit processes all eligible nearby containers nearest-first using Valheim's native
Inventory.StackAlltransfer semantics. - Uses the same container range, player-built-container filtering, moving-container filtering, and Balrond compatibility rules as Nearby Crafting.
- Designed to prevent duplication: items are moved directly out of the player's inventory, never copied or cloned. Later chests can only receive remaining quantities.
1.1.4
- Fixed Valheim 1.0 conditional/upgrader requirements blocking nearby resource consumption after a recipe successfully passed availability checks.
- Resource payment follows the exact requirement names Valheim queried for the current recipe and quality.
- Fixed recipes such as Bronze Pickaxe and Stone Axe when required materials are stored in nearby chests.
1.1.3
- Changed recipe availability checks to let Valheim run its native requirement logic while Nearby Crafting augments inventory counts with eligible nearby storage.
1.1.2
- Restored compatibility handling for custom storage prefab layouts where
ContainerandPieceare siblings under the same prefab root. - Added soft BalrondConstructions compatibility/order handling.