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 23, 2014@AxelDios
I've PM'd my global groups.yml file. No other groups can use Coal or Lapis. Moderator can place Emerald. Members cannot place emerald, but it appears that its because they don't the permissions from PStones. So the problem seems to be coal and Lapis.
thanks
-
View User Profile
-
Send Message
Posted Apr 22, 2014@n2mining
Can all the other groups use all three block types with no problems?
Please PM me the whole globalgroups.yml file.
As an unrelated note, your SaveTimer is set to an invalid number "-20", if you want it to save every 20 minutes remove the minus sign.
-
View User Profile
-
Send Message
Posted Apr 22, 2014I have installed ProtectionStones on a Spigot Server running 1.7.2. I installed the latest version of PS. I adjusted the config file to this, changing Diamond to Emerald:
Blocks:
- COAL_ORE 10
- LAPIS_ORE 20
- EMERALD_BLOCK 40
Flags:
- use deny
- greeting Entering %player%'s protected area
- farewell Leaving %player%'s protected area
Region:
SKYBEDROCK: true
AUTOHIDE: false
NODROP: false
NOSILKTOUCH: false
BLOCKPISTONS: false
LIMIT: -2
SaveTimer: -20
Group:
LIMIT1: 0
LIMIT2: 1
LIMIT3: 3
LIMIT4: 7
LIMIT5: -1
LIMIT6: 0
LIMIT7: 0
LIMIT8: 0
LIMIT9: 0
BLOCKS1: COAL_ORE LAPIS_ORE EMERALD_BLOCK
BLOCKS2: COAL_ORE LAPIS_ORE EMERALD_BLOCK
BLOCKS3: COAL_ORE LAPIS_ORE EMERALD_BLOCK
BLOCKS4: COAL_ORE LAPIS_ORE EMERALD_BLOCK
BLOCKS5: COAL_ORE LAPIS_ORE EMERALD_BLOCK
BLOCKS6: COAL_ORE LAPIS_ORE EMERALD_BLOCK
BLOCKS7: COAL_ORE LAPIS_ORE EMERALD_BLOCK
BLOCKS8: COAL_ORE LAPIS_ORE EMERALD_BLOCK
BLOCKS9: COAL_ORE LAPIS_ORE EMERALD_BLOCK
Exclusion:
WORLDS: ''
PLACEMENT: false
Priority: 0
I use GroupManager and put permissions for my four levels of members, Default, Member, Moderator, and Admin, into the globalgroups.yml file.
Default got: protectionstones.group1
Member got protectionstones.group3
Moderator got protectionstones.group4
Admin got protectionstones.group5
As Admin I can set only Emerald Blocks, and I can set as many as I want. I cannot set Coal or Lapis. What am I missing?
Thx
-
View User Profile
-
Send Message
Posted Apr 20, 2014@owner_king
Some servers list the PS sized incorrectly, and some people go to servers running PreciousStones and then tell me something doesn't work the same.
ProtectionStones will always end up with an odd size.
Without sky to bedrock being used your size will always be a cube (all sides the same size). And if sky to bedrock is used then you will have the x and z the same size and the y will be 255 (full map height).
How the size is figured is the size around the placement of the PS.
So size 5 = 11x11x11 (or 11x255x11 for sky to bedrock).
P = ProtectionStone, X = Protected Area
This would be a top view (also the side view if you weren't using sky to bedrock).
-
View User Profile
-
Send Message
Posted Apr 20, 2014@saif2g
Most likely the skybedrock.
-
View User Profile
-
Send Message
Posted Apr 19, 2014@owner_king
so basically what you're saying is, if I set it to 1, that means 1 block every direction around the protection block?
Also, there are servers who have weird sizes, like SMP, their diamond block is something along the lines of 100x400x100, or is that the skybedrock option?
-
View User Profile
-
Send Message
Posted Apr 18, 2014@saif2g After you do the block Coal Ore (or what ever you choose) the sizes are based on each side so if you would do 20 it would be 41. On all sides of the sponge block it would be 20 making the region 41x41x41.
-
View User Profile
-
Send Message
Posted Apr 18, 2014How do I modify the protection size? I want to set it like x*y*z and not 5 or 10 or 20 and I did not understand said sizes.
-
View User Profile
-
Send Message
Posted Apr 17, 2014@TheCoolGuy123_5_Minecraft_
You set the default region flags in the "Flags" Section of the config,yml.
Change them then /reload or restart your server for them to take effect.
-
View User Profile
-
Send Message
Posted Apr 17, 2014Any way to set the default protectionstone flags
-
View User Profile
-
Send Message
Posted Apr 15, 2014@VirtualRunner
There are commands you can run to clear old regions based on logon dates, or player names, but no automated means to make them expire. This would require a database and a running timer, which I don't want to add because it would slow down the server to include it directly in PS.
Take a look at the Command Pages for player removal commands like these:
To remove all the player's regions: /ps region remove [player]
To remove and regenerate all the player's regions: /ps region regen [player]
To remove a player from the owners list of all regions: /ps region disown [player]
And region removal by date related commands like these:
To remove all regions for players with a last logon equal or greater than "days": /ps admin cleanup remove [days]
To remove and regenerate all regions for players with a last logon equal or greater than "days": /ps admin cleanup regen [days]
To remove player names from all region owner lists for players with a last logon equal or greater than "days": /ps admin cleanup disown [days]
-
View User Profile
-
Send Message
Posted Apr 15, 2014Hi there!
Is there any way to make the stones expire after a period of time to avoid players who have left the server leaving protected areas everywhere?
I think this is a fantastic plugin and this is the only thing I need to resolve.
-
View User Profile
-
Send Message
Posted Apr 15, 2014@Victhetiger
ProtectionStones uses WorldGuard for all it's protection, you should have no problems as long as you can get WG to work correctly with Multiverse.
-
View User Profile
-
Send Message
Posted Apr 14, 2014Hi Axel,
I want to know if there Multiverse Support?
Thanks.
-
View User Profile
-
Send Message
Posted Apr 14, 2014@GlowrockzHD
If you mean admins breaking other peoples PS or changing there region flags, etc they would need the "protectionstones.superowner" permission to start with.
-
View User Profile
-
Send Message
Posted Apr 14, 2014@stealthyfoo
No regions are protected by WorldGuard, so exploits like someone else breaking your PS won't remove the region.
There was a time that people requested an option for explosives, etc for PVP servers to allow other players to break PS's, but this was removed because of different servers not reporting the explosion in the same way due to timing issues.
-
View User Profile
-
Send Message
Posted Apr 14, 2014@Solistika
No sorry, PS doesn't have it's own database and would need one track that information, it uses WorldGuard's Region DB, for maximum speed and portability.
-
View User Profile
-
Send Message
Posted Apr 11, 2014We are trying to break others prot stones
-
View User Profile
-
Send Message
Posted Apr 11, 2014Hi, I was just wondering if you can help me figure out a bug/feature.
If I bring a creeper towards a protection block and it explodes breaking the protection stone with it. Why is the area that it used to protect still protected?
Is this intended?
-
View User Profile
-
Send Message
Posted Apr 11, 2014My server uses a combination of your plugin, and Plots. Our Plots use custom world guard regions for them to build in that are not in the wild. When a player has permission to place 2 stones, and they also own a plot, it counts that plot region, as a pstone region.
Would it be possible for you to make the restriction of how many pstones can be placed, to be based off the name of the region and not just... a region?