Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
SafeTrash
A safety-focused item disposal mod for Valheim with a pending queue and explicit confirmation before permanent deletion.
CHANGELOG
SafeTrash Changelog
All notable changes to SafeTrash are documented in this file.
[1.0.1] - 2026-09-27
Documentation
- Updated the Thunderstore README image links to use full direct image URLs.
- Fixed screenshot presentation on the Thunderstore package page.
- No gameplay, code, configuration, or assembly changes.
[1.0.0] - 2026-09-25
Added
- Initial full release of SafeTrash for Valheim.
- Added a safe pending-trash queue: dragging an item into SafeTrash does not destroy it immediately.
- Added explicit
DESTROY -> CONFIRMflow before permanent deletion. - Added configurable confirmation timeout from 3 to 30 seconds.
- Added protection against accidental fast double-click deletion.
- Added support for full stacks, partial stacks, and multiple queued items.
- Added separate queue entries for separate physical stacks of the same item type.
- Added duplicate-source protection so the same physical item cannot be queued twice.
- Added
CLEARfor safely removing all pending entries without deleting inventory items. - Added removal of individual queue entries with left click.
- Added queue totals for ITEMS and SLOTS.
- Added multi-row queue layout with scrollbar support for large queues.
- Added protection for hotbar items with the
MOVE FROM HOTBARstatus. - Added protection for equipped items with the
UNEQUIP FIRSTstatus. - Added destroy-time revalidation so an item that becomes equipped after queueing is still protected.
- Added protection against direct item dragging from chests and other non-player inventories.
- Added validation when a queued source item is moved out of the local player inventory.
- Added protection against reduced, split, or otherwise invalidated queued stacks with
QUEUE CHANGED - RE-ADD. - Added support for increasing a queued source stack while preserving the originally queued quantity.
- Added support for moving queued items between normal player inventory slots without invalidating the queue.
- Added an extra
OTHER PLAYER ITEMwarning for items crafted by another player. - Added full queue validation immediately before permanent destruction.
- Added automatic queue clearing when the player character or session changes.
- Added configurable SafeTrash window scale from 0.75x to 1.50x.
- Added draggable SafeTrash window with saved position.
- Added screen and safe-area clamping so SafeTrash windows cannot be dragged outside the usable display area.
- Added dedicated Settings and About sections.
- Added About information for mod version, BepInEx version, and author.
- Added optional debug logging for diagnostics.
- Added button press feedback for interactive UI controls.
- Added embedded SafeTrash icon resources.
Changed
- Removed the
OPEN BETAlabel from the main SafeTrash window for the full release. - Simplified plugin naming in logs to
SafeTrash. - Reduced routine release-log noise by moving non-critical diagnostic messages behind debug logging.
- Improved UI alignment, border consistency, spacing, and scaling behavior.
- Kept the Settings window at a fixed scale while only the main SafeTrash window follows the configured window-size setting.
- Kept normal inventory-slot movement valid instead of treating a simple slot change as an unsafe queue mutation.
Safety
- Items remain in the player's real inventory while queued.
- Initial drag into SafeTrash never permanently destroys an item.
- Permanent deletion only happens after explicit confirmation.
- The queued source item and quantity are validated again before destruction.
- If the source item is no longer valid, SafeTrash blocks deletion instead of guessing.
- Items moved into chests or other inventories are never deleted by SafeTrash.
- Hotbar and equipped-item protections are checked both while queueing and before destruction.
- No recycler rewards, refunds, coins, or hidden economy mechanics are included.
Compatibility
Tested with:
- Valheim: 1.0.15
- Valheim 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
- SafeTrash Assembly/File Version: 1.0.0.0