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).

-
View User Profile
-
Send Message
Posted Jul 29, 2012@Mhjort
Thank you
-
View User Profile
-
Send Message
Posted Jul 29, 2012This plugin really made my ( And my players ) life so much easier. Thanks for the great work, keep it up :)
-
View User Profile
-
Send Message
Posted Jul 26, 2012I'm having trouble with the group limits:
But when I test the groupmanager groups with the different group limit permissions the message I get is "You cannot place any protectionstones." leading me to believe its somehow thinking they are not in a group and defaulting them to zero. Any suggestions? How should I get the groups to be recognized?
Thank you
-
View User Profile
-
Send Message
Posted Jul 24, 2012Can add a config to make not cube areas?, example:
COAL_ORE 10x5x2
Thanks
-
View User Profile
-
Send Message
Posted Jul 23, 2012@AxelDios
Please can you add support for SimpleClans as PreciousStones supports it but i prefer your plugin
-
View User Profile
-
Send Message
Posted Jul 23, 2012A suggestion: a simple sell and buy command would be nice!
like this:
p1: /sell (inside region detector) 1000 <designated name name>
p2 /buy inside region detector or <designated name>
-
View User Profile
-
Send Message
Posted Jul 22, 2012Letting u know /ps
conflicts with petsecure... which is also /ps
can u add another alias
-
View User Profile
-
Send Message
Posted Jul 20, 2012@bukOhTwo
Both regular WorldGuard Regions and ProtectionStones created WorldGuard Regions have no means to either check if two regions next to each other should be joined nor can be joined.
That maybe a future feature in WorldGuard, but the way ProtectionStones works it will probably never be a feature of ProtectionStones itself.
To make PS fast, small, and efficient it doesn't use it's own database, so the PS names and sizes are fixed as separate regions.
-
View User Profile
-
Send Message
Posted Jul 20, 2012@AxelDios
Thank you for your time. I also have another question. If you place two properties that are connected to each other, is it considered one property? I will probably test this out using the enter and exit messages. But I'm curious to know if WorldGuard recognizes it as one single property.
-
View User Profile
-
Send Message
Posted Jul 18, 2012@bukOhTwo
1. Yes you can add new blocks by simply adding more (up to 16 max) to the blocks list please see the section called "ProtectionStones (WorldGuard) Region Sizes" on the Configuration Page
Read that page for more information on sizes.
2. PS Regions are WorldGuard Regions so all the WorldGuard Region priority rules take effect the same. Read the WorldGuard Page for more information on how the different rules work for the priority of regions.
3. Correct, the protectionstones.destroy gives the player the permission to destroy, but only their own stones. As a note if you set the WorldGuard Permission for Ops then a person with that special permission can break the stone also and do other things in any region including PS Regions.
Most of that information is already on the Configuration Page.
If you still have a problem or question I'd be glad to help you further.
-
View User Profile
-
Send Message
Posted Jul 18, 2012Is there anyway to have some kind of "road" block? Since you can't over lap stones, I want to be able to give people the option of creating a road using say, a lapis lazuli ore block which is say, 2 high with 2lx2w. Will I be able to create more blocks besides the default three?
EDIT:
1. If there is a way, would you mind instructing me how? Is it as simple as adding another block to "Blocks?"
2. In the flags area, since we can add WorldGuard flags, does this override WorldGuard settings? I'm just a little confused as to the priority of each plugin.
3. protectionstones.destroy only gives the ability to destroy a protection block BY the owner right?
Sorry if these questions have obvious answers. I was a bit confused by the configuration.
-
View User Profile
-
Send Message
Posted Jul 17, 2012ProtectionStones 1.8e
Has been uploaded and is awaiting approval by the Bukkit Team.
Addition: New command "/ps priority" command, if you use it with a number it sets the priority of the PS Region you are standing in, if you don't include a number it returns the priority level of the region. Also changed the "/ps info region" command to list the priority level. The Priority Command has a permission for it's use: protectionstones.priority (defaults to true).
Bug Fix: Bukkit's Changes to the way config.yml's are loaded has left me with no choice but to remove "/ps admin reload" command. I will overhaul all the variables in the program to conform with the changes to the config loading and it's trouble with static variables.
Note: Still working on some kind of work-around for people wanting to overlap other peoples regions, like a server region for people to build in. This option defeats the purpose of the regions and the original scope of this plugin, and currently no easy and efficient means to do.
-
View User Profile
-
Send Message
Posted Jul 11, 2012@staggercraft
Sounds like you made changes to the Region.LIMIT or Group Limits settings in the config.yml file, see the Region.LIMIT and Group Limits settings under Additional Settings on the Configuration Page.
-
View User Profile
-
Send Message
Posted Jul 11, 2012Right now when I try and place a block it says "You cannot place any ProtectionStones."
-
View User Profile
-
Send Message
Posted Jul 8, 2012k thanks
-
View User Profile
-
Send Message
Posted Jul 8, 2012@Random5014
No it's not possible, but you could change the Diamond Ore PS to something else, see the configuration page.
-
View User Profile
-
Send Message
Posted Jul 8, 2012is it possible to make it so a player can buy a diamond ore or buy a diamond ps. If so how and if not you should try and make ti that way. It would help a lot.
thank
-
View User Profile
-
Send Message
Posted Jul 7, 2012The next version of PS allows for the checking and setting of the PS Region's Priority Level, and I'm working on methods for working within WorldGuard Regions.
PS was originally planned and used as the sole protection for players, and server operators could use regular WorldGuard Regions to protect other areas. At this time I have had numerous requests to add interaction and support for other protection plugins like Towny, but to keep PS lite and fast I can not add these other systems.
The main problem with overlapping regions is ownership. There is no easy method for me to check PS Regions for overlap outside of WorldGuard's API other than WG's overlap check which returns a true or false if you overlap a region you don't own. To do deeper checks would require PS to do multiple check and one of them will require a check of all blocks within the region and check priority levels also, which would slow the plugin drastically.
So at the moment I am looking at alternatives.
-
View User Profile
-
Send Message
Posted Jul 4, 2012@Tiggur123
Do you have overlaping regions where the players are having problems, I think there was some changes to WorldGuard and now people are having problems with overlaping regions. I'm looking into that now.
PS Uses WorldGuard for all it's protection, so if you look on the WorldGuard Permissions Page there is a setting for ops to allow them to override the owner checks.
And PS has a permission setting called "protectionstones.superowner" which overrides PS's Owner check for things like adding members, etc.
-
View User Profile
-
Send Message
Posted Jul 4, 2012@junebugjump
First of all, how did you make it a smaller region, did you break the first ProtectionStone and then place another, or did you use WorldGuard Directly to edit the region.
If you use WorldEdit to regen an area it will erase everything and set it back to the map's seed (same with PS's regen command it uses WE to regen the area). Unless you have a back of the map this is unrecoverable, WE does have an Undo Command but you would have had to done it immediately after the regen.
ProtectionStones uses WorldGuard for all the protection, when you place a ProtectionStone you create a WorldGuard Region, and all the information for the ProtectionStone is held in the WG Region Database.