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 Sep 1, 2013Using Server 1.6.2 Beta, Client 1.6.2
After placing a stone, anyone can break blocks in the area. The protection doesnt seem to work
Suggestion: If you place a block, you can set an option to be able to break your own protected blocks or not (in order to mimic being a player who isnt yourself)
-
View User Profile
-
Send Message
Posted Sep 1, 2013I turned on Region.NOSILKTOUCH and now none of the blocks, diamond, coal, or lapis, seem to drop EXP is there a way to fix that?
-
View User Profile
-
Send Message
Posted Aug 29, 2013@OrionEvermore
Strange since PS calls WorldGuard Directly from it's API.
Post the version of WorldGuard and WorldEdit, it's possible that the WorldGuard API in the version you are running is having problems with PS because of a change to the API itself.
PS tells WG to save the region DB each time a change is made (since I found busy servers over a year ago that WorldGuard wouldn't save the changes). So it's also possible that at the same time PS is telling WG to save to disk your server is busy with other tasks and that causes the problem.
-
View User Profile
-
Send Message
Posted Aug 29, 2013I have WG regions created directly with no problem, it is isolated to those created with PS.
WG - 5.8 PS - 1.9b
20:51:23 [INFO] This server is running CraftBukkit version git-Bukkit-1.6.2-R0.1-b2838jnks (MC: 1.6.2) (Implementing API version 1.6.2-R0.1)
Started with only essential plugins, same issue with PS regions.
-
View User Profile
-
Send Message
Posted Aug 28, 2013@OrionEvermore
Please post all your settings here too, to see if anyone has your exact setup.
Also, try creating a WorldGuard Region directly using WG and see if it stays after a reboot.
And in the past I've seen many server issues with writes to disk especially large WorldGuard Files related to servers with too many plugins running.
Bukkit even had a time when running a large number, I don't remember the number but it was like 22 plugins, if you ran under or over you didn't have many issues but that number seemed to be a problem, so as a test, try running a copy of your server with just the essential plugins (WorldEdit, WorldGuard, ProtectionStones, your permissions plugin) and see if you can duplicate the problem.
One server I'm an admin on had 1807 regions in the Overworld, that were almost all PS Created, and this server was a small one with limited memory, and we got map corruption long before any WG Save Problems.
-
View User Profile
-
Send Message
Posted Aug 28, 2013Whenever my server restarts, the protected regions are removed. As AxelDios noted in my ticket, it appears the information is not be saved to Worldguard.
If anyone is not having this problem, please let me know the version of PS, Worldguard, and CB you are using so i can try to get this working, It's a serious problem that anyone who logs into my server after a restart can grief what was protected regions if the owner hasn't logged in yet to reset their Stones.
Thx in advance.
-
View User Profile
-
Send Message
Posted Aug 27, 2013@AxelDios
Okay. I'll be using diamond blocks then. :)
-
View User Profile
-
Send Message
Posted Aug 25, 2013@Tomaure
That won't work, PS only knows Material Names, as stated on the Configuration Page, it has no way to know the ":3" sub data you are using to tell it which smooth brick other than the first smooth brick type.
This will take a total rewrite at this time and sub-data types and custom bricks are being worked on for PS 2.0, but won't be seen in the near future.
-
View User Profile
-
Send Message
Posted Aug 25, 2013@oceancraftserver
Yes, read the Configuration Page for more information on changing blocks.
-
View User Profile
-
Send Message
Posted Aug 25, 2013Hello. I have been using this plugin before, and I changed the protection block to sponge. Now, I don't want to change it to sponge. I wanted to change it to Circle Stone, so I did. Although, it didn't work. Here's my config: http://pastie.org/8268404
It would be nice for a fix asap, since I really need to release my server now.
-
View User Profile
-
Send Message
Posted Aug 23, 2013Is there a way to change the block? For instance my server has a shop and we sell diamond ore. We want the ores to be cheaper so that players can protect their land. But we don't want players to buy cheap diamonds and not use them for land claiming and instead make armor or something. I would be intrested in using this for my server if you can change the block.
-
View User Profile
-
Send Message
Posted Aug 21, 2013@THEREALbabyeater
Read the following sections on the Permissions Page:
Flag Setting Permissions (list of the flags supported by PS)
Default Permissions (how to change the plugin.yml file in the ProtectionStones.jar file)
As a note some permissions plugins allow you to override the default permissions, usually with a minus sign or an overall override of all default permissions (which can be a mess), which would allow you to just do it via permissions instead.
-
View User Profile
-
Send Message
Posted Aug 21, 2013@Mixon87
Since you are posting the same question both in the ticket system and here you have been answered in the ticket system which is soon to be going away as that is one of the reasons it has become useless.
You must corrupted the config.yml file, read the information in the ticket system about posting it there.
-
View User Profile
-
Send Message
Posted Aug 21, 2013Also, Nosilktouch True is not working for me, everytime block appears in my inventory as Ore one.
-
View User Profile
-
Send Message
Posted Aug 21, 2013@Mixon87
I posted a reply on your Ticket with an example of my setup with Pex that works.
-
View User Profile
-
Send Message
Posted Aug 21, 2013Could you tell me if I am doing correct or wrong (groups): I set LIMIT: -2 so I can use groups, now if I want group1 to have limit = 2 blocks I have to write: Group: LIMIT1: 2 and add permission - protectionstones.group1 to a rank in permissionsEx that will use only 2 protection blocks.
If this is correct, then something wrong with pluggin, because it's not working. If this is not correct, then I am dumb in my 26 yo and I just figured it out. Please help. thx.
p.s. it's written that I can't place any protection blocks in chat. (red error)
-
View User Profile
-
Send Message
Posted Aug 21, 2013@AxelDios
Hey again Axel! :)
How would I just take away every flag for an individual? They figured out how to turn PvP on in an area to fight eachother. I've got to disable all the player flags somehow. I guess I am looking for the easiest way to disable everything the protection stone can do, and only make it protect an area, not allowing pvp to an area by choice, we are a non-pvp server.
Thanks in advance! :)
-
View User Profile
-
Send Message
Posted Aug 20, 2013@AxelDios
oh, see I didn't even see that while running through the config, I will give it a try thanks! 1 lees plugin to deal with!
-
View User Profile
-
Send Message
Posted Aug 19, 2013Okay, I'm dumping the ticket system, since 99% of the tickets are for things like enhancements that already exist and wrong configuration because people won't read the documentation here.
So instead of updating plugins, and making new ones, I'm answering the same questions over and over again.
As a note, every time someone has had a problem with using group limits it's fallen into two problems.
1) The config.yml has not been set correctly.
- O R -
2) The permissions file for whatever permission plugin being used is incorrect.
At this moment I have five different people all saying that GroupManager has problems with the group limits, and I've found that they are all inheriting permissions from other groups to a new group, well, this is also adding the players to two different PS Groups, which PS will set the player to no group for security reasons.
-
View User Profile
-
Send Message
Posted Aug 19, 2013@Raynee75
No block commands at this time, but you can block unwanted commands with most command plugins like Essentials and CommandBook (since those are the places most of those commands tend to come from).
Players have no need to use the naming, all the PS commands for players have the player stand in their region and use the command, with no region name. Please read the Command Page, and the other pages.
The naming can't be changed since PS doesn't have it's own database and the naming and the WorldGuard Region Database is all that keeps track of the PS's.