ProtectionStones
Anti-Griefing at it's Easiest!
Griefing Protection
ProtectionStones allows a player to place a special block, and this protects their area from griefing.
This small plugin was inspired by PreciousStones but only has the property protection blocks. This allows players to place one of three types of ore blocks to protect their property.
The player doesn't require any special permissions, they just need to get one of the three following ore blocks which you can give or sell in game using other plugins:
Coal Ore gives 11x11x11 protection area.
Lapis Ore gives 21x21x21 protection area.
Diamond Ore gives 41x41x41 protection area.
See the Configuration Page if you would like to change the block types, the dimensions or even set the Y-Axis to be from sky to bedrock, set group limiting, etc.
When the player places the block it creates a WorldGuard Region that gives the player ownership of that area and in turn grief protection. If the player breaks the ProtectionStone then they get the stone back and the region is removed from WorldGuard's Region List.
To install simply copy the ProtectionStones.jar file to your plugins folder, no configuration necessary. The following Ore Blocks are supported as the defaults: Coal Ore, Lapis Ore, Diamond Ore.
ProtectionStones Regions
ProtectionStones Creates WorldGuard Regions with the following naming convention:
ps{x-coordinate}x{y-coordinate}y{z-coordinate}z
i.e.
ps279x67y40z
The x, y, and z coordinates are the location of the placed ProtectionStone which is in the center of the WorldGuard Region it creates. If the Region.SKYBEDROCK Setting is set to "true" (see the Configuration Page) then Y-Axis of the ProtectionStone isn't necessarily the vertical center of the region.
Incompatible with PreciousStones
Both plugins act on the same kind of ore blocks and have the same command name of "/ps".
Requires WorldGuard
WorldGuard is used to create and remove regions when the blocks are placed, otherwise ProtectionStones won't do anything (set not to load if WorldGuard isn't found).
@funk1983
What kind of help do they need in the shop, ProtectionStones uses WorldGuard's Protection Regions, so you are only limited by WorldGuard's Flags.
At the moment the stones use the region's protection.
I am working on other options that protect the stones from explosions or destroy the region when the stone is gone.
With the current version 1.5b you could disable the protectionstones.fix permission for all players by setting it to false, and then if you have a means to blow up the stone or push it with a piston you can remove the stone, which would in fact protect the region.
I was going to add a rename region command called "/ps region convert" to make it into a regular WorldGuard Region, but WorldGuard doesn't have a command to rename regions.
So for now I will build my own.
Is there anyway to protect the protectionstone itself, even from members of that area?
Example: Dave as a PS area for his shop and wants to add John as a member to help in his shop. But John could theoretically remove Dave's PS and place it down him self to claim that area.
@nebenezer
Sounds like a permissions problem or the WorldGuard Region isn't being created.
What are you using for your permissions plugin?
And what protectionstones.* permissions do you have set?
And are you sure it is creating a Region?
Did you try checking it against WorldGuard's Region List?
AxelDios,
We have done this many times. But I tried once more before posting. I placed a coalore block. I stood right next to it, touching it. I typed '/ps add bob' and hit enter. I received the same message.
I do have tnt and creeper block damage disabled. Thanks for the plugin suggestion, I'll check it out :)
@nebenezer
I did find this plugin that says it adds a fix to WorldGuard to block Piston "Attacks":
WGPFix (WorldGuardPistonFix)
@nebenezer
As far as griefing goes, all the grief protection comes from WorldGuard Regions, so you may want to see what's going on with WorldGuard, their maybe a switch to turn on or off to protect against pistons or it may be a bug.
All the /ps commands (not the "/ps region" commands) must be used inside a region that the player owns, that is how ProtectionStones tells which region you want to alter and if you have the permission to do it.
1.6 will be adding an op override permission to allow ops to make changes to player's regions, other than removing them that they can do now.
The message you are getting now is a generic message that could mean either the command syntax is wrong, the person using the command is outside of the region, or they don't own the region.
Have an op create a new ProtectionStones Region, and while standing inside it do the following:
/ps add bob
This should add a new member to the region named "bob"
To check if regions are being created use WorldGuard's /region command (alias is /rg) like this.
/rg list
if the list is long you can view each page with /rg list {page_number}
ProtectionStone Region's are named after the x, y, z block coordinates of the ProtectionStone and are prefixed with "ps":
ps{number}x{number}y{number}z
Tell me your results.
P.S. If I have time I'll look into WorldGuard Region Protections vs Pistons. As far as I know from using WorldGuard the region protection only effects player's building and destroying blocks, so pushing blocks in and explosions will destroy objects inside a protected region. That is one reason why you can turn off TNT explosions in WorldGuard's Config.
AxelDios, love your plugin and greatly appreciate you adding the bedrock-sky feature :D
We are having a couple issues though. For one I have had players griefed by people using pistons to push rows of dirt through their protected structures :(
Also, and much more importantly, none of the /ps commands work for us, not even ops can use them :/
The stones create the regions correctly (as far as I can tell) but noone can add or remove their friends to their regions. No matter what we try we always get the '/ps {list|off|variables} <= Use in your region' message, standing right next to a stone.
Trying to hash out the new /region regen code, to no avail at the moment, after that a few more updates, testing then 1.6 will be out.
No current projected time frame at the moment due to the "regen" problems I'm having at this time.
@snitride
I just checked the material name and tested it, the name is "ENDER_STONE" not "END_STONE". Even though in game it shows in your inventory as "END_STONE".
So your config should have this info:
Blocks:
- ENDER_STONE 5
Hello there, first i wanted to say, that i find your idea great! I am looking since quite some time now for a suitable plugin. And i think i have found it! But i don't get your plugin running like i want. My idea is, that you only can claim land with "end_stone (121)" with 11 x 11 (5) , but at the moment nothing happens if i (admin) place the stone.. Can you give me an example how the config would have to look like? Thanks, keep up the good work! Greetings, snitride
Gone fishing (on Lostcraft)
@Kwuality
I'm testing performance degradation for explosions.
The main problem is a trade off between using a secondary database to track all the stones, and converting on the fly the stone names into locations as the explosions happen.
I'm still not happy with the performance issues it will create when turned on.
As it is two new additions to 1.6 will already add (though almost totally negligible) tiny performance slow downs, that's the new World Exclusion with Placement Option and the new Toggle Feature (which allows player-by-player control of placing a block as a regular block or as it's configured ProtectionStone with Region Creation
I'm looking into it for you but there's no promises that it will ever be included in ProtectionStones.
@AxelDios
Region protection (for my server at least) is used to stop people from walking up to your land and punching holes through it/buidling etc ... - my regions are protected by everything except explosions (vulnerable to TNT cannons etc).
That's what makes it fun + still griefable - this would be a perfect plugin to be added - except you're making it not handle explosions that well, which I understand your logic, but in my case I guess it's just not for me then.
But if you ever do add better handling for explosions - I'm gonna hop right on this plugin in a heartbeat ;D
Appreciate you adding thought to it though.
@owenftw
At the moment you can set the size by a single number which equally sets height, width, and length (cubes) or set the Region.SKYBEDROCK to true to allow unlimited height.
If you want more height or to extend your region in any direction you just place a new ProtectionStone so that it extends protection to your new area by spacing it away from the first ProtectionStone.
@bladedpenguin
As Nolan said, lighter, uses the proven WorldGuard Plugin and it's Regions, etc.
@NolanSyKinsley
If he wanted all players to have unlimited ProtectionStones, he could have just set Region.LIMIT to -1 (which is the default).
If we wanted all players in group2 to have unlimited ProtectionStones, he would need to set Region.LIMIT to -2 and Group.LIMIT2 to -1 and then give those players permission to be in group2 by setting the players to protectionstones.group2 to true.
Here's how to Set Region.LIMIT:
To use global limiting, (limit all players) set the Region.LIMIT to the following:
-1 for infinite blocks
0 for no blocks
Greater than zero for a set number of blocks.
To use the newer group limiting set Region.LIMIT to -2.
That tells the plugin to skip the global limiting and use group limiting.
But make sure you set the group limiting settings and the players only one permission so they are in one group.
Best practice is to set the group values in ascending order (lowest to highest), the groups are checked in ascending order, so if a player is accidentally placed in more than one group then they will receive the lower value.
As a note the group limiting uses the same values as the global limiting, i.e. -1 infinite, etc.
@AxelDios
I am actually a little confused now. On your custom configuration configuration page it says if you want to use groups, "set Region.LIMIT: -2". He was trying to set all users to use the amount set on group 2, so should he not have had it set at -2 and then set the correct amount he wanted on group 2? Or did you mean -1 on that page?
@Auroraah
In your configuration set Region.LIMIT: 1
How can I set this up so each user can only have 1 protection area?
@bladedpenguin
This is a lighter weight plugin than precious stones, it only does 1 thing, protection. It also does protection in a vastly different way on the backend than preciousstones. Instead of protectionstones making it's own protection system, like preciousstones does, it ties into the already time proven and tested stable worldguard protection system.
I had tried preciousstones before, it was rather buggy. I had protection areas disappearing, not being placed when a stone was placed, not going away when a stone was removed, and it had a ton of other stuff added on that was simply not right for our server so we were just disabling over 75% of the plugin.
The only thing left that I am waiting for in this plugin is the enable/disable command so people can place the ore blocks without the protections being applied. Once that is done If you are looking for a simple, easy to use and easy to configure self service protection system, this is the one!