ChestSorter

版本 v1.0.0·更新於 2026-09-29

Tag chests with categories, then Push a messy chest into the right chests nearby. Sort and merge stacks, join stacked chests into groups, glowing category labels, undo. Client-side only.

模組介紹 作者原文

ChestSorter

Tag your chests with categories ("Wood", "Ores & Metals", "Food: Meals

(Health)"...). After that, one click empties a messy chest into the right

chests around your base.

Client-side only. The server and other players don't need the mod.

Installation

With a mod manager (recommended): install ChestSorter with

r2modman or the

Mod Manager. BepInEx is installed automatically.

Manually: install

BepInExPack for Valheim,

then copy ChestSorter.dll into \BepInEx\plugins\.

Client-side only. The server and other players don't need the mod.

Quick start

  • Open a chest and click Categories. Pick what belongs in it, e.g.

Wood. The chest now shows a glowing WOOD label on all four sides.

  • Tag your other storage chests the same way.
  • Dump your loot into any chest, then click Push (or press

Shift+P). Each item goes to a nearby chest tagged for its category.

  • Click Sort (Shift+S) to tidy the open chest.

Buttons

When a container is open, a column of buttons appears to the right of the

container panel:

| Button | Hotkey | What it does |

|---|---|---|

| Push | Shift+P | Sends items that don't belong in this chest to chests that are tagged for them. |

| Sort | Shift+S | Merges stacks and lays the chest out alphabetically. For a chest group, it sorts the whole group. |

| Categories | | Opens the category picker for this chest. |

| Only these items | | Tags the chest with exactly the items that are in it right now. |

| Join below / Leave group | | Joins this chest to the chest directly underneath it, or takes it out of its group. |

| Undo | | Undoes the last Push. |

Features

Categories

The Categories panel lists every category from the rules file. Click a

row to turn it on or off. Selected categories are highlighted and saved

immediately.

  • The top of the panel shows what's in the chest right now, grouped by

category.

  • From contents tags the chest with the categories of the items that are

currently in it.

  • Clear removes all tags.

A chest can have any number of categories. Tags are stored on the chest

itself in the world save, so they:

  • survive restarts,
  • are shared with every player who has the mod,
  • keep working when the category rules change.

Parent categories: Some categories have a parent. For example, all

Food:... categories belong to Food (all kinds). A chest tagged Food

accepts every kind of food, but Push fills chests with the exact category

first and uses Food chests only as overflow.

"Only these items" chests

Put, for example, honey into a chest and click Only these items. That

chest is now a honey chest: its label reads HONEY, and it replaces

whatever categories the chest had before.

Item-specific chests take priority over category chests. If a general Food

chest contains honey and a honey chest exists nearby, the next Push from the

Food chest moves the honey to the honey chest. In the Categories panel,

these tags appear as Item:, and you can untick them like any other

tag.

Push

The chest you open acts as the source. Only the source loses items.

Every other chest only receives items.

For each kind of item in the source:

  • The item fits the source by its exact item tag: it stays.
  • The item fits the source by category: it stays, unless an

"only these items" chest for that exact item is nearby. In that case it

moves there.

  • The item doesn't fit the source: it moves to the best-matching chest

nearby.

Destinations are chosen in this order:

  • Chests tagged with that exact item.
  • Chests tagged with the item's category.
  • Chests tagged with a parent category, such as Food.

At each of those levels, chests (or groups) that already contain the item

come first, to top up existing stacks. After that, the nearest chest wins.

Inside a group, chests fill from the bottom up.

A chest can receive items only if it is:

  • within SearchRadius of you (150 m by default) and loaded,
  • a stationary chest built by a player (not a cart, a ship, a gravestone or a

dungeon chest),

  • public (priva

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
ChestSorter-1.0.0.zip
檔案大小
67.4 KiB