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 25, 2013@Soytutirita
Okay first off in the future please read the documentation, the pages here answer all the questions you are asking.
1) You can turn off silk touch, this is from the Configuration Page:
Region.NOSILKTOUCH: Blocks Silk Touch Pickaxe Drops, default is false. If set to true, breaking most blocks in your ProtectionStone block list should return the normal item that is dropped. If you have Region.NOSILKTOUCH set to true and have COAL_ORE as one of your blocks then breaking it with a Silk Touch Pickaxe should return the normal piece of coal. Remember that some blocks always return an ore block, like GOLD_ORE and IRON_ORE. Only effects blocks in your list.
2) You can only use (most) normal blocks, not items like mob heads, this is also from the Configuration Page:
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).
-
View User Profile
-
Send Message
Posted Jul 25, 2013Can this be setup to only work in a single world?
-
View User Profile
-
Send Message
Posted Jul 25, 2013Hello!
I have a problem with your plugin, I try to use it with skulls (and no diamond or coal or lapis, cos with enchant slik touch, all peope can get for free, and my server have jobs with $ and I sell that object for $ ingame)
So, which name I have to put to use the skulls? I've tried all these but doesn't work either:
- MOB_HEAD_2
- HEAD_ZOMBIE
- MOB_HEAD_ZOMBIE
- MOB_HEAD
- MOB_HEAD_0
- HEAD_SKELETON
- MOB_HEAD_SKELETON
- MOB_HEAD_4
- HEAD_CREEPER
- MOB_HEAD_CREEPER
- SKULL_ITEM_0
- SKULL_ITEM
- SKULL_ITEM_2
- SKULL_ITEM_4
- SKULL (run, but I need 3 diferent skulls)
- SKULL_0
- SKULL_2
- SKULL_4
Tell me how can I use it with creeper, zombie and skeleton heads.
Thanks!
-
View User Profile
-
Send Message
Posted Jul 24, 2013@NINJAxRECON
Open the config.yml file and remove the existing ProtectionStones in the "Blocks" Section and add this in:
Change the "5" to the size you want.
Please read the section called "ProtectionStones (WorldGuard) Region Sizes" on the Configuration Page for more information.
Don't forget to reload your plugins or restart your server for the changes to take effect.
P.S. This won't change any existing ProtectionStones Regions. So you would want to change them before making any changes, or the blocks will no longer respond as PS's but the WorldGuard Regions will still be there.
-
View User Profile
-
Send Message
Posted Jul 24, 2013@godgodgodgo
Are you standing inside a region you own?
-
View User Profile
-
Send Message
Posted Jul 24, 2013/ps view isn't working for me.
-
View User Profile
-
Send Message
Posted Jul 24, 2013please if anyone knows how to do this it would be great
-
View User Profile
-
Send Message
Posted Jul 24, 2013Hi is there a way to change it to where it is only a sponge block that can protect if so can someone send my the script in the config to do so?
-
View User Profile
-
Send Message
Posted Jul 24, 2013@mewetea119
GLOWING_REDSTONE_ORE (Different then the silk touched REDSTONE_ORE)
SPONGE
And BEDROCK (Which you already mentioned)
I know you are looking for four but those are the easiest to use.
As far as silk touch goes, you can turn it off for the ProtectionStones Blocks, see the Configuration Page for more information.
-
View User Profile
-
Send Message
Posted Jul 23, 2013can someone give me 4 blocks that i can use other than defualts that you cant find in the world and that cant be silktouched? diamond ore can be smelted and used.
i need 4 blocks that wont benefit players some how. all i can think of right now is bedrock.
I'm selling my protection stones. so i dont want people to be able to mine these for free.
-
View User Profile
-
Send Message
Posted Jul 23, 2013@dan_t3h_man
No sorry, If you read the WorldGuard Information about Priority Levels, and still don't get it would be to hard to try to explain another way.
The WorldGuard API that PS uses only gives one option, to check if you own all the overlapping regions.
So the next best thing to do would be either leave an area inside a town that isn't claimed to be used for PS placement.
Or to have the owner of the town place the PS and add the player to the owner or member list of the PS.
-
View User Profile
-
Send Message
Posted Jul 23, 2013@AxelDios
If I create a region and set the priority to -1 I still can't set any ps regions overlapping it. Could you explain a bit further how to go about this?
-
View User Profile
-
Send Message
Posted Jul 23, 2013@AxelDios
I understand what you mean however we use blocks that can be obtained naturally (we like it that way so they don't get blocks they shouldn't have) but we like to have protection very expensive (so it's not extremely easy) so we're forced to set a predefined cost for the different sizes. We love using pstones and block placements as it's the easiest system for memebers to understand. I've already decompiled the plugin and added it myself however I would prefer if it was implemented so I wouldn't have to do it every time you update.
-
View User Profile
-
Send Message
Posted Jul 22, 2013@PhanaticD
The permissions are set to defaults that the average server would use, or for people wanting a simple setup or no permissions plugin.
As far a figuring out how to change the defaults, all you had to do was read the permissions page.
-
View User Profile
-
Send Message
Posted Jul 22, 2013@Mayney365
No, the whole point of PS was acquiring the PS Blocks from an outside source, for paying for blocks you can use a sign shop or other plugin to allow players to buy blocks.
If you still want a way to buy protection then check out other plugins like my PropertyGuard Plugin that works with any Vault Supported Economy.
-
View User Profile
-
Send Message
Posted Jul 22, 2013@dan_t3h_man
There are methods for setting the priority level of any WorldGuard Region, this can get complicated, so read the information about Priority Levels on WorldGuard's Page, and you can use the /ps priority command for setting priority of a region.
-
View User Profile
-
Send Message
Posted Jul 22, 2013the way this plugin does permissions is extremely frustrating. people could do all sorts of things I didnt want them to, luckily I just figured out the bit about editting the plugin.yml
-
View User Profile
-
Send Message
Posted Jul 22, 2013@AxelDios
What I meant was making them pay a set fee when creating a PS region, ie $5000 using Vault (Different fee for each type of region).
-
View User Profile
-
Send Message
Posted Jul 21, 2013I was wondering if there was a way to let people place the stones to be able to overlap with other regions, possibly know if the region is a ps region or not, I want to have a town and allow other people to place stones inside of it.
-
View User Profile
-
Send Message
Posted Jul 18, 2013@Mayney365
If you mean change the owner of the ProtectionStone Region then do the following...
Stand in the region and first add the new owner:
/ps addowner [new_player_name]
Then remove your name:
/ps removeowner [your_player_name]
You won't have the ability to add the new player if you remove yourself first.
Both commands require the "protectionstones.owners" permission for ProtectionStones Owners Commands (default set to op). This includes the following three commands:"/ps addowner [player], /ps removeowner [player], /ps info owners.
Please read the Commands Page and Permissions Page for more information.