Plugin category: Mechanics Suggested name: Private blocks What I want: I'd like a plugin, that adds blocks, similar to warded stone from thaumcraft 3. Only the person who places it can brake it. I'd like the block to default to something useless like sponge and have a permission for placing those blocks and for admins to be able to break all blocks. Ideas for commands: No commands needed for this plugin. Ideas for permissions: privateblocks.use - use those blocks, privateblocks.admin - to be able to brake other people's blocks. When I'd like it by: As soo as possible, but I can understand how this is not the easiest thing to do. (I do know quite a bit of programming, just not Java)
franga2000 I have never used thaumcraft 3, so could you elaborate on what this will do? Do you mean a user can place sponge and its unbreakable for anyone other than themselves and admins?
bkleinman1 In Thaumcraft 3 there are blocks that only the player who placed them can break. That's what he wants. Just save the players name and the block's location into a HashMap on a BlockPlaceEvent, then make a BlockBreakEvent and check if the players name matches the location they're trying to break, if so break the block otherwise return.
Commander9292 Yes, but is there going to be a command that toggles the protected block placing, or will it just be certain blocks at any point?
@bkleinman1 No need for any commands. I just want to have some sort of block, that can only be broke by the user who places it (and admins). I'd also like the block to be configurable as my staff and I got a few better ideas for the block since sponge looks kinda ugly.