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!
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.
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
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!
