InventoryLink
Build and craft straight from nearby chests, plus one-click inventory and chest sorting.
模組介紹 作者原文
InventoryLink
I use AI to review code and assist with optimization and integrity; I manually test and review every mod, and all decisions and code remain my own.
Current release: 1.0.7, rebuilt against the current Valheim 1.0 assemblies.
InventoryLink is a client-side Valheim mod that links nearby accessible containers to building and crafting. Requirements show the combined materials available to you, and only the missing amount is pulled after placement or crafting succeeds.
The same DLL also includes safe, one-click sorting for player and container inventories.
Development note
This mod is human-directed and built from human structure, concepts, ideas, client/server testing, and gameplay improvement goals. AI is used as an assisting tool for code analysis, optimization review, implementation refinement, and verification support, while final decisions, packaging, and in-game validation remain under human direction.
Created and maintained by R4V9N1.
Features
- Counts nearby chest contents for hammer building and normal workbench crafting or upgrades.
- Pulls only the shortfall after the action succeeds; your carried materials are used first.
- Mirrors Valheim’s normal/upgrader resource filtering before linked materials can be paid.
- Searches within a configurable 50-metre radius and processes containers nearest-first.
- Revalidates wards, private-container access, in-use state, and container readiness when counting and again before linked payment.
- Always excludes LightMyFire coal and resin automation barrels and tombstones from linked crafting pulls.
- Gives the workbench, stonecutter, forge, black forge, Galdr table, and artisan table the same configurable build-range minimum (50 metres by default).
- Adds vanilla-style Inv. Sort and Sort buttons plus a configurable keyboard shortcut.
- Leaves equipped-capable items in their existing cells while organizing stackable items; Inv. Sort never touches your hotbar.
Installation
Install with a mod manager, or copy InventoryLink.dll into:
/BepInEx/plugins/InventoryLink/InventoryLink.dll
This is a client-side mod. Install it for each player who wants its building, crafting, and inventory UI features.
Configuration
After the first launch, BepInEx creates:
BepInEx/config/r4v9n1.inventorylink.cfg
BepInEx/config/r4v9n1.inventorylink.autosort.cfg
The auto-pull radius, access checks, extended station range, logging, sort buttons, button offsets, and sort shortcut are configurable.
Notes
Recipes using Valheim's special “require only one ingredient” mode retain vanilla inventory behavior to avoid unsafe ingredient selection.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: