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 1, 2012@funk1983
Don't effray AxelDios Xd
the next release of bukkit 1.2 Rx already in the box ......
Edit i ave test a snapshot release of bukkit 1.2 :
result, worldguard not 100% compatible, i ave try with 5.6 snapshot and worldedit 5.3 snapshot and it's work correctly (I don't ave make test with region overide 128 block and new map 256)
But your 1.7 version don't work with this version of worldguard.
2012-03-02 02:38:43 [SEVERE] Could not load 'plugins\ProtectionStones(10).jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException java.lang.NoClassDefFoundError com/sk89q/worldguard/protection/databases/ProtectionDatabaseException
I hope that this information help you.
-
View User Profile
-
Send Message
Posted Mar 1, 2012RB is now 1.1-R6 xD
-
View User Profile
-
Send Message
Posted Mar 1, 2012ProtectionStones 1.7 is being uploaded as I type.
Okay folks, I was going to wait for CB 1.1-R5, but there are numerous fixes and changes in this release, the removal of explosion detection, and three new commands.
Please read the file release notes for more information.
-
View User Profile
-
Send Message
Posted Feb 28, 2012@AxelDios
Actually after checking it does say "false", I thought I had put off like in your documentation but obviously not, I will fix this during the next maintenance and report any changes. Thanks for the great support..
-
View User Profile
-
Send Message
Posted Feb 28, 2012@funk1983
Whether explosion detection is on or off there is still an event being run, and I'm seeing to many interaction problems with other plugins and with permissions. Some of this could be due to the new Bukkit Event System. So for now the Explosion Detection Option has been stripped from the next release (1.7).
And as an added note the valid options for the Explosion.DETECTION Config Entry are as follows:
"off", "remove", "protect"
Not "false" in case you meant you literally set it to "false".
-
View User Profile
-
Send Message
Posted Feb 28, 2012Finally found the problems with the overlapping regions, and I'm testing the fixed version now.
Hopefully ProtectionStones 1.7 will be released this week or the beginning of next week.
-
View User Profile
-
Send Message
Posted Feb 26, 2012@psirusa
In theory you can have any block type and as many as you want, and you can change the default three blocks too.
The reality is 16 different blocks of your choice, but of course no one would use blocks like dirt, etc.
The only thing you must do is keep the block sizes different.
This is how ProtectionStones tells what kind of block was placed for different operations, by the size in the config.yml.
At the time ProtectionStones created using Silk Touch Pickaxes wasn't a problem, if you want to avoid blocks that can be received in this way you can still pick some blocks which are still normally not accessible in the game, i.e. sponge ( I wouldn't use ice unless you don't mind it melting in warm areas).
ProtectionStones 1.7 will contain the new Global.NOSILKTOUCH Configuration Option which will allow you to block blocks (if they are in your list of ProtectionStones) from being gathered via means like Silk Touch. This will not effect anything that isn't in you ProtectionStones Block List.
-
View User Profile
-
Send Message
Posted Feb 26, 2012@Stealth_kid09
At this time I'm not happy with my options for releasing code. If I still owned any of my websites I would post it there.
I'm still working on a release means for the code and will update everyone on the site as soon as it is released.
-
View User Profile
-
Send Message
Posted Feb 26, 2012@funk1983
I did read some where on the WorldGuard Page that they also changed some of the way WorldGuard works to protect against different exploits like explosions and pistons.
And they finally changed to the new Bukkit Event System so maybe there is some conflict with ProtectionStones Detection.
I'll look into the errors ASAP.
-
View User Profile
-
Send Message
Posted Feb 26, 2012Could you release the source code please, it would be much appreciated.
-
View User Profile
-
Send Message
Posted Feb 25, 2012@AxelDios
Tuned explosion detection to false, and still getting a lot of errors popping up on the console, no noticeable effects in game tho.
-
View User Profile
-
Send Message
Posted Feb 24, 2012I have try it but it's not good the problem was still here... Thank you anyway :) Good night
-
View User Profile
-
Send Message
Posted Feb 24, 2012@jul23peru
For the admin if you want them to have unlimited protection set them up only to -protectionstones.group5
Check this link see if it help you understand how the group permission has to be setup
http://pastebin.com/AKrTZU12
-
View User Profile
-
Send Message
Posted Feb 24, 2012Help me I try to make group permission but always the same message "you cannot place any protaections stones" appear. This is my permission configuration:
Admins: defaut: false info: prefix: '&4' suffix: '' build: true inheritance: permissions: - protectionstones.group1 - protectionstones.group2 - protectionstones.group3 - protectionstones.group4 - -protectionstones.group5 - '*'
-
View User Profile
-
Send Message
Posted Feb 24, 2012@ genesis_aix Thank for the help, on does extra Plugins, the Problem I had with this one was I forgot to delete the Region-guard Folder and I had like 10 places protected with my name. I was over the limit on protection areas for this plugin. Thank you
-
View User Profile
-
Send Message
Posted Feb 24, 2012@psirusa
in the plugins/protectionstones/config you will have something similar to: Blocks: - LAPIS_ORE 1 - COAL_ORE 5 - DIAMOND_ORE 9 - NETHER_BRICK 17
This will be slightly different with the addition of nether brick.
-
View User Profile
-
Send Message
Posted Feb 24, 2012Hey, does anyone know if you can set more ore types than just the 3 in default?
-
View User Profile
-
Send Message
Posted Feb 24, 2012@ Cubanrevel I cant really tell, but both groups are set as default: true.
Look at AxelDios post 225. In config file, you want "Set Region.LIMIT = -2"
(i think this info should be added in the text about that node as well, yea i know it stands right beneath, but i belive many people skip it when they think they have read all about that node)
If you want to control what ore a player can place, i suggest you limit their options in obtaining that ore. Because the ores used in PS can be obtained by using a silkytouch pickaxe, i think it should stand very clearly somewhere, e.g. under Known caveats, that you need an additional plug if you want to limit this.
Here are some plugs that will help you limit their way of obtaining these ores: http://dev.bukkit.org/server-mods/changesilktouch/ or http://dev.bukkit.org/server-mods/silkiertouch/
I pasted them here earlier, but the problem is not yet highlighted, first page still gives the impression that these must be obtained via give or different plug.
You can also override settings in the config file of course. Say you wanted them to only obtain one type.
-
View User Profile
-
Send Message
Posted Feb 24, 2012This is the set up for my config:
http://pastebin.com/k8H1nfEb
I have the PEX setup like this
http://pastebin.com/PEkbYQK1
OK, when I change myself to the default group and tested, it does what is suppose to do MSG: You can not place any ProtectionStone.
But when I switch my self to the trusted Group no op permissions it tell me: you have reached your limit on ProtectionStone you cant place at this time.
What I'm doing wrong Here also How can I control what Ore a player can Place?
-
View User Profile
-
Send Message
Posted Feb 24, 2012Thanks folks, only a few people reported problems.
I did find a problem (and fixed it) with the view command, I transposed a variable and it will switch blocks to the wrong place, effects two blocks.
And I'm still trying to find a way to see the regions names list during over-lapping regions.
Other than that there will be some more code consolidation and hopefully some new features I've been wanting for a while.
Thanks again!