OdinStorage ModernFix
Compatibility fix for OdinStorage on modern Valheim (Ashlands / 1.0+). Fixes terminal piece [E] interaction, item deposit/withdraw actions, direct UI hotkey opening, and chest markers.
About this mod Author’s original text
OdinStorage — Modern Valheim Fix (Ashlands & 1.0+)
A lightweight compatibility and usability patch for OdinStorage by Koehlerworks.
This mod does not replace or re-host the original mod files. It acts as a clean Harmony patch on top of Koehlerworks-OdinStorage.
🛠 What This Fix Does
- Restores Physical Terminal Interaction ([E]):
- In modern Valheim (0.217+ / Ashlands / 1.0+), the game updated the Hoverable interface by requiring GetHoverOffset().
- Because the original OdinStorage was compiled before this update, Unity failed to instantiate the script on the terminal block, leaving the block uninteractable.
- This patch intercepts interactions on OdinTerminal and displays [E] Open Storage with full interaction support.
- Fixes Item Withdraw, Deposit, and Search Actions:
- In modern Valheim, Character.Message gained an additional parameter, causing MissingMethodException crashes whenever withdrawing (1, 10, All), depositing (Store all), or locating items (Find).
- This patch handles these operations and restores full item transfer functionality cleanly.
- Direct UI Opening via Hotkey:
- In the original mod, the configured Hotkey (default O) was coded only to run a diagnostic chest count into the BepInEx console log.
- This patch enhances the hotkey to directly open and toggle the Storage Terminal GUI from anywhere within chest radius. Pressing the hotkey opens the window; pressing it again or pressing Escape closes it.
- Retroactive World Compatibility:
- Any Odin Terminal pieces already built in your world will immediately become functional upon loading — no need to dismantle and rebuild them.
📦 Requirements
- BepInExPack Valheim
- Jötunn, the Valheim Library
- OdinStorage (by Koehlerworks) (installed automatically as dependency via r2modman)
⚙️ Configuration
The patch respects your existing com.nicolai.odinstorage.cfg configuration file:
- Hotkey — Key that toggles the storage window (default: O).
- Radius — Search radius in meters for nearby chests (default: 20).
👤 Credits
- Original mod and central storage logic by Koehlerworks.
- Compatibility patch & modern interface restoration by Ntxfloy.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- 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.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- 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.
Install these first, or the mod will not work: