SafeTrash
A safety-focused item disposal mod for Valheim with a pending queue and explicit confirmation before permanent deletion.
Screenshots 6 screenshots
About this mod Author’s original text
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
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.
Install these first, or the mod will not work: