ADERiGMS-SafeTrash icon

SafeTrash

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

Last updated a day ago
Total downloads 70
Total rating 2 
Categories Mods Client-side Utility AI Generated Deep North Update
Dependency string ADERiGMS-SafeTrash-1.0.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2351 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2351

README

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.

SafeTrash

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

SafeTrash Window

Destruction Confirmation

SafeTrash Confirmation

Settings

SafeTrash Settings

Large Pending Queue

SafeTrash Large Queue

Safety Protection

SafeTrash Unequip 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

  1. Open the normal Valheim inventory.
  2. Press Delete to open SafeTrash.
  3. Drag an item into the DROP ZONE.
  4. Review the pending queue.
  5. Press DESTROY.
  6. 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 using Thunderstore Mod Manager, r2modman, or another compatible Thunderstore 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