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

NearbyCrafting

Craft items using materials stored in nearby player-built containers. Updated for Valheim 1.0.

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

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

Craft items using materials stored in nearby containers.

Built for Valheim 1.0+.

Features

  • Craft using materials from nearby player-built containers.
  • Uses materials from your inventory first, then nearby storage.
  • Crafting requirements correctly display materials available in nearby storage.
  • Configurable container range.
  • World loot containers are ignored by default.
  • Carts and ships are ignored by default.
  • Optional debug logging.

Installation

Mod Manager

Install Nearby Crafting through Thunderstore Mod Manager or r2modman.

BepInEx is required.

Manual Installation

  1. Install BepInEx for Valheim.

  2. Download Nearby Crafting.

  3. Place NearbyCrafting.dll in:

    Valheim/BepInEx/plugins/NearbyCrafting/

  4. Launch Valheim through BepInEx.

The configuration file will be created automatically after the first launch.

Configuration

Configuration file:

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

The default container range is 20 meters.

Debugging

Debug logging can be enabled in the configuration file:

DebugLogging = true

For detailed container scanning:

DebugContainerDetails = true

Debug information will be written to the BepInEx log.

Compatibility

Designed for Valheim 1.0+.

Nearby Crafting currently affects normal crafting recipes.

It does not pull materials for building, smelters, kilns, fires, carts, or ships.

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.