What it is
ItemEjector is a plugin that lets players add certain items to a blacklist, which will prevent them from being picked up by that player. It is also possible to choose a maximum amount of an item that is allowed to be picked up. For example, if a player chooses to only be able to pick up 64 cobblestone, dropped cobblestone will still be picked up until 64 is reached in the players' inventory. If the player has 64
or more (items already in the inventory, e.g taken from chests, won't be affected), no cobblestone will be picked up.
In short, ItemEjector can make playing survival a bit more burden-free by, among other things, preventing the inventory from overflowing with cobblestone or netherrack when mining.
![[IMG]](/proxy/image?url=https%3A%2F%2Fi.imgur.com%2FnjdtriE.gif)
Commands
/itemejector or /ie...
- add <item> <max> - Adds an item to the blacklist with a max amount. Use 0 as the max amount to not pick up any of it.
- remove <item> - Removes an item from the blacklist.
- list - Lists all items the player has blacklisted.
- reload - Reloads configs and messages.
Permissions
- itemejector.use - access to add, remove, list
- itemejector.admin - access to reload
Customizing messages
All messages that players will see can be customized. The messages are located in messages.yml in the plugin's folder. The plugin uses MiniMessage, so it supports a bunch of formatting and color features. More info here.
Storage
Currently, only SQLite is supported, but it is planned to add MySQL support in the not-so-distant future. No configuration is needed at the moment.