
You are viewing a potentially older version of this package. View Latest Version
DetectStorage
Detect Storage adds Detect Hub + Detect Chest for server-authoritative loot sorting in Valheim.Detect Storage (Valheim Mod)
Detect Storage adds a clean sorting workflow with 2 build pieces in a new Hammer category called Detect:
Detect HubDetect 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(default0.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
Fto enter filter mode - Click an item to set filter
- Press
Fthen 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 HubDetect 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:
<Profile>/BepInEx/plugins/Detect/Detect.dll
Required dependencies
denikson-BepInExPack_Valheim-5.4.2333ValheimModding-Jotunn-2.27.1
Config keys
Hub.ScanRadiusMeters(default20)Hub.SortButtonCooldownSeconds(default0.5)Hub.ShowRadiusRing(defaulttrue)

