SafeTrash

版本 v1.0.1·更新於 2026-09-27

A safety-focused item disposal mod for Valheim with a pending queue and explicit confirmation before permanent deletion.

截圖 共 6 張

模組介紹 作者原文

SafeTrash

SafeTrash is a safety-focused item disposal mod for Valheim by ADERiGMS.

Items dragged into SafeTrash are placed into a pending queue and remain in the player's inventory until permanent deletion is explicitly confirmed.

Features

  • Pending queue instead of instant deletion.
  • DESTROY -> CONFIRM deletion flow.
  • Configurable confirmation timeout: 3–30 seconds.
  • Full-stack and partial-stack support.
  • Multiple queued items and separate physical stack tracking.
  • Protection against duplicate queue entries.
  • Queue totals for ITEMS and SLOTS.
  • Multi-row queue with scrollbar support.
  • Remove individual entries or clear the entire queue safely.
  • Draggable window with saved position.
  • Adjustable UI scale: 0.75x–1.50x.
  • Configurable toggle key.
  • Optional debug logging.

Screenshots

SafeTrash Window

Destruction Confirmation

Settings

Large Pending Queue

Safety Protection

Safety

SafeTrash validates queued items again before permanent deletion.

Deletion is blocked or restricted when:

  • The item is in the hotbar.
  • The item is equipped.
  • A queued item becomes equipped before confirmation.
  • The item comes from a chest or another non-player inventory.
  • A queued item is moved out of the player's inventory.
  • The original source stack is reduced or split.
  • The queued source can no longer be safely identified.

If the source stack increases after queueing, SafeTrash deletes only the originally queued quantity.

Moving a queued item between normal player inventory slots is supported.

Items crafted by another player trigger an additional OTHER PLAYER ITEM warning.

SafeTrash does not provide refunds, recycler rewards, coins, materials, or other economy mechanics.

Usage

  • Open the normal Valheim inventory.
  • Press Delete to open SafeTrash.
  • Drag an item into the DROP ZONE.
  • Review the pending queue.
  • Press DESTROY.
  • Press CONFIRM to permanently delete the queued items.

Additional controls:

| Action | Default |

| --- | --- |

| Open / close SafeTrash | Delete |

| Remove queued entry | Left click |

| Clear queue | CLEAR |

| Begin deletion | DESTROY |

| Confirm deletion | CONFIRM |

| Settings | UI |

| Close window | X |

If the confirmation timer expires, SafeTrash returns to the normal DESTROY state without deleting anything.

Configuration

Available through the UI button:

  • Window Size: 0.75x–1.50x
  • Toggle Key: Delete
  • Confirmation Time: 3–30 seconds
  • Debug Logging: OFF by default
  • Reset Defaults

Installation

Mod Manager

Install SafeTrash Mod Manager, r2modman, or another compatible client.

Required dependencies are handled automatically by compatible mod managers.

Manual Installation

Install BepInExPack Valheim, then place:

SafeTrash.dll

inside:

Valheim/BepInEx/plugins/

Start Valheim, open the inventory, and press Delete.

Requirements

  • Valheim
  • BepInExPack Valheim

Tested Environment

SafeTrash 1.0.0 was release-tested with:

  • Valheim: 1.0.15
  • Network version: 40
  • Unity: 6000.0.75.2503836
  • BepInExPack Valheim: 5.4.2351
  • BepInEx: 5.4.23.5
  • Harmony: 2.9.0
  • Target Framework: netstandard2.1
  • Assembly/File Version: 1.0.0.0

Troubleshooting

SafeTrash does not open

Check that:

  • BepInEx is installed correctly.
  • SafeTrash.dll is inside BepInEx/plugins.
  • The normal Valheim inventory is open.

Item cannot be queued

Common status messages:

MOVE FROM HOTBAR

UNEQUIP FIRST

QUEUE CHANGED - RE-ADD

The original queued source changed and can no longer be safely validated.

Remove the affected queue entry and add the item again.

OTHER PLAYER ITEM

The item was crafted by another player.

SafeTrash requires an additional warning step before final confirmation.

Logging

Normal release logging includes plugin startup, important warnings, and errors.

Additional diagnostics are available when DEBUG LOGGING is enabled.

Log file:

Valheim/BepInEx/LogOutput.log

Author

ADERiGMS

Version

1.0.0

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
SafeTrash-1.0.1.zip
檔案大小
283.4 KiB