DetectStorage

v0.1.0·Updated 2026-02-19

Detect Storage adds Detect Hub + Detect Chest for server-authoritative loot sorting in Valheim.

About this mod Author’s original text

Detect Storage (Valheim Mod)

Detect Storage adds a clean sorting workflow with 2 build pieces in a new Hammer category called Detect:

  • Detect Hub
  • Detect Chest

The system is multiplayer-safe and server-authoritative:

  • client sends requests only
  • server validates object + distance
  • server performs all item moves/filter writes

What it does

Detect Hub

  • Recipe: 20 Wood + 20 Stone
  • Container where you drop items to sort
  • Default scan range: 20m (Hub.ScanRadiusMeters)
  • Sort trigger: open the hub and press G
  • Cooldown: Hub.SortButtonCooldownSeconds (default 0.5)

Sort behavior:

  • Reads each stack in the hub
  • Finds Detect Chests in range that match the item filter
  • Moves to the first matching chest with enough space
  • Leaves stack in hub if no matching/free chest is available

Detect Chest

  • Recipe: 5 Wood
  • Uses vanilla wood chest model
  • Inventory size matches largest vanilla chest size
  • Single-item filter mode (v0.1)

Filter usage:

  • Open a Detect Chest
  • Press F to enter filter mode
  • Click an item to set filter
  • Press F then click empty slot to clear filter

Persistence:

  • ZDO key: detect_filter_item
  • Value: item prefab name

If filter is not set, Detect Chest accepts nothing.

Build radius visuals

  • The hub radius is shown only while you are in build placement for:
  • Detect Hub
  • Detect Chest
  • Radius is hidden after placement.

Install with r2modman (local zip)

  • Open r2modman (Valheim profile)
  • Import local mod zip
  • Select DetectStorage-0.1.0.zip
  • Launch game

Manual install

Copy:

  • BepInEx/plugins/Detect/Detect.dll

into your profile/server plugin folder:

  • /BepInEx/plugins/Detect/Detect.dll

Required dependencies

  • denikson-BepInExPack_Valheim-5.4.2333
  • ValheimModding-Jotunn-2.27.1

Config keys

  • Hub.ScanRadiusMeters (default 20)
  • Hub.SortButtonCooldownSeconds (default 0.5)
  • Hub.ShowRadiusRing (default true)

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
DetectStorage-0.1.0.zip
File size
95.3 KiB