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 Jun 7, 2012@Eddy_3b1
It does sound like a permissions issue.
If you want post your permission settings I might be able to help you, or another PS user might already be using the same permission setup as you and they will see what you are doing and how to fix it.
Sounds like you are blocking Silk Touch Outside of PS, PS has it's own Silk Touch Blocking, see the Region.NOSILKTOUCH Option on the Configuration Page. If you have silk touch disabled in the PS Configuration, it should only block Silk Touch use on blocks in your PS Blocks List.
-
View User Profile
-
Send Message
Posted Jun 7, 2012Hey there, first of all, thanks for the great plugin!
Only a couple of problems really, could possibly be my own fault too.
I'm using a plugin called "GroupManager" which allows me to set permissions for certain groups. It uses a system of "Inheritance", from within groups in the plugin and the essentials default permission groups. Is this the reason why, when I try and set certain groups to have certain permissions, they do not work/don't allow anybody to place any protection stones?
Also, when I disable silk touch, enchantments such as fortune no longer work on the regular blocks when mined. Is there any way at all to avoid this without allowing silk touch to get free protection stones?
Thanks,
Eddy
-
View User Profile
-
Send Message
Posted Jun 6, 2012Check out some of my new plugins like PropertyGuard.
I'm relaxing at AuthentiCity (acmc.game.nfoservers.com) between plugin updates and creation.
-
View User Profile
-
Send Message
Posted Jun 6, 2012ProtectionStones 1.8b has been uploaded and is awaiting approval.
Changed Command:
"/ps info region" has been updated, and no longer directly calls the WorldGuard Region Info Command
New Command:
"/ps reclaim" which allows players to remove a ProtectionStone just like breaking it.
The player is still required to have the "protectionstones.destroy" permission and this command only works when you have the "Region.AUTOHIDE" Option set to true. If the "Region.NODROP" Option is set to true, the player only removes the WorldGuard Region, they don't get back their ProtectionStone.
-
View User Profile
-
Send Message
Posted Jun 4, 2012@zimko95
No, sorry I have no solution for allowing ProtectionStones to be placed if you are globally blocking players from building. ProtectionStones relies on WorldGuard for protection and to know where players are allowed to build.
-
View User Profile
-
Send Message
Posted Jun 3, 2012@tschagg
I knew this sounded like a familiar request, some where along the way (I'm trying to find it in the change logs but can't) I was asked to make the stones have the option of covering sizes above 50 (50 = 101x101x101). Well I made the changes already and forgot to change the configuration page. I looked at the code and any hard limit has been removed, so in theory you could go quite large. I just tested it with size 120 (120 = 241x241x241).
So the current version already works for sizes larger than 50.
As a reminder:
The size number is the distance from the placement of the ProtectionStone (usually the center of the cube) to the outside edge.
There are a few changes in Bukkit 1.2.5 R3.0 that will now cause errors with some of the PS Commands, so I'm working on those changes now, and a few updates. for the release of 1.8b.
-
View User Profile
-
Send Message
Posted Jun 3, 2012@zimko95
think i got that tyaw :)
-
View User Profile
-
Send Message
Posted Jun 3, 2012@Csanko
add in yml file name of world (separed by space) then you want disable protection stone
Exclusion: WORLDS: world newspawn mapvisiteur mapressourcevisiteur world_nether world_the_end
-
View User Profile
-
Send Message
Posted Jun 3, 2012Hi! How do i turn protection stones off in a certain world (City World)
C-Gaming 188.165.202.133:25625
-
View User Profile
-
Send Message
Posted Jun 3, 2012@AxelDios
set the maximum to 100 is a very good idea :-)
-
View User Profile
-
Send Message
Posted Jun 3, 2012Axeldios : I search that people can only construct inside a ps region. but the problem is if i use the global flag build deny player can't place ps block Ave you a solution for me ? It's possible ? A god solution is your plugin overide the global flag with permisson or option Thank's for you answer Axeldios
-
View User Profile
-
Send Message
Posted Jun 2, 2012@tschagg
The limit I set was for the size of the cube, and was set to 50 for speed reasons for some of the commands, at 50 you get a 101x101x101 area (unless you set the sky to bedrock option which would be 101x101x255) which is a big area.
I'll think about making the size larger for the next update, possibly a size of 100, which would give you 201x201x201.
The size number is the distance from the placement of the ProtectionStone (usually the center of the cube) to the outside edge.
-
View User Profile
-
Send Message
Posted Jun 2, 2012hi
i really love this plugin! :D question: can i add a stone that protecting a 200x200 area? or is the maximum still 50?
-
View User Profile
-
Send Message
Posted May 29, 2012PS 1.8b Should be released late next week.
It will include some new commands to give even more options to protect against piston exploits.
Also included will be a list of regions when an overlap is detected, instead of just the message about a region overlap.
And it will be compiled with the new Bukkit 1.2.5 - R3.0
-
View User Profile
-
Send Message
Posted May 29, 2012@treestompz
Not without some information.
Run "/ps admin version" and tell me the version information it returns to start off with.
-
View User Profile
-
Send Message
Posted May 29, 2012Any idea what is up with this? q.q
http://pastebin.com/wATgSyCv
-
View User Profile
-
Send Message
Posted May 28, 2012@Armani76
You can allow your admins to unhide PS's and if people need to change them they could unhide them for your players.
I would have to add a lot of overhead or completely rewrite PS to do it's own protection separate from WorldGuard to protect against this exploit.
Nothing is fool proof. There are some third-party plugins that protect WG from piston attacks, and maybe WG will add the ability to block those attacks in the future.
-
View User Profile
-
Send Message
Posted May 28, 2012Thanks a lot, but people cant change areas later (( becouse can recover their blocks
-
View User Profile
-
Send Message
Posted May 27, 2012@Armani76
WorldGuard doesn't protect from that attack so there is only one thing you can do to protect against those exploits, and that is to hide the ProtectionStones.
In the config.yml set the auto.hide to true.
This is from the configuration page:
Region.AUTOHIDE: Automatically hides ProtectionStones after placement, defaults to false.
To keep players from unhiding stones you would also need to block the "/ps unhide" command for regular players by changing the following permission to false:
protectionstones.unhide
-
View User Profile
-
Send Message
Posted May 27, 2012Hi, thanks for your wonderful plugin. We found 1 bag - if you didn't hide block, another people can use piston and can multiply your block, or do same action with their block, which is cloning.
How to defend block from piston ? Or how to make impossible movement by piston ? Or how to decrease number of piston blocks length ?