GriefBeGone - Item/Block Disabler 2

Version 4.0 (Bukkit 1.7.2) is in beta testing!
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:
Disable Crafting: message: '&4The force is not with you.' main: - '657:2' Disable Placing: message: '&4The force is not with you.' main: - '657:2' Disable Interact: message: '&4The force is not with you.' main: - '657:2' Disable Dropping: message: '&4The force is not with you.' main: - '657:2' Disable Pick-Up: message: '&4The force is not with you.' main: - '657:2' Disable Item In Inventory: message: '&4The force is not with you.' main: - '657:2' Disable Dispensing: main: - '657:2' Disable Spawning: main: - '657:2' Disable Brewing: main: - '657:2' Delete Item If Found: main: - '657:2'
The entries are self explanatory, but here's an example of how to disable items. Say I wanted to disable stone in the world "home", but not completely disable them. I only want to disable dropping and placing. I also don't want it to delete the disabled item should the plugin find one, and I want it to tell the player "You can not do that!" in dark red.
I also want wooden planks not being dispensed in the world "main". I also want it to clear the wooden planks out of the dispenser should it find some. My config would look like this:
Disable Crafting: message: '&4The force is not with you.' Disable Placing: message: '&4You can not do that!' home: - '1' Disable Interact: message: '&4The force is not with you.' Disable Dropping: message: '&4You can not do that!' home: - '1' Disable Pick-Up: message: '&4The force is not with you.' Disable Item In Inventory: message: '&4The force is not with you.' Disable Dispensing: main: - '5' Disable Spawning: Delete Item If Found: main: - '5'
The messages and item ids must be surrounded by apostrophes, not quotation marks! Make sure your messages don't have apostrophes, it will screw up the plugin!
Permissions
Item/Block Disabler2 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 /disabler reload
- disabler.bypass.crafting.worldname.itemid - allows user to bypass crafting restrictions
- disabler.bypass.placing.worldname.itemid - allows user to bypass placing restrictions
- disabler.bypass.interact.worldname.itemid - allows user to bypass interacting restrictions
- disabler.bypass.dropping.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
Note: With V3.1, you can use '*' as the item id to represent all item ids in the config and for permissions.
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 Tekkit servers, but sadly, it was not designed for Tekkit servers. It is not my fault if there are bypasses on Tekkit servers. Update 23/4/13: Bukkit no longer accepts plugins compiled with 1.2.5. Versions compiled with 1.4.7 should still work on 1.2.5, but no guarantees!
-
View User Profile
-
Send Message
Posted Jun 1, 2013Hi chrislarsson!
I'm having issues with the plugin not working anymore with Multiverse worlds.
Multiverse-Core-2.5-b667 and mcpc-plus-1.5.2-R0.2-forge716-B503
MCPC+ recently changed the world save structure to be more like Forge, all worlds are now safed in /world/MultiverseWolrd
Not sure if this has anything to do with wolrd path locations or not.
Plugin still works 100% in overwolrd and nether, just none of my MV worlds. If its a issue with MCPC+ rather please let me know that I can create a ticket on their system.
Thanks again for 1 of the best plugins around!
-
View User Profile
-
Send Message
Posted Jun 1, 2013@piritacraft
Any errors?
-
View User Profile
-
Send Message
Posted Jun 1, 2013this plugin is not working on tekkit lite 0.6.5 with mcpc+ mcpc+ legacy-48
-
View User Profile
-
Send Message
Posted May 30, 2013Currently running the latest Item/Block Disabler2 V3.1[1.4.7 R1.0] on CraftBukkit version git-Bukkit-1.5.2-R0.1-b2771jnks but having trouble disabling brewing invisibility potions. Please take a look at our config for any potential errors, and advise. Thanks in Advance. Disabler Config: http://pastebin.com/DXu1cSXK
-
View User Profile
-
Send Message
Posted May 30, 2013@Marium0505
It should.
-
View User Profile
-
Send Message
Posted May 30, 2013Does the plugin work on 1.5.2?
-
View User Profile
-
Send Message
Posted May 27, 2013@CheeseBallz02
I can't help if that's all you can tell me.
-
View User Profile
-
Send Message
Posted May 26, 2013For some reason, this plugin isn't working?
-
View User Profile
-
Send Message
Posted May 23, 2013@Daxius81
Your Debian Linux machine doesn't have the latest version of Java 7 installed.
-
View User Profile
-
Send Message
Posted May 23, 2013Hi Again Chris.
Everything worked like it should but i wanted to upgrade my server to a 24/7 standalone Debian Linux with the newest 1.5.2 R0.1 but i get this error now. The odd thing, i dont get the same error on my Windows computer. All the other plugins worked fine. Is this something you can take a look at please?
Thank you.
-
View User Profile
-
Send Message
Posted May 22, 2013@piritacraft
You're very welcome!
-
View User Profile
-
Send Message
Posted May 17, 2013I was just wondering how would you set more than one id?
-
View User Profile
-
Send Message
Posted May 14, 2013thank you for this plugin
-
View User Profile
-
Send Message
Posted May 10, 2013@superckl
Sure you can! It will be great.
-
View User Profile
-
Send Message
Posted May 8, 2013@overlander35
Strange! I always test everything before releasing a new version. I just tried a few perms now and they appear to work. Could you send me your permissions file and your disabler config?
-
View User Profile
-
Send Message
Posted May 8, 2013Hi. Just started using this plugin for a hardcore world with disabled items, pvp, etc. I am having problems with the permissions you set-up. I am currently using PermissionsEx and am on CraftBukkit 1.5.2. The plugin works, and thank you so much for making it, the problem is, the permissions don't work at all for me! I can't give people perms for anything at all. My friend and I are the owners and only we have the bypass perms. I have tried everything from disabler.bypass.all.hardcoreworld.50 and disabler.* and disabler.bypass.* etc, etc, etc. Can you please review these permissions and double-check that they work? Also, I would greatly appreciate if you could add support for disabler.* and disabler.bypass.*. Thanks :)
P.S.: If you want to check it out, server ip is: mc.stratocraft.net
-
View User Profile
-
Send Message
Posted May 8, 2013@craftik7
Glad to see my plugin is being noticed :D
If you want, I could make the API a little more...friendly. It isn't designed for another plugin hooking in.
-
View User Profile
-
Send Message
Posted May 8, 2013I included your plugin as optional dependency in my project! http://dev.bukkit.org/server-mods/olddays/
-
View User Profile
-
Send Message
Posted May 6, 2013@superckl
thanks for the information, i'll try it out. MC 1.6 might be out before a recommended build comes out, lol...
-
View User Profile
-
Send Message
Posted May 6, 2013@superckl
I see, thank you so much :P