
HotDeposit
Valheim hot deposit with customizable deposit controls, matching-storage distribution, protected slots, itemized notifications, and spatially optimized storage range.HotDeposit
HotDeposit adds Grounded-style storage depositing to Valheim.
Default Controls
Both deposit actions default to H.
[02 - Hotkeys]
EnableKeyBinds = true
AllDeposit = H
HoveredChest = H
LockKeybind = LeftAlt + Mouse0
With the shared H key:
- while hovering an eligible player-built chest, H uses the hovered-chest action;
- while not hovering a chest, H uses normal All Deposit.
Combined Lock Keybind
LockKeybind = LeftAlt + Mouse0
Hotbar and automatically protected BetterArchery / EquipmentAndQuickSlots items remain non-lockable.
Storage Range
[03 - Storage]
DepositDistance = 10
The default remains 10 metres and the supported range remains 1-300 metres.
Version 1.0.1 now spatially buckets stationary storage. A deposit only visits grid cells intersecting DepositDistance; chests outside those cells are not inspected, access-checked, inventory-read, ownership-checked, or item-indexed. This keeps 10m searches very small and makes 300m searches scale with the requested area instead of every loaded chest in the world.
Full Configuration
[01 - General]
Enabled = true
[02 - Hotkeys]
EnableKeyBinds = true
AllDeposit = H
HoveredChest = H
LockKeybind = LeftAlt + Mouse0
[03 - Storage]
DepositDistance = 10
IgnoreHotbar = true
IgnoreEquipped = true
HoveredChestDepositAll = true
ShowHoverPrompt = true
[04 - Item Lock]
ShowLockIcon = true
[05 - Notifications]
ShowDepositPopup = true
ShowHoverPrompt is retained so existing configs remain compatible, but the per-container Container.GetHoverText patch is disabled in this performance build. The H actions still work normally. This removes HotDeposit from Valheim's chest camera/look-direction path while the mod is idle.
Performance
Version 1.0.1 includes the large-storage optimization pass:
- stationary containers are stored in a 32m spatial grid;
- range culling happens before component, access, inventory, ownership, or item-content work;
- 10m no longer walks the full loaded container registry;
- 300m visits only spatial cells intersecting the configured search area;
- dynamic/moving storage is tracked separately and checked only when H is pressed;
- no full destroyed-container prune runs on every deposit; cleanup is lazy in visited cells;
- the first normal H press avoids a redundant global
FindObjectsByType<Container>scan whenContainer.Awakehas already populated the registry; - chest inventories are indexed once per deposit rather than rescanned for every player inventory item;
- compatible partial-stack lists are reused;
Deposit behavior remains player-built storage only, matching item types only, partial stacks first, then new stacks round-robin across matching chests.
Version
1.0.1
- Performance Optimization
1.0.0
- Initial release