Trashcan plugin icon

Trashcan plugin -----

A plugin for clear garbage from your inventory




Resolved an issue that caused an error when custom messages were selected in the plugin settings.
----------, May 31, 2025

Resolved an issue that caused errors when the player interacted with UI elements.
----------, May 24, 2025

Hey everyone!
I'm excited to announce a new feature in the latest update of the plugin: you can now fully customize your trashcan UI using a simple YAML file! :cool:

:devilish: New File Created:
/plugins/trashcan/ui-configuration.yml

When the plugin starts for the first time (or if the file doesn't exist), it will generate a new configuration file with detailed instructions included at the top. This file lets you personalize the layout, style, and behavior of each slot in the UI.

:alien: What You Can Customize
  • UI Title
    Set a custom name for your trashcan with color and formatting (e.g., ["DARK_GRAY", "BOLD", "Trashcan"]).

  • Size Level
    Define how many rows the inventory should have (0 to 5, where each level adds 9 slots).

  • Inventory Slots
    Create and configure slots by position. Each slot supports:

    • position: One or more inventory indices (0–53)

    • closeTrash: Whether clicking closes the UI

    • emptyTrash: Whether clicking clears the inventory

    • stack: The item shown in the slot, including:

      • displayName and lore (with formatting!)

      • item (Material name) or skull (custom texture)

      • enchanted: true/false

      • count: quantity
:coffee: Notes
  • Every change to ui-configuration.yml is hot-reloadable by restarting the server or reloading the plugin.

  • The file includes helpful comments at the top to guide you.

  • Use this to create your own custom styles, layouts, and even icons for decorative or functional purposes.
If you build something cool with this new feature, feel free to share screenshots!
As always, feedback and suggestions are welcome.

Happy trashing! ;) :p
----------, May 23, 2025

Now you can customize trashcan messages!
----------, May 22, 2025

Resource Information
Author:
----------
Total Downloads: 259
First Release: May 16, 2025
Last Update: May 31, 2025
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings