BlackList
General Information
This Plugin lets you prevent Players from having certain items and blocks. Whenever Players:
- Drop Items
- Pick Items up
- Open Chests or their inventory
- Close Chests or their inventory
- Move items inside their inventory or chests
- Place blocks
They will get checked for "illegal" items and found items will be removed from their inventories.
Setup
Installation
To install the plugin, just drop the .JAR file into your plugins folder. Afterwards, reload your server.
Configuration
When you first run the plugin, it will create the file "plugins/BlackList/config.yml". If you want to configure the plugin over the file, you should stop your server now and enter the blacklisted item IDs or Names (in the current version, you have to enter item names in FULL CAPS in order for them to be recognized). Commands
/blacklist list | Displays a list of all forbidden items. |
/blacklist addglobal <id/name>#<modifier> | Adds an item to the global blacklist. |
/blacklist rmglobal <id/name>#<modifier> | Removes an item from the global blacklist. |
/blacklist addlocal <id/name>#<modifier> | Adds an item to the local blacklist. |
/blacklist rmlocal <id/name>#<modifier> | Removes an item from the local blacklist. |
Permissions
blacklist.bypass | Allows the player to have and use blacklisted items. |
blacklist.addglobal | Allows adding items to the global blacklist. |
blacklist.addlocal | Allows adding items to the local blacklist. |
blacklist.rmglobal | Allows removing items from the global blacklist. |
blacklist.rmlocal | Allows adding items from the local blacklist. |
For your interest
- The configuration file is hard to read once it has been stored by the plugin, so I recommend using the commands to configure.
if i throw a xp bottle, will that work if i disable it??
EDIT: Great plugin btw.