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

NearbyCrafting

Craft and build using materials stored in nearby player-built containers. Built for Valheim 1.0+.

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

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 and build using materials stored in nearby containers.

Tested only on Single Player

Vanilla items only supported at this time

Features

  • Craft using materials from nearby player-built containers.
  • Build pieces using materials from nearby player-built containers.
  • Uses materials from your inventory first, then nearby storage.
  • Uses the nearest eligible containers first.
  • Crafting requirement indicators recognize materials stored nearby.
  • Configurable container range.
  • Optimized container and material caching.
  • World loot containers are ignored by default.
  • Carts and ships are ignored by default.
  • Optional debug logging.

Installation

r2modman / Thunderstore Mod Manager

Install Nearby Crafting through your preferred Thunderstore-compatible mod manager.

BepInEx is required and will be installed as a dependency by supported mod managers.

Manual Installation

  1. Install BepInEx for Valheim.

  2. Download and extract Nearby Crafting.

  3. Place NearbyCrafting.dll in:

    Valheim/BepInEx/plugins/NearbyCrafting/

  4. Launch Valheim with BepInEx.

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

Configuration

Configuration file:

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

The default container range is 20 meters.

EnableBuilding = true enables building from nearby containers.

Debugging

Set:

DebugLogging = true

to enable diagnostic logging.

For detailed container detection logging:

DebugContainerDetails = true

Detailed logging can generate a large amount of output and should normally remain disabled.

Compatibility

Supports vanilla Valheim recipes/items.

Designed for Valheim 1.0+.

Nearby Crafting supports normal crafting recipes and normal building pieces.

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

Special crafting recipes that require only one of multiple possible ingredients are not currently supported.

Multiplayer

Multiplayer support is currently considered experimental.

Issues

If you encounter a problem, 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 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.