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 Mar 4, 2013@winduprabbit123
The PS's can be set to almost anything you want, and there is also a sky to bedrock setting which sets the Y Axis of all PS's to the full map height.
This is from the Configuration Page:
ProtectionStones (WorldGuard) Region Sizes
These are the default blocks that can be used, any block can be used and up to 16 block types, but admin beware what you select.
Blocks.COAL_ORE: Default is size 5 which creates a 11x11x11 region.
Blocks.LAPIS_ORE: Default is size 10 which creates a 21x21x21 region.
Blocks.DIAMOND_ORE: Default is size 20 which creates a 41x41x41 region.
The size number is the distance from the placement of the ProtectionStone (usually the center of the cube) to the outside edge.
Here is a list of all the valid Bukkit Names, many of these names are not blocks, but the blocks you may use.
Note: If you wish to use Redstone Ore use GLOWING_REDSTONE_ORE instead of REDSTONE_ORE, which is data item value 74 (not 73).
Additional Settings
Region.SKYBEDROCK: (overrides the Y-Axis of the created region) default is false, set to true and all regions will be created with a vertical area from sky down to bedrock. This does not effect the X-Axis or the Z-Axis Sizes.
-
View User Profile
-
Send Message
Posted Mar 3, 2013@godgodgodgo
The regions are WorldGuard Regions and can be removed with either WorldGuard's "/region remove {region name}" command or if the player has the protectionstones.superowner permission they can us "/ps reclaim" to remove the ProtectionStone and Region. And "/ps unhide" shows a hidden PS.
The reason for not doing logging is the fact that PS uses WorldGuard's Database for all information. This keeps PS faster, lighter, less intensive on the server. Also there is no need to back up PS, if you backup your WorldGuard Region Data, then all your PS Data is backed up too.
-
View User Profile
-
Send Message
Posted Mar 3, 2013@JPSn1pes
I don't see WorldGuard in your list of Plugins and as noted above...
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 Mar 3, 2013This is good but could you possibly add some sort of logging for the locations of the protection stones and checks to see if they still exist rather than with block break? This would be helpful for when regenerating an area or for if someone protects land that's not theirs and an admin uses "/ /replace diamondore air" for example. Currently when this is done the regions aren't removed.
-
View User Profile
-
Send Message
Posted Mar 2, 2013Please help!!!
I have CraftBukkit 1.4.7-R1.0, and protectionstones will not work!! I put the .jar file into the plugins folder, run the server (yes, until it says done and the buycraft thingy is done) and it doesnt create a folder, I cant protect reigons, and it says (when i do /pl) that it works (its name is green)!!! Please help!!!
List of plugins: alphachest, autoannouncer, biomeedit, buycraft, citizens, disguisecraft, essentials, factions, groupmanager, lockette, multiverse-core, multiverse-portals, pluginmetrics(idk what this is), stargate, survivalgames, update(idk what this is either), and worldedit
-
View User Profile
-
Send Message
Posted Mar 2, 2013Hello I am winduprabbit123 i love this plugin but how do u set the hight? of the stones? I am gonna use this plugin in my server. I really wanna know cause the hight is only like 11 and i want it to be max hight.
-
View User Profile
-
Send Message
Posted Feb 28, 2013@edge_to_madness
Here's how to do it from the Configuration Page:
Exclusion.WORLDS: This is a list of worlds (seperated by spaces) to exclude from creating ProtectionStone Regions.
Exclusion.PLACEMENT: This option set to "false" will block the placement of ProtectionStones in excluded worlds and give a message about ProtectionStones not being allowed. If you set it to "true" blocks in the ProtectionStones block list are allowed to be placed but don't create ProtectionStone Regions. Both settings only effect worlds that have been added to the Exclusion.WORLDS List.
-
View User Profile
-
Send Message
Posted Feb 28, 2013Is there a way to disable ProtectionStones in certain worlds? Please let me know.
-
View User Profile
-
Send Message
Posted Feb 26, 2013@capricorne888
Good, I'm glad to hear it's working now.
-
View User Profile
-
Send Message
Posted Feb 26, 2013@AxelDios
Thx. and sorry about all that.. its my error, i just forget to give myself: -protectionstones.group6..7..8..9 i did it for the other first one but i did forget to add the last one after group5.. sorry for all this. and thx for your fast answer. it work perfectly now! :)
-
View User Profile
-
Send Message
Posted Feb 25, 2013@Luckyy13
Sounds like the PS created a WorldGuard Region, you can use /ps reclaim to remove the Region or use the WorldGuard Region Command to remove it.
But I can't modify ProtectionStones to work with all other protection plugins.
-
View User Profile
-
Send Message
Posted Feb 25, 2013Hello.
Iam having a problem with this plugin and factions i use the plugin it works whit worldguard ofc only not whit factions.
The Problem: When i place a Diamond_ore in a faction terretorie its telling me that i canot place becouse its not my faction,Oke there is the problem the Dia_ore is still placed and it is protected but u dont see it becouse the faction protecting is removing the Dia_ore block becouce i canot place there,But still its a protected zone,So now i do /ps unhide and the Dia_ore is showing and peaple that owns the faction cant build anymore.
I hope someone can help me and that u understand what iam saying.
sry for the bad english
-
View User Profile
-
Send Message
Posted Feb 24, 2013@XeonG8
Not that it's difficult to add most things, the main issues is causing lag on a server.
Each time a region is created or removed I'm already saving the WorldGuard Region in it's database.
I'll think about the best way to add a timestamp, and also think about adding it in the future.
-
View User Profile
-
Send Message
Posted Feb 24, 2013@capricorne888
The only time I've heard of that problem, is that you are still in more than one group, and the first group you are getting assigned to doesn't have the permission to create either any PS Regions or more PS Regions.
This is from the Configuration Page:
4) Give your player permission in your permission plugin, only add them to one group. Here are the permissions all are defaulted to false:
protectionstones.group1, protectionstones.group2, protectionstones.group3, protectionstones.group4, protectionstones.group5, protectionstones.group6, protectionstones.group7, protectionstones.group8, protectionstones.group9
If you forget to set a player to a group in step #4 they will be set to zero ProtectionStones.
If you set a player to more than one group in step #4 they will be set to the first group that they have permissions for. So for best results always set your Group.Limit list in ascending order to protect against a player getting a higher block limit due to a multiple permissions mistake.
-
View User Profile
-
Send Message
Posted Feb 24, 2013@dropposite
Sounds like you didn't remove all the references, can you post the config.yml so I can take a look at it.
-
View User Profile
-
Send Message
Posted Feb 24, 2013@ViscousSummer88
"/ps admin reload" was removed because of changes to Bukkit's Configuration File loading which made the method I used unreliable, I see the command was left in the help response, I was planning on rewriting the code to allow it to work again, but ran out of time.
It will be re-added soon I hope.
-
View User Profile
-
Send Message
Posted Feb 24, 2013@AxelDios
Oh thanks! I just misunderstood, I thought that turned on the placement overall for the whole server, thanks!
-
View User Profile
-
Send Message
Posted Feb 24, 2013idk why, i did set the permission PER GROUP, it worked for everyone but me... im the owner and could not place any... even if i gave myself the perm: protectionstones.group5 or even the group4 i still get the msg ingame you cannot place protection stone... and i also have OP soo idk why i still cant... does any1 know how to fix this...? Cannot place them but i have acces to the /ps command...
-
View User Profile
-
Send Message
Posted Feb 23, 2013http://prntscr.com/ttz9m
You can do /ps admin reload, but it does not work.
-
View User Profile
-
Send Message
Posted Feb 22, 2013A timed event running?
can't you just put an timestamp at the time the sponge was created, so a %datetime% option in the config.. nothing else.. I cannot see what is hard about doing that.
that alone would be good enough as I'll just parse the regions file with php to make a list of regions that go out of certain date for staff to go check and see if they should be removed or not.