-
Notifications
You must be signed in to change notification settings - Fork 2
Blacklists
Blacklists let's you prevent certain events happening when a certain condition is met. Such as preventing TNT from being placed in a specific world.
iSafe's blacklists are fully managed using a multi-world system. Blacklist files can be found inside a folder called "Blacklists" located in your iSafe plugin directory. From there all your worlds will be listed in different folders, and inside each of these folders a file called "Blacklist.yml" will be present. Inside this file is where all blacklist management is being handled.
All blacklists are disabled by default.
Events currently being monitored by iSafe blacklists:
- Placing
- Breaking
- Droping
- Pickup of Items
- Command Execution
- Chatting
- Interacting
- Crafting
- Consuming
- Piston Extending
- Dispensing
iSafe can also blacklist mobspawning, but that is another system found inside CreatureManager.yml
Blacklist permissions are a little different from normal ones.
Here's a list of iSafe's blacklist permissions:
Note: <type> can also be the wildcard '*'.
| Permission | Type | Example |
|---|---|---|
| iSafe.blacklist.place.bypass.<type> | Integer(Block ID) | .bypass.35 or .bypass.35:15 |
| iSafe.blacklist.break.bypass.<type> | Integer(Block ID) | .bypass.35 or .bypass.35:15 |
| iSafe.blacklist.drop.bypass.<type> | Integer(Item/Block ID) | .bypass.46 or .bypass.322:1 |
| iSafe.blacklist.pickup.bypass.<type> | Integer(Item/Block ID) | .bypass.46 or .bypass.322:1 |
| iSafe.blacklist.command.bypass.<type> | String(With slash) | .bypass./nuke |
| iSafe.blacklist.chat.bypass.<type> | String(Word) | .bypass.penis or .bypass.shit |
| iSafe.blacklist.consume.bypass.<type> | Integer(Item ID) | .bypass.373:8297 or .bypass.260 |
| iSafe.blacklist.interact.bypass.<type> | Integer(Item/Block ID) | .bypass.383 or .bypass.69 |
| iSafe.blacklist.crafting.bypass.<type> | Integer(Item/Block ID) | .bypass.152 or .bypass.278 |