CtrlClickSort
Ctrl+click an item in your inventory to send the whole stack to the nearest chest that already holds that item. Fills existing stacks first, respects wards, private chests and chests in use. Client-si
模組介紹 作者原文
CtrlClickSort
Ctrl+click an item in your inventory to send the whole stack to the nearest chest that already holds that item. You don't have to open the chest.
How it works
Open your inventory without a chest open and Ctrl+left-click an item:
- The stack goes to the nearest chest within range (15 m by default) that already contains the same item.
- Existing stacks in that chest are filled first, then a free slot is used.
- If the chest runs out of room, the rest goes to the next nearest matching chest. Whatever doesn't fit anywhere stays in your inventory.
- A short message shows what went where, e.g. Wood x50 → Wood chest (12 m).
When nothing can be stored:
| Situation | What happens |
|---|---|
| No chest within range | Vanilla behaviour: the item is dropped on the ground |
| Chests nearby, but none holds this item | Nothing is moved, a message is shown |
| A chest is open | Vanilla behaviour, unchanged |
Safety
- Chests another player has open are skipped.
- Chests you can't open are ignored: other players' private chests, and chests under a ward you don't have access to.
- Equipped items and quest items are never moved.
- Only player-built chests count. Tombstones, carts, ships and dungeon chests are ignored.
- Before writing to a chest, the mod takes ownership of it, the same way vanilla does when you open one. Your changes are saved and synced to other players.
Configuration
File: BepInEx/config/lukas.CtrlClickSort.cfg. You can also edit it in your mod manager's config editor.
| Setting | Default | Description |
|---|---|---|
| Radius | 15 | Search radius in metres (1–100) |
| ModifierKey | LeftControl | Key to hold while left-clicking. Don't use Shift, vanilla uses it to split stacks. |
| ShowMessages | true | Show on-screen messages |
Messages appear in English, Slovak or Czech, depending on the game language.
Multiplayer
The mod is client-side only. It isn't needed on the server, and other players don't need it.
Credits
The way the mod finds nearby chests and checks access to them follows QuickStackStore by Goldenrevolver.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: