Naughty Blocks
Naughty Blocks is the first plugin I have made, and is designed to stop people griefing servers.
Basically, it allows the server owners to stop users using certain blocks or items. This can be controlled using a permission system, giving people permissions to stop them using certain blocks or items. One thing that you may be curious about is why I put in the lava block/water block(blocks 8-11) in to the plugin. This was mainly to point out if someone is hacking(since these items are impossible to get normally), but I thought, while I'm at, might as well put permissions in. This also applies for the sponge and bedrock blocks.
To deny someone use of a block or item, give the permission relative to the item or block you want blocked from the list below
Please leave your opinions and suggestions!
These blocks/items include
- TNT
- Bedrock
- Sponge
- Flint and Steel
- Lava Bucket
- Water Bucket
- Lava Block
- Water Block
- Ender Chest
Permissions
- naughtyblocks.maincommand - Give your users this if you want them to be able to use the /nb command
- naughtyblocks.tnt - Give your users this if you want them using TNT
- naughtyblocks.bedrock - Give your users this if you want them using bedrock
- naughtyblocks.sponge - Give your users this if you want them using sponge
- naughtyblocks.fire - Give your users this if you want them using fire
- naughtyblocks.lavabucket - Give your users this if you want them using lava buckets
- naughtyblocks.waterbucket - Give your users this if you want them using water buckets
- naughtyblocks.lavablock - Give your users this if you want them using lava blocks
- naughtyblocks.waterblock - Give your users this if you want them using water blocks
- naughtyblocks.enderchest - Give your users this if you want them placing ender chests
- nb.broadcast - Give your users this if you wish for them to recieve messages when a player attempts to place a block without permission
Commands
Items or Blocks
Other
Commands
- /NB - Returns the currently running version.
Planned features
- Coloured broadcasts
- Coloured logs to the console - Please leave a comment saying if you like this idea
Please leave your opinions and suggestions!
-
View User Profile
-
Send Message
Posted Jul 10, 2013Edit: Nevermind, found the fix :) http://forums.bukkit.org/threads/i-need-help-with-allowing-flint-steel.152990
If in MC version 1.6.2 with the permission naughtyblocks.fire users cannot use Flint & Steel in a non-protected area, go to http://forums.bukkit.org/threads/i-need-help-with-allowing-flint-steel.152990
-
View User Profile
-
Send Message
Posted Jul 10, 2013will181, I know the plugin doesn't NEED updating, but I was curious if you had looked at separating the Fire Charge and Flint & Steel items from the naughtyblocks.fire permission yet?
-
View User Profile
-
Send Message
Posted Jan 30, 2013Nice plugin, thank you.
Please also block the Fire Charge (385) along with the Flint and Steel.
Another idea would be messages telling the user they cannot use the item/block, which is what I think you probably mean by coloured broadcasts.
Also, the log idea is good, providing there is an option to stop it.
Good luck.
-
View User Profile
-
Send Message
Posted Jan 28, 2013So it appears that your plugin has issues with OP. I'm admin on my server and OP, and I've given myself every permissions above, yet I cannot place lava, water, or any of the other items listed unless I de-OP myself.
-
View User Profile
-
Send Message
Posted Jan 9, 2013@M3DDLER
The .fire node blocks any fire placing item, including the "fire item" and flint and steel.
I'm currently checking through the code for 1.51
-
View User Profile
-
Send Message
Posted Jan 8, 2013The permission node naughtyblocks.fire, does this allow people to use flint and steel as i see no node for that? Will this run on 1.4.6 or do you plan on updating soon?
Thanks M3DS
-
View User Profile
-
Send Message
Posted Jan 7, 2013@WsupPanda
I could block any block, but it will take me time to update the source code.
As for the blocking crafting, possibly. I'd have to look in to it!
-
View User Profile
-
Send Message
Posted Jan 7, 2013Can it be made so you can block any blocks and also add the blocking of crafting table recipes too? These features would be very useful.
If these changes could be added it would be great for many different types of servers. RPG servers, for example: only a blacksmith can use anvils, make tools, and etc. It would also be useful for creative servers because sometimes we don't want people building with diamond blocks. I don't know if this plugin is capable of doing this, but I hope you take my idea into consideration :)
-
View User Profile
-
Send Message
Posted Jan 3, 2013@13thRanger
I'll take a look
-
View User Profile
-
Send Message
Posted Dec 30, 2012HEY ... it's me again :D I love this mod but I cant get it to work with the 1.4.6 ..are you coming up with a fix ? help me :D please ! :)
-
View User Profile
-
Send Message
Posted Dec 1, 2012@Jc17505
I'm checking the OP thing now, and do you have anyway I can send you a custom version of my plugin that will ban them?
===================================*EDIT*
From what I can tell, there is nothing in the source code that would suggest that OP's wouldn't be able to if they have the * permission node. However, if you're just using the /op command, then they likely won't be able to. You may want to consider giving the OP's the relative permission nodes for the plugin or I believe the * node would work
-
View User Profile
-
Send Message
Posted Nov 30, 2012I'm wondering no ops can place TNT lava and water and flint a steal and can you add it so if some one griefs there auto banned plz
-
View User Profile
-
Send Message
Posted Nov 28, 2012@teozfrank
Possibly, I'd have to check
-
View User Profile
-
Send Message
Posted Nov 26, 2012going to test this soon but could you add more items such as the invisibility potion as iv seen players use this and i do not want them to thanks
-
View User Profile
-
Send Message
Posted Nov 25, 2012== ==== FIXED THE BUG! ==== ==
-
View User Profile
-
Send Message
Posted Nov 24, 2012@AlterEgo1337
I don't know why this is happening, but will be looking over the source code soon
-
View User Profile
-
Send Message
Posted Nov 24, 2012The file wont load. Outdated or is there something else?
-
View User Profile
-
Send Message
Posted Nov 24, 2012@lewisviper
Sorry, I don't completely understand.
If someone does not have the permission node allowing them to use a block, then the placement event is simply cancelled, it prints to console, broadcasts a message and burns the player
-
View User Profile
-
Send Message
Posted Nov 23, 2012Does this work on ID basis also ???? I am badly after a plugin that works over multiple worlds, with default off, allowing us to stop people having certain objects or items, does it eject items from the player or simply remove them ?
-
View User Profile
-
Send Message
Posted Nov 15, 2012@MinecraftRocks999
Sure, I'm a bit of a tekkit novice, but send me the block id's you want blocking and I'll you a go at it!