CraftFromContainers

v1.3.2·Updated 2026-10-01

Crafting, building and the EpicLoot enchanting table use materials from nearby chests. Adds a -/+/Max craft amount selector and gentler StarLevelSystem per-star loot.

About this mod Author’s original text

Craft From Containers

Crafting stations, the Hammer and the EpicLoot enchanting table can use materials stored in nearby chests.

Built to run alongside a large modpack without fighting other mods over resource consumption, and without

adding any per-frame work on the dedicated server.

Features

  • Crafting at any station takes missing ingredients from chests within range (default 20 m around the player).
  • Building with the Hammer takes missing materials from chests the same way.
  • EpicLoot enchanting table pays runestones, dust and shards from nearby chests, using EpicLoot's official

inventory provider API (API.RegisterInventoryProvider), not a patch.

  • Ingredient rows show how much is in chests, e.g. 10 +34, and no longer flash red when the chests cover the cost.
  • Craft amount selector: -, +, Min and Max buttons below the Craft button craft up to 100 items with one click

(Ctrl + click = ±10). Built on Valheim's own multi-craft, so chests, skill bonuses and other mods work as usual.

  • Gentler per-star loot for StarLevelSystem: each star adds 1/3 of the base drop (3 meat → 4 → 5 → 6).

What you carry is always used first. Only the missing amount comes from chests, nearest chest first.

How it works

Valheim lets only the current owner of a chest change its contents, which is also how vanilla handles opening a chest.

This mod follows the same rule:

  • Only chests your game currently owns are counted and used.
  • While you have the crafting panel, build mode or the enchanting table open, the mod asks the current owner of

nearby chests to hand them over. The owner refuses if the chest is open, if it used that chest in the last few

seconds, or if that player is crafting or building nearby themselves.

  • Right before the game consumes resources, the missing amount is moved into your inventory, and then the game

(and any other mod that changes resource consumption) takes it from there as if you had carried it. If your

inventory has no room, the missing amount is removed directly from the chest instead.

On the dedicated server the mod only answers ownership requests. It does nothing every frame.

What it does not touch

  • Chests someone else currently has open.
  • Other players' private chests and chests inside a ward you have no access to.
  • Tombstones, backpacks, dungeon and world loot containers — by default only player-built containers count.
  • Carts and ships (off by default; the server can enable them).
  • Equipped items, and items that carry extra data — enchanted EpicLoot gear, socketed items and similar (can be turned off).

Known limitations

  • Ingredients with quality levels (for example fish, when ImpactfulSkills ingredient quality is enabled) must be in

your inventory. That mod picks the quality tier by looking only at the player's inventory.

  • "Any one ingredient" recipes (m_requireOnlyOneIngredient) need that ingredient in your inventory, because

the game takes it directly instead of going through the normal consumption path.

  • With a full inventory the missing amount is taken straight from the chest. If EpicLoot's Lucky Craft then lowers

the cost, the chest portion is still charged in full. With free space, the difference stays in your inventory.

  • Two players crafting next to each other: a chest stays with whoever started first; the other player gets it a few

seconds after the first one closes their panel.

  • EpicLoot enchant, sacrifice and disenchant tabs only list items in your inventory. This is intentional — exposing

chests there would let a single misclick destroy stored gear.

  • No auto-sorting and no automation pieces. This mod only does crafting and building from containers.

Requirements and compatibility

  • BepInExPack_Valheim 5.4.2351
  • Jotunn 2.30.2
  • Must be installed on the server and on every client, with matching major and minor versions. Jotunn enforces this on connect.

The patches were written against the actual game code and account for other mods that hook the same methods,

including Impactful

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. 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.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. 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.

Dependencies

Install these first, or the mod will not work:

denikson-BepInExPack_ValheimValheimModding-Jotunn

File & checksum

Filename
CraftFromContainers-1.3.2.zip
File size
22.3 KiB