There are many ways to protect chests but sadly not many ways to make it where chests are no protected. I used to own a server where factions was the guild plugin and even with chest protection off people could just place a block on top of their chest and it was protected. I just want a simple plugin that makes it where nothing can be placed on top of a chest. Edit: I did more searching and found another request http://forums.bukkit.org/threads/factions-addon-mech.85731/#post-1211638 but while some guy said there was already a plugin he didnt post the name.
You ordered it, I'll cook it up. Edit: <Edit by Moderator: Redacted mediafire url> Edit 2: Forgot to say, the permission node "nochestblock.place" allows players to place blocks above chests. Ops have this by default.
SpartaMercenary Well thank you for the plugin it works perfectly and this will solve the issue where you can have land protected without having to also have chests protected.
@SpartaMercenary Sadly a player on my server found a loophole in this by letting sand fall on the chest. Is it possible to give chests the property of another item? If so making it have w/e makes sand break when falling on a torch would be awesome. For your previous and hopefully ongoing help I will donate to you for this if you want to PM me your paypal info. Also I suggest throwing this up on bukkitdev as I'm fairly sure others need this plugin even if they don't know they want it yet as I can't imagine I'm the only one that does not want protected chests but does want land protection. Thank you
This will stop them from placing a block above a chest, dropping sand or gravel on it, and stop a piston from pushing a block on top of the chest. Code: @EventHandler public void BlockPhysicsEvent(BlockPhysicsEvent event) { Block block = event.getBlock(); Material mat = event.getChangedType(); if (block.getType() == Material.CHEST) { Block blockAbove = block.getRelative(BlockFace.UP); if (blockAbove.getType() == mat) { blockAbove.setType(Material.AIR); } } }
I shall compile that for you in a little bit. :3 (Give me an hour or two, I have some stuff I need to do first)
I could have done it.. just figured since @SpartaMercenary started it. I was gonna let him implement it.
[quote uid=17954 name="np98765" post=1350230]Deathfromace Fresh from the oven, <Edit by Moderator: Redacted mediafire url> I'm really late to replying but thank you so much for this Now hopefully it still works with all the changes done while I've been inactive
Snowybearr At least I came back to thank him though sadly it does not seem to work on newest build so hopefully np98765 wouldn't mind coming back once more to help me
Deathfromace Yeah I suppose, I'm sure someone will remake it for ya, since it's a pretty easy plugin according to the posts here.