Trash icon

Trash -----

Get rid of your unwanted items with a virtual Trash Can.



Trash Plugin v5.0 — Complete Rework | Spigot 1.21 Support | Config Overhaul
Trash Plugin – Version 5.0
Major feature updates and logic improvements for better inventory trash management.

CHANGES:

✅Updated to Spigot 1.21.

Ensures compatibility with the latest version of Spigot.

Accurate trash item tracking on close.

  • The plugin now correctly counts only the actual items placed by the player into the trash GUI.
  • Buttons like "Clear" and "Close" are excluded from the count.

Configurable inventory layout.You can now set the slot positions of the "Clear" and "Close" buttons in the
config.yml .

Code (Text):
clear-button:
  enabled: true
  slot: 49
close-button:
  enabled: true
  slot: 50
Optional close message.
Sends a customizable message when a player closes the trash GUI.
Code (Text):
close-message-enabled: true
close-message: "&aYou trashed %amount% item(s)!"
Reload command now works from console.
You can run /trash reload from the console to apply config changes without restarting the server.

Optional open inventory message.
Sends a custom message to the player when they open the trash GUI.
Code (Text):
open-inventory-message-enabled: true
open-inventory: "&7Trash GUI opened. Place unwanted items here."
Separate permission for trashing all inventory.

  • /trash all requires trash.all permission.
  • Clears the player's entire inventory immediately.

Strip color codes for clean button matching.
Prevents issues when players use colored names for trashable items or buttons.


TO-DO:

  • Drag-and-drop filtering (e.g. prevent dropping valuable items accidentally).
  • Add sound effects or particles when clearing trash.
----------, May 2, 2025
Resource Information
Author:
----------
Total Downloads: 11,933
First Release: Aug 1, 2017
Last Update: May 2, 2025
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings