StorageConsole
Base-wide resource overview and transfer console with search, safe movement and optional quantity sorting.
模組介紹 作者原文
Storage Console
install: install the BepInEx-BepInExPack dependency, then copy the included DLL to BepInEx/plugins/GraveyardKeeper2.StorageConsole.
Resources are scattered across different areas and moving them around is tedious?
Storage Console adds two "Base Resources" entry points: your real player inventory on the left, and an aggregate of all base storage on the right, with quick deposit and withdraw.
Features
- Two entry points: a "Base Resources" button in vanilla chest and storage title bars, plus a matching tab in the character window.
- Player inventory on the left: click an item to deposit it into base storage.
- Aggregate storage on the right: click an item to withdraw it from base storage; quantities are aggregated by item ID.
- Quick controls: left click moves one stack, Shift + left click moves as much as possible, Ctrl + left click moves half, and right click opens the vanilla count window.
- Protected items: bags, equipment, durability items, quest items, unique items, and undestroyable items are visible but locked.
- Safe transfers: adds to the target first, verifies the actual amount, then removes from the source; rolls back on mismatch and never swallows items.
- Optional search and sorting: with Storage Filter 1.5.1+, a search bar and a two-state "Name / Quantity" button appear in the console's right-hand aggregate panel. Without Storage Filter, the console adds no extra filter UI. Sorting only changes display order and never modifies inventory.
Subscription is not auto-install
Workshop only downloads the files. The game does not automatically load Workshop DLLs. Copy the plugin once after subscribing.
Installation
- Close the game.
- Install BepInEx 5.4.x if needed.
- Open CopyToGameFolder in this item and merge its BepInEx folder into the game folder.
- Start the game and load a save.
GameFolder\BepInEx\plugins\GraveyardKeeper2.StorageConsole\GraveyardKeeper2.StorageConsole.dll
Usage
- Open a vanilla chest, storage, or conveyor storage window and click "Base Resources" in the title bar.
- Or open the character window and click the "Base Resources" tab.
- Left click a left-side item to deposit it; left click a right-side item to withdraw it.
- With Storage Filter 1.5.1+, the right-side panel also gets the shared search bar and sort button.
Configuration
GameFolder\BepInEx\config\gk2.storageconsole.cfg
`[Storage]
IncludeInactiveZones = false
ExcludedZoneIds =
MaxDisplayedItems = 500`
Compatibility
- Storage Console only reads real inventories; it does not alter Shared Storage's cross-zone crafting or building pools.
- Storage Filter 1.5.1+ is optional. When present, it injects the search bar into the console's right-hand aggregate panel. When absent, no extra filter UI appears.
- Console 1.2.0 exposes ToggleQuantitySort(); Storage Filter 1.5.1+ calls it through a signature-checked reflection bridge.
- The console strips other plugins' injected UI from the captured chest template, preventing duplicate search bars and entry buttons.
- The window and controls reuse vanilla prefabs and components. No custom textures, fonts, or color schemes are added.
Troubleshooting
- Neither entry appears: verify BepInEx\plugins\GraveyardKeeper2.StorageConsole\ and the BepInEx installation.
- The entry does not open: check BepInEx\LogOutput.log for GK2 Storage Console 1.2.0 loaded.
- No search bar or sort button: install Storage Filter 1.5.1+; this is intentional when the filter is absent.
- Counts look wrong: check IncludeInactiveZones and ExcludedZoneIds; bag contents are excluded by design.
Changelog
- 1.2.0: added the Name / Quantity-descending sort policy, applied before list truncation. The button is still injected by Storage Filter.
- 1.1.0: removed built-in filters from the console and moved filtering to an optional Storage Filter integration.
- 1.0.4: fixed the title-bar button, out-of-bounds controls, and raw localization key in the header.
- 1.0.1: fixed the chest-window template lookup.
-
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: