You are viewing a potentially older version of this package. View all versions.
IPA38-NearbyCrafting-1.2.1 icon

NearbyCrafting

Craft, build, and mass quick-deposit using nearby player-built containers.

By IPA38
Date uploaded 2 weeks ago
Version 1.2.1
Download link IPA38-NearbyCrafting-1.2.1.zip
Downloads 7146
Dependency string IPA38-NearbyCrafting-1.2.1

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 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.2350

README

Nearby Crafting

Nearby Crafting lets you craft and build using materials stored in nearby player-built containers, so you do not need to move resources into your inventory first.

Features

  • Craft using materials from nearby eligible containers.
  • Build using materials from nearby eligible containers.
  • Mass Quick Deposit sends matching inventory items to nearby chests with one configurable hotkey.
  • Quick Deposit can be enabled or disabled independently from Nearby Crafting.
  • Containers are processed nearest-first.
  • Supports configurable container range and player-built/moving-container filters.
  • Includes compatibility support for BalrondConstructions storage layouts.

Mass Quick Deposit

Press the configured hotkey to deposit matching items into eligible nearby chests. An item is only deposited into a chest that already contains that item type. If one matching chest cannot accept the full amount, the remaining items can continue to another matching chest.

A HUD message reports how many items were deposited and how many chests received items.

Default settings:

[Quick Deposit]
Enabled = true
Hotkey = F6

Both settings can be changed through the BepInEx configuration file or a compatible mod-config interface.

Configuration

Nearby Crafting includes options for:

  • Enabling or disabling the mod.
  • Enabling or disabling nearby-resource building.
  • Changing the nearby-container range.
  • Ignoring moving containers.
  • Requiring containers to be player-built.
  • Enabling or disabling the crafting requirement indicator fix.
  • Enabling or disabling Mass Quick Deposit.
  • Changing the Mass Quick Deposit hotkey.
  • BalrondConstructions compatibility.
  • Debug logging.

The configuration file is generated at:

BepInEx/config/com.mikeg.valheim.nearbycrafting.cfg

Installation

Mod manager

Install Nearby Crafting with a Thunderstore-compatible mod manager.

Manual

Install BepInExPack for Valheim, then place NearbyCrafting.dll in:

BepInEx/plugins/NearbyCrafting/

Notes

Nearby Crafting uses Valheim's recipe requirement logic so conditional recipe requirements introduced in Valheim 1.0 are handled correctly. Resource consumption can be split between the player's inventory and multiple eligible nearby containers.

For troubleshooting, enable debug logging in the mod configuration and check the BepInEx log.

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 deposit HUD message when the hotkey finds no transferable items.
  • Reworked Mass Quick Deposit to avoid repeated Inventory.StackAll calls across nearby chests.
  • Fixed Trying to add item to occupied slot -1, -1 errors seen during mass deposit.
  • Uses explicit, valid inventory slots with Inventory.MoveItemToThis for 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 > Enabled toggle.
  • Default quick-deposit hotkey is F6.
  • Mass quick-deposit processes all eligible nearby containers nearest-first using Valheim's native Inventory.StackAll transfer 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 Container and Piece are siblings under the same prefab root.
  • Added soft BalrondConstructions compatibility/order handling.