The Trash plugin allows players to easily discard unwanted items using a trash bin inventory. It provides a simple and intuitive way to manage and delete items in-game.
-
Native Minecraft Version:
- 1.21.1
-
Tested Minecraft Versions:
- 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21
- Trash Command: Opens a menu where players can discard any unwanted items.
- Reload Command: Allows reloading the plugin configuration.
- Permission Checks: Ensures only authorized players can use the commands.
- Configurable Inventory Size: Customize the size of the trash bin inventory.
- Automatic Inventory Clearing: Clears the trash inventory when closed.
-
/trash
- Opens the trash bin inventory.- Permission:
trash.use
- Aliases:
bin
,trashbin
,garbage
,kosz
,mull
- Permission:
-
/trashreload
- Reloads the plugin configuration.- Permission:
trash.reload
- Permission:
trash.use
- Access to the Trash Command.trash.reload
- Allows reloading the plugin configuration.
The config.yml
file allows you to customize various aspects of the plugin:
trash:
prefix: "&b[&6Trash&b]&r "
openMessage: "&aTrash bin opened! Put items you want to delete in here."
inventoryTitle: "&bTrash Bin"
noPermission: "&cYou do not have permission to use this command."
notPlayerMessage: "&7You are not a player..."
reloadMessage: "&aConfiguration reloaded!"
sendOpenMessage: true
inventoryRows: 6
- Download the latest release of the plugin from the releases page.
- Place the plugin JAR file in your server's
plugins
directory. - Start your server to generate the default configuration files.
- Customize the config.yml file to your liking.
- Reload or restart your server to apply the changes.
Contributions are welcome! Please open an issue or submit a pull request with your changes.
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature
). - Make your changes and commit them (
git commit -m 'Add your feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
This project is licensed under the GPL-3.0 License. See the LICENSE file for more details.