TidyDrops

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

Cleans dropped items without eating your loot: real item age, EpicLoot rarity via its own API, base and player protection.

模組介紹 作者原文

TidyDrops

Ground-clutter cleanup for Valheim that is careful about what it removes.

Dropped items pile up — a cleared Seeker nest, a mining trip, a raid on your base. TidyDrops

sweeps the leftovers on a timer, while leaving alone the things you actually meant to keep.

How it decides

Every item on the ground is checked in this order. The first match wins, and every one of

them means keep:

| Check | Kept when |

|---|---|

| Held or attached | the item is not loose on the ground |

| NeverDelete | its prefab name is on your list |

| Trophies | ItemType.Trophy — works for modded trophies too |

| EpicLoot rarity | at or above MinimumRarityToKeep |

| Player base | inside a workbench / fire area |

| Nearby player | a player is within PlayerSafeRadius |

| Age unknown | the spawn time could not be read |

| Too young | younger than MinItemAgeToDelete |

Anything that matches none of these is removed.

Design notes

Age comes from the game. The item's real spawn time is read through Valheim's own

spawntime ZDO value. If it cannot be determined, the item stays — an unknown age is never

treated as "old enough to delete".

Rarity comes from EpicLoot. TidyDrops calls EpicLoot.ItemDataExtensions.HasRarity and

GetRarity through a soft reference, and reads the list of rarities from EpicLoot itself, so

Mythic and Ancient are handled — and any rarity added later will be too. Without EpicLoot

installed, the mod simply skips that check.

Unrecognised settings fail safe. Put a typo in MinimumRarityToKeep and no magic item is

deleted at all; the log tells you which values are valid.

Your config stays yours. The mod never rewrites its own settings, and never adjusts the

cleanup interval behind your back.

Host only. Cleanup runs on the host. Ownership of the object is claimed before it is

removed, so clients never delete objects out from under each other.

Settings

BepInEx/config/dev.demit.tidydrops.cfg, or press F1 in game.

| Setting | Default | Meaning |

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

| Enabled | true | Master switch |

| CleanupInterval | 600 | Seconds between passes |

| MinItemAgeToDelete | 1200 | Minimum age before an item can be removed |

| MaxDeletionsPerPass | 200 | Safety cap; 0 disables the limit |

| ProtectTrophies | true | Never delete trophies |

| ProtectInsideBase | true | Never delete inside a player base |

| PlayerSafeRadius | 30 | Never delete near a player; 0 disables |

| NeverDelete | Coins,Amber,… | Prefab names to always keep |

| MinimumRarityToKeep | Magic | EpicLoot threshold; None disables |

| KeepAllMagicItems | false | Keep every magic item regardless of rarity |

| DryRun | false | Count and log, delete nothing |

| Verbose | false | Log the reason for every decision |

Try it safely first

Set DryRun = true and Verbose = true, wait one pass, and read the log. You get a line per

item with the reason, plus a summary:

10:39:21 оставляю TrophyDeer x1: трофей

10:39:21 оставляю SwordIron x1: редкость Legendary >= Magic

10:39:21 [DryRun] удалил бы Stone x14

10:39:21 — проход завершён за 34 мс [DryRun, ничего не удалено]:

просмотрено 67, удалено 39, оставлено 28. Следующий примерно в 10:49:21.

Turn DryRun back off once the numbers look right.

Log messages are currently in Russian; the settings and this page are in English.

Scope

Only items in loaded zones are considered — those near you and near connected players. Items

in unloaded parts of the world are untouched until someone goes there.

Note that Valheim already removes loose items after an hour on its own, when they are outside

a base with no player nearby. TidyDrops gives you control over that instead of replacing it.

Multiplayer

Install on the host. Clients do not need it, since cleanup only runs host-side.

Requirements

  • BepInExPack Valheim 5.4.2350
  • EpicLoot — optional

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
TidyDrops-1.0.0.zip
檔案大小
17.9 KiB