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 Feb 10, 2013http://pastie.org/6112189
HALP
C:
EDIT: It spits out those errors when it does find players fields to delete + regen.
-
View User Profile
-
Send Message
Posted Feb 10, 2013I can not get the protection stone limits to work properly on my server. The way I have it set up, is theres the standard ranks people can get, and donor ranks. However if I add one of the normal ranks to someone who has a donor rank, I want them to be able to keep the donor ranks protection stone limit. This does not work the way it is set up. It would be a lot simpler if you made it so if a player has multiple protection stone groups, he gets the group of the highest or lowest number (either would work). That would greatly help my server.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@dropposite The roll back removed the PS's because they are just blocks, but didn't affect the WorldGuard Regions, and that is where the PS information is stored.
I wouldn't remove anything manually from WorldGuard, you can do numerous things to remove the WorldGuard Regions, either directly with WG's "/region" command. Or if you need bulk removal of regions, PS has several ways to do this, one is to remove all regions of a player via player name like this: "/ps region remove [player]"
Be warned this is dangerous, as I noted on the Commands Page:
All region commands affect all WorldGuard Regions for the selected player, not just ProtectionStones Created WorldGuard Regions.
Warning /ps region remove and /ps region regen commands remove the WorldGuard Regions even if other owners own the regions, use with care and always backup your servers.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@dropposite
There isn't an option to stop overlap checking or to control it per player. The original version of PS didn't check for overlaps, but now it does, it makes no sense to allow some people to overlap other's protection. The PS should be returned when you get the message about not being allowed to place it. But the way Bukkit handles player inventory, the block might not show right away.
You can control regular WorldGuard and PS Created WorldGuard Regions that are already overlapped using priority levels, but that's the limit of support.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@pcatack
Please run the "/ps admin version" command and post the information here.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@minermaniac261
Yes, that is correct.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@dropposite
Remove the worldguard area manually from the cfg file.
/worldguard/worlds/worldname/config.yml
-
View User Profile
-
Send Message
Posted Feb 7, 2013Not sure whos issue this is, so I will post this to each author.
I use CoreProtect, Worldguard, and ProtectionStones together.
Yesterday I had an issue with a VIP player who had unlimited ProtectionStones spam them all over the place. I used CoreProtect to 'rollback' the blocks placed by the player, which worked fine, but ProtectionStones didnt recognize that the block was removed and now I have 50 tiny invisible protected zones all over my map.
If I manually break the ProtectionStone, it removed the protection, but doing a CoreProtect rollback doesnt register the 'break' of the Stone.
-
View User Profile
-
Send Message
Posted Feb 5, 2013We love this plugin,
but when someone places a protection stone down too close to someone elses existing Worldguard zone, it gives us an error that it is overlapping, and then it takes away the players stone. i cant find a config option to let the player keep the stone if an overlap is found. Am I doing something wrong ?
-
View User Profile
-
Send Message
Posted Feb 5, 2013Hello axelDios, maybe you can help me. I have a problem that break my server:
2013-02-05 23:40:37 [WARNING] [Server] The main thread failed to respond after 10 seconds 2013-02-05 23:40:37 [WARNING] [Server] Probable Plugin cause: 'ProtectionStones' 2013-02-05 23:40:37 [WARNING] [Server] What follows is the stack trace of the main thread 2013-02-05 23:40:37 [WARNING] [Server] at java.net.SocketInputStream.socketRead0(Native Method) 2013-02-05 23:40:37 [INFO] <Minero [MASTER] andoitz> hola kikotu 2013-02-05 23:40:37 [WARNING] [Server] at java.net.SocketInputStream.read(SocketInputStream.java:150) 2013-02-05 23:40:37 [INFO] <M C C [MASTER] Kikotu> HOLA
-
View User Profile
-
Send Message
Posted Feb 5, 2013so if we want to add another protection stone we would just add It after the rest like this
Blocks:- COAL_ORE 2- LAPIS_ORE 10- DIAMOND_ORE 20- EMERALD_ORE 100Flags:
-
View User Profile
-
Send Message
Posted Feb 4, 2013@ziryuk
Sorry, but it will never be independent from WorldGuard all the protection and data is provided and maintained by WorldGuard.
-
View User Profile
-
Send Message
Posted Feb 4, 2013Can you please make this interdependent from WorldGuard at some point. I like this plugin but I don't want to add any additional plugins.
-
View User Profile
-
Send Message
Posted Feb 3, 2013@minimi9999
Yes, please read the Configuration Page.
The section you want is called "ProtectionStones (WorldGuard) Region Sizes"
-
View User Profile
-
Send Message
Posted Feb 3, 2013@minermaniac261
Yes, please read the Configuration Page.
The section you want is called "ProtectionStones (WorldGuard) Region Sizes"
-
View User Profile
-
Send Message
Posted Feb 3, 2013is there a way to change the blocks Eg: diamond ore to glowstone??
-
View User Profile
-
Send Message
Posted Feb 1, 2013is it possible to have more than three stones like emarld ore and the default three
-
View User Profile
-
Send Message
Posted Jan 28, 2013@JBDiggy
There was a warning in the past , that no one read, so I dropped it. The problem is that Bukkit Doesn't pass the block break event the same was, so It causes problems.
There was also a warning about a certain exploit which is an exploit against WorldGuard Regions, that is easily avoided by autohiding PS's and blocking players from the /ps unhide command.
As far as fixing, it is simple...
To remove a region:
Use the "/ps reclaim" command to get the PS back and remove the region, or use WorldGuard's /region command to remove the PS Region.
To make a region again:
If the region still exists, the region owner, or a person with the protectionstones.superowner permission can use the "/ps unhide" command to show the block, if the region was removed you would need to recreate it, the easiest way would be to place a new PS, the alertnative would be to create a region of the same dimensions and location with WorldGuard's /region command, if you name it using the PS naming conventions and the dimension are correct then simply doing a /ps unhide would then show the PS again.
-
View User Profile
-
Send Message
Posted Jan 28, 2013Great plugin that just works, with one caveat...
...blocks broken in creative mode don't always remove the protected region fully (only an op can place or break blocks in that region after destroying the block), an admin did this on my server and now I can't seem to fix it, even replacing the world files with a backup from before it happened doesn't work. Is their any way of removing the region manually to fix this?
You should probably put some kind of warning about breaking the stones in creative mode.
-
View User Profile
-
Send Message
Posted Jan 24, 2013Hallelujah!!! Thank you!