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 Apr 22, 2013@AxelDios
That makes a lot of sense, should have used my brain! Thanks for the suggestion, and the fast response. I'll definitely do that.
-
View User Profile
-
Send Message
Posted Apr 22, 2013@Blazstyn
There's isn't a way around it, PS uses the WG API, so it calls WG and checks if the region you are placing in is either a region you own or not owned. There is no other built in check.
The way we block people on many of the servers that I am on are to create walls instead of cube shaped regions.
So instead of making a region like this:
OOOOO
OOOOO
OOOOO
OOOOO
We make four walls (regions one block thick):
OOOOO
O====O
O====O
O====O
OOOOO
(The "=" signs aren't in a region, "O" are in a region.)
Then assign the player to have access through those walls by groups/ranks in WG.
-
View User Profile
-
Send Message
Posted Apr 22, 2013Hey Axel,
Any way to work around the WorldGuard region limitations? I use WorldGuard regions to stop free-users exploring too far into the overworld, and PS won't activate an area that is inside one of these regions. Is there a command or config workaround? I didn't see anything in the samples config.
Example: Spawn is at 0,0. There's a WG region with a radius of 1000 blocks that is the 'freeplay' area, and then on top of that there is another one for 'explorers' with a radius of 3,500 blocks. Any PS blocks placed within these WG regions will not activate, as they are being placed over-top of the WG regions.
-
View User Profile
-
Send Message
Posted Apr 22, 2013@gibbogibson
On the Configuration Page is a link to the Bukkit API's List of Material and Item names, I see Quartz Block Isn't listed so I tested the settings below.
In your config.yml your Blocks Section should look like this:
Blocks:
- SPONGE 5
- QUARTZ_BLOCK 10
- ENDER_STONE 20
- BEDROCK 40
-
View User Profile
-
Send Message
Posted Apr 22, 2013@javitomo
If you are asking about Silk Touch, you can block it if you want, please read the Configuration Page.
-
View User Profile
-
Send Message
Posted Apr 22, 2013Sweet plugin :) Love the config settings, was easy to get it they way I needed it for a skygrid server. thanks!
-
View User Profile
-
Send Message
Posted Apr 22, 2013sponge 11x11x11 block of quartz 21x21x21 end stone 41x41x41 bedrock 81x81x81
-
View User Profile
-
Send Message
Posted Apr 22, 2013if I get an ore coal itching to touch is silk, this will protect well?
thanks
-
View User Profile
-
Send Message
Posted Apr 21, 2013@gibbogibson
What blocks and sizes do you want to set?
-
View User Profile
-
Send Message
Posted Apr 21, 2013@John__B
No, there is no way to protect one block, the minimum setting at one time was a size of 1, which makes a 3x3x3 region, because the boundaries are set to 1 block in all directions around the PS.
I removed true size restrictions, but you are still restricted by WorldGuard, and WG by default can have the max blocks in a region set also which further restrict your maximum size.
The smallest supported size is technically size 5.
Besides, if you protect a rail and not protect two blocks above it too, then greifers will simply place blocks above your rail making it impassible.
-
View User Profile
-
Send Message
Posted Apr 20, 2013Hi, would you be able to assist me in changing the blocks in the config file? i have tried but it either stops the other blocks from working or just doesn't work at all.
-
View User Profile
-
Send Message
Posted Apr 19, 2013possible to use this to protect 1 square area? ie: 1 block, just the placed block?
thought that would be interesting to use for rail's :)
dosent seem to work with 0 or 1. 1 is 1 outside the block and 0 dose nothing.
-
View User Profile
-
Send Message
Posted Apr 19, 2013@AxelDios that would be great if there was a way to add more in, we have alot of worlds and ranks, and im using different ores for different worlds, so i needed more limits. thanks
-
View User Profile
-
Send Message
Posted Apr 16, 2013@SupremeCraftme
What do you mean loose the greeting and farewell?
Are they being set at first?
Please send me a copy of your config.yml file so I can check it for any problems.
-
View User Profile
-
Send Message
Posted Apr 16, 2013@gibbogibson
If you read the Command Page it tells you to clear those flags just stand in your region and do the following two commands:
/ps flag greeting
/ps flag farewell
That will clear them both.
If you want none of the future regions to have either flag set remove the following lines from the config.yml file (which is listed on the Configuration Page):
- greeting Entering %player%'s protected area
- farewell Leaving %player%'s protected area
Both of those lines are in the "Flags:" Section of the config.yml file.
-
View User Profile
-
Send Message
Posted Apr 16, 2013Hello, all my regions loose the greeting and farewell, we didn't change the config, it just happen, how can this be fixed? When I check in the worldguard regions yml I see no flags.
Thanks in advance.
-
View User Profile
-
Send Message
Posted Apr 16, 2013Hi, i got the mod all set up but the notifications are really annoying me when i enter and leave the protected area, is there any way of removing them?
-
View User Profile
-
Send Message
Posted Apr 14, 2013@dropposite
If you read the Configuration Page there are only nine groups, so Limit9 is the end of the limits, I will think about adding more, but this could cause server lag, for it increases the number of groups that need to be checked.
-
View User Profile
-
Send Message
Posted Apr 14, 2013@ManBeastPigDev
No matter how you place them if you place two PS's they create two separate WorldGuard Regions, they won't merge, or combine in any way, and if you own the first one you can overlap that one with other PS's so you would want to go outside the PS Region to create another region. Please read the Command Page, for commands like the /ps view which shows you your region.
-
View User Profile
-
Send Message
Posted Apr 14, 2013@AeroEden
No there isn't a means to use non-vanilla blocks, please read the Configuration Page.
I use a Bukkit API call to retrieve the block and it only supports vanilla blocks.