HyTrash

Adds a portable trash bin with undo functionality - delete items anywhere, anytime, and recover them with a simple command. Think of it as Windows Recycle Bin for your Hytale inventory.
HyTrashLogo1.png

HyTrashLogo1.png

HyTrash2.jpg

HyTrash2.jpg

HyTrash3.jpg

HyTrash3.jpg

HyTrash1.jpg

HyTrash1.jpg

video thumbnail

Description

HyTrash

A Hytale plugin that adds a portable trash bin with undo functionality - delete items anywhere, anytime, and recover them with a simple command. Think of it as Windows Recycle Bin for your Hytale inventory.

Press Q to empty instantly! No commands needed - just hold your trash bin and press Q for quick deletion with confirmation.

Features

Portable Trash Bin Item

  • Craftable container - Holds 36 items (full inventory page worth)
  • Carry it anywhere - Take your trash bin on adventures, no need to run back to a static trash can
  • Right-click to open - Add items to your trash bin from your hotbar
  • Visual 3D model - Realistic trash can appearance when held or dropped
  • One-time craft - Only need 1 Stone Rubble at a Workbench (Tinkering station)

Deletion System

  • Close confirmation - Closing the bin with items inside shows a Delete / Keep Items dialog
  • No ESC bypass - Close confirmation cannot be dismissed with ESC; you must choose
  • Q-key empty - Press Q to empty with confirmation dialog
  • Batch deletion - Empty entire trash bin at once with /hytrash empty
  • Safety first - Can't accidentally delete items without confirmation
  • Item count preview - Dialog shows "Delete X items?" with detailed count message

Backpack Mode

  • Toggle with /hytrash backpack - Skip the close confirmation; items stay in the bin
  • Persisted across restarts - Your backpack mode preference survives server restarts
  • Per-player setting - Each player controls their own mode independently

Undo Functionality

  • 5-level undo history - Recover items from your last 5 emptying operations
  • Per-player tracking - Each player has their own independent undo history
  • Simple command - Just type /hytrash undo to restore your last emptied items
  • Smart space check - Won't restore if your trash bin doesn't have enough slots
  • Visual notification - Shows confirmation with item icon and count when items are restored

Immersive Sound Effects

All audio feedback uses Hytale's native sound system:

  • Empty Trash - SFX_Campfire_Close_Local plays when you permanently delete items (trash bin lid sound)
  • Undo Restore - SFX_Divine_Respawn plays when items are restored (magical restoration sound)

Why Use HyTrash?

Mobility > Static Trash Cans

Traditional trash systems force you to:

  • ❌ Build trash cans in your base
  • ❌ Run back home every time you want to delete items
  • ❌ Clutter your base with disposal systems
  • ❌ Lose items permanently with no recovery option

HyTrash lets you:

  • ✅ Delete items anywhere in the world
  • ✅ Keep your inventory clean during long adventures
  • ✅ Recover accidentally deleted items
  • ✅ Carry one item instead of building infrastructure

Perfect For

  • Explorers - Clean up junk loot during dungeon runs
  • Builders - Quick disposal of extra blocks without cluttering chests
  • Miners - Delete cobblestone and dirt on the go
  • Everyone - Mistakes happen - undo is a lifesaver!

Commands

All commands work in-game:

  • /hytrash - Show plugin info and command list
  • /hytrash empty - Empty your held trash bin (shows confirmation dialog)
  • /hytrash undo - Restore last emptied items (up to 5 times)
  • /hytrash backpack - Toggle backpack mode (skip close confirmation)

Crafting Recipe

Workbench (Tinkering Station)

  • Input: 1x Stone Rubble
  • Output: 1x Trash Bin (36 slots)

Stone Rubble is commonly found by breaking stone blocks or rubble piles.

Installation

  1. Download HyTrash-1.1.1.jar
  2. Place the JAR file in your Hytale mods folder:
    • %AppData%\Roaming\Hytale\UserData\Mods\
  3. Restart Hytale
  4. Craft your trash bin at a Workbench!

Requirements

  • Hytale Early Access
  • Java 21+

Technical Details

  • Container capacity: 36 slots (matches inventory page size)
  • Undo history: 5 operations per player
  • Data persistence: Uses UUID-based tracking
  • Threading: Safe execution on world thread
  • UI system: Custom interactive pages with event binding

Version

  • Version: 1.1.1

Known Limitations

  • Trash bin icon display in confirmation dialog not yet supported by Hytale UI API
  • Item metadata (enchantments, durability) fully preserved in undo system

Future Updates

  • Change trash bin model/icon

Support

For issues or suggestions, please comment on this mod.


HyTrash - Your portable solution for inventory management. Delete with confidence, restore with ease!

The HyTrash Team

profile avatar
  • 15
    Followers
  • 15
    Projects
  • 12.8K
    Downloads
Donate

More from BeyondSmashView all

  • New Item Collector project image

    New Item Collector

    • 1.0K
    • Mods

    Shows special "New Item Found!" notifications when you discover items for the first time in each world. Great for new players and keeping track of what's new to you.

    • 1.0K
    • June 1, 2026
    • Mods
    • +2
  • PingIt project image

    PingIt

    • 627
    • Mods

    Communicate with your team without typing or talking. Point, click, and let the ping do the talking.

    • 627
    • June 1, 2026
    • Mods
    • +3
  • No Arrows Indicator project image

    No Arrows Indicator

    • 1.5K
    • Mods

    Shows an "Out of Arrows!" (and now multi-tier) notification with sound effect when you try to shoot a bow but have no arrows in your inventory. The notification appears when you left-click (attack) while holding a bow without arrows.

    • 1.5K
    • June 1, 2026
    • Mods
    • +2
  • Water Depth Gauge project image

    Water Depth Gauge

    • 1.6K
    • Mods

    A real-time HUD that automatically displays your underwater depth in meters when submerged, helping divers track how deep they've descended from the water's surface.

    • 1.6K
    • June 1, 2026
    • Mods
    • +2
  • New Item Collector project image

    New Item Collector

    • 1.0K
    • Mods

    Shows special "New Item Found!" notifications when you discover items for the first time in each world. Great for new players and keeping track of what's new to you.

    • 1.0K
    • June 1, 2026
    • Mods
    • +2
  • PingIt project image

    PingIt

    • 627
    • Mods

    Communicate with your team without typing or talking. Point, click, and let the ping do the talking.

    • 627
    • June 1, 2026
    • Mods
    • +3
  • No Arrows Indicator project image

    No Arrows Indicator

    • 1.5K
    • Mods

    Shows an "Out of Arrows!" (and now multi-tier) notification with sound effect when you try to shoot a bow but have no arrows in your inventory. The notification appears when you left-click (attack) while holding a bow without arrows.

    • 1.5K
    • June 1, 2026
    • Mods
    • +2
  • Water Depth Gauge project image

    Water Depth Gauge

    • 1.6K
    • Mods

    A real-time HUD that automatically displays your underwater depth in meters when submerged, helping divers track how deep they've descended from the water's surface.

    • 1.6K
    • June 1, 2026
    • Mods
    • +2