How can I use a placed item to claim a radius area?

Discussion in 'Spigot Plugin Help' started by shadok92, May 23, 2016.

  1. I'm looking for a plugin (or more likely some APIs that I can hook into) that will allow me to give players a specific item. If the player places the item somewhere, they should become owner of all blocks within a certain radius. However, I don't want blocks to become unbreakable or anything like that. Instead, I simply want to make griefing a bit more difficult. I'd want to apply the mining fatigue status effect to anyone but the owner when hitting blocks in a claimed area, and I'd also like to make it impossible for anyone but the owner to place blocks. Allowing certain blocks, like TNT, might be nice down the road. If a player reaches and destroys the 'claiming block', the owner will lose ownership of the area. Can anyone point me in the right direction?