Beta Main

Logo Item/Block Disabler2 is a plugin designed to allow server administration to easily deny access to items and blocks. It allows you to choose what worlds you want items disabled in, and how you want the block disabled! It is extremely lightweight and is designed to have no exploits.

Configuration

On first run, a config.yml will be generated that looks like this:

Fire Events: false
Disable Crafting:
  World123:
    - 123:45:false
Disable Placing:
  World123:
    - 123:45:false
Disable Breaking:
  World123:
    - 123:45:false
Disable Interacting With Item In Hand:
  World123:
    - 123:45:false
Disable Interacting With Block:
  World123:
    - 123:45:false
Disable Dropping:
  World123:
    - 123:45:false
Disable Dispensing:
  World123:
    - 123:45:false
Disable Entity Spawning:
  World123:
    - EntityName
Disable Item Spawning:
  World123:
    - 123:45
Disable Brewing:
  World123:
    - 123:45
Disable Picking Up:
  World123:
    - 123:45:false
Disable Clicking Item In Inventories:
  World123:
    - 123:45:false
Disable Creeper Explosions:
  - World123
Disable TNT Explosions:
  - World123
Disable Fireball Explosions:
  - World123
Disable Fire Ignition:
  - World123
Disable Fire Spread:
  - World123

Listing a world "Global" will disable across all worlds.

The entries are self explanatory. For entries that only have a world name listed, that action can only be disabled per world. If there are also numbers under each world, you can choose which items to block that action for. The listing go 'id:data:delete'. You can leave out data and delete and GriefBeGone will automatically infer 0 and false, respectively. For instance, 5:false tells GriefBeGone to block that action for wooden planks, but not delete the item. 5:true will have GriefBeGone remove the item from the game.You could also do 5:0:false or 5:0 to refer to oak wooden planks.

For instance, say I wanted wooden planks to not be placed, but not deleted should someone try to place them. I also want them to not be broken, but also to remove the block from the game should someone try to break it. I also want fire ignition to be blocked, and fireballs not to explode. All of this is need in world "test". My config would look like this.

Fire Events: false
Disable Crafting:
Disable Placing:
  test:
    - 5:false
Disable Breaking:
  test:
    - 5:true
Disable Fireball Explosions:
  - test
Disable Fire Ignition:
  - test

Note: Unless you are looking to hook into GriefBeGone, leave Fire Events as false. It doesn't concern you! ;) (If you are, see the API page)

Permissions

GriefBeGone also supports permissions! This allows for administrators to apply disabling rules to only certain groups of people! Here are the permissions:

  • disabler.reload - allows access to /griefbegone reload
  • disabler.bypass.craft.worldname.itemid - allows user to bypass crafting restrictions
  • disabler.bypass.place.worldname.itemid - allows user to bypass placing restrictions
  • disabler.bypass.interacthand.worldname.itemid - allows user to bypass interacting (with item in hand) restrictions
  • disabler.bypass.interactworld.worldname.itemid - allows user to bypass interacting (with world) restrictions
  • disabler.bypass.drop.worldname.itemid - allows user to bypass dropping restrictions
  • disabler.bypass.pickup.worldname.itemid - allows user to bypass picking up restrictions
  • disabler.bypass.inventory.worldname.itemid - allows user to bypass inventory restrictions
  • disabler.bypass.delete.worldname.itemid - allows user to bypass item deletion
  • disabler.bypass.all.worldname.itemid - allows users to bypass everything - New in V2.6
  • disabler.broadcast.craft - GriefBeGone will send a message to this player when an illegal item is crafted
  • disabler.broadcast.place - GriefBeGone will send a message to this player when an illegal item is placed
  • disabler.broadcast.interacthand - GriefBeGone will send a message to this player when an illegal item is used to interact
  • disabler.broadcast.interactworld - GriefBeGone will send a message to this player when an illegal item is interacted with
  • disabler.broadcast.drop - GriefBeGone will send a message to this player when an illegal item is dropped
  • disabler.broadcast.pickup - GriefBeGone will send a message to this player when an illegal item is picked up
  • disabler.broadcast.inventory - GriefBeGone will send a message to this player when an illegal item is clicked on
  • disabler.broadcast.dispense - GriefBeGone will send a message to this player when an illegal item is dispensed
  • disabler.broadcast.brew - GriefBeGone will send a message to this player when an illegal item is brewed
  • disabler.broadcast.itemspawn - GriefBeGone will send a message to this player when an illegal item is spawned
  • disabler.broadcast.entityspawn - GriefBeGone will send a message to this player when an illegal entity spawns
  • disabler.broadcast.fireignite - GriefBeGone will send a message to this player when an illegal fire is ignited
  • disabler.broadcast.firespread - GriefBeGone will send a message to this player when a fire tries to illegally spread
  • disabler.broadcast.creeper - GriefBeGone will send a message to this player when a creeper explodes illegally
  • disabler.broadcast.tnt - GriefBeGone will send a message to this player when TNT explodes illegally
  • disabler.broadcast.fireball - GriefBeGone will send a message to this player when a fireball explodes illegally

Note: With V3.1, you can use '*' as the item id to represent all item ids in the config and for permissions.

Be careful with picking up! I recommend you always have delete as true for pick up disabled items! Otherwise, players with the broadcast permission will be spammed and you may notice some lag if a lot of players try to pick up the illegal item.

Say I wanted a player to not get their wooden planks deleted, but only a certain color of wooden planks in the world "main". I would give them:

disabler.bypass.delete.main.5:2

Miscellaneous

As mentioned before, I designed this to be extremely lightweight and exploit free. If you find a bug or an exploit, submit a ticket or shoot me a pm. I will fix it as fast as I can. Enjoy!

I realize this plugin may be used on Forge servers, but sadly, it was not designed for Forge servers. It is not my fault if there are bypasses on Forge servers. You can try to use this plugin, but I reserve the right to deny you support.


Comments

Posts Quoted:
Reply
Clear All Quotes