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 Jun 7, 2013@owenwant
I'll look into it, it could also be issues with the versions of WorldGuard, WorldEdit, and Bukkit that this version was compiled with.
-
View User Profile
-
Send Message
Posted Jun 6, 2013Okay, This is what is causing the lag: When people try to place protectionores but they can't because it overlaps another region.
This is just from 1 person placing down a lapis ore several times: - ProtectionStones is 2nd in plugins list: http://aikar.co/timings.php?url=5740996
Just wondering if there is anything that can be done because I really love this plugin, been using it for as long as I can remember ;(
-
View User Profile
-
Send Message
Posted Jun 2, 2013@Ianhalmond
Yes, if you set the "Region.NOSILKTOUCH" to true.
Please read the section called "Additional Settings" on the Configuration Page.
-
View User Profile
-
Send Message
Posted Jun 2, 2013@NickPikFlik
Please read the section called "ProtectionStones (WorldGuard) Region Sizes" on the Configuration Page.
-
View User Profile
-
Send Message
Posted Jun 1, 2013Does this protect from people using silk touch on these blocks?
-
View User Profile
-
Send Message
Posted Jun 1, 2013Hey,
How do i change the radius off a block?
Can someone tell me?
Thanks
-
View User Profile
-
Send Message
Posted May 27, 2013@owenwant
You should remove ProtectionStones if you feel it's the cause of lag on your server and use some other anti-griefing plugin, there are many to choose from.
-
View User Profile
-
Send Message
Posted May 27, 2013I'm not sure but I think this is one of the causes of lag on my server? :l
Server timings: http://aikar.co/timings.php?url=5707785 This happens on any version of protectionstones, I just downgraded to see if it made a difference.
-
View User Profile
-
Send Message
Posted May 25, 2013@mal67
No, there is no way, this has been asked for in the past.
PS uses WorldGuard's Database and API, and WorldGuard's only check if for region ownership, I could make it check for any overlap then search through the results which would slow down the server and not gain you much.
Just count out the spaces between your regions, if you are placing so many that it becomes an issue, you may want to use something else as protection. This plugin was never meant for players with hundreds of regions.
-
View User Profile
-
Send Message
Posted May 25, 2013@Parsa1379
Hey, if you have any of yours groups setup as "limit: -1" then they can place as many stones as they want. Here's what mine looks like
Group: LIMIT1: -1 LIMIT2: 1 LIMIT3: 2 LIMIT4: 3 LIMIT5: 4 LIMIT6: 5 LIMIT7: 6 LIMIT8: 7 LIMIT9: 8
All my regular ranked players get "protectionstones.group2" So they can only place one stone. Give this a try.
-
View User Profile
-
Send Message
Posted May 24, 2013is there any way to set PS to not allow overlapping your own regions? to force players to space out their protection stones.
-
View User Profile
-
Send Message
Posted May 24, 2013@Parsa1379
Send me a private message with your config.yml file pasted in, and I'll take a look at your settings.
-
View User Profile
-
Send Message
Posted May 23, 2013Please help me. I setup the groups thing, but it dosent work. All the people can set infinite stones and its annyoing! Make a video or something on it, or reply with a clear way to fix this. Thanks!
-
View User Profile
-
Send Message
Posted May 20, 2013@midnightfang22
You can restrict groups by types of PS's and total region count, but not one of one kind then so many of another.
Please read about Group Limits under Additional Settings on the Configuration Page.
-
View User Profile
-
Send Message
Posted May 19, 2013I'm curious, but is there a way to make it so a group can only place 1 of a particular protection stone, but can use as many until their limit for the rest?
-
View User Profile
-
Send Message
Posted May 19, 2013@erth64net
1. There's nothing to stop a play from placing stones too closely together, other than it would waste their protection so that would motivate them not to do that.
2. Players can't place a PS that would create a region that overlaps someone else's PS Region.
3. The markers are created in game, not using any tricks like creating them in the player's buffered view of the world. anything allowed in game could be taken by the owner of the region. So glass is used so the worst case scenario would be a player wasting a silk touch pick to gather glass. PS uses WorldGuard's Database and it's region protection for everything, so there isn't really any other alternatives that wouldn't be abused in game.
I could make it more robust, but the whole purpose of the way PS is made is to make it lite, portable, and a very small load on the server.
Currently when you use the view command it creates 12 cubes of glass, one at each of the 4 top and 4 bottom corners (which if you use sky to bed rock it would be at the top and bottom of the map, and 4 blocks at the players "foot" height.
-
View User Profile
-
Send Message
Posted May 17, 2013I love how this leverages WorldGuard regions! Although when setting the stones, a few usability issues are cropping up:
-
View User Profile
-
Send Message
Posted May 14, 2013@SickRider
The latest build works fine.
Here: http://dev.bukkit.org/server-mods/protectionstones/files/39-protection-stones-1-9/
-
View User Profile
-
Send Message
Posted May 12, 2013@xyrologix
Sorry, you can change the priority level of PS's but you would only be able to place the PS's in regions you own. So full override wouldn't work and can't be implemented. But if you change the priority level it would override the flags of the other region.
/ps priority [number]
This would change the priority level, and using it without a number shows the current priority setting.
-
View User Profile
-
Send Message
Posted May 12, 2013Hey Axeldios,
i have a suggestion for you!
first, sorry for my bad english :-(
i need to have protectionstones can override a region with priority lower than in the configuration from protectionstones is set.
So is it possible to implement?
Thank you very much!
Xyro