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, 2012@AxelDios
My admins have the superowner permission if they stand in another players land and use /ps add theirname it tells them they cant add them self... Same with addowner so still they cant build in that land with being op or using /region addowner regionname theirname.
Yes I get the whole no permissions plugin issue but my point is MOST server admins that are older than 14 will use a permissions plugin.
Now I'm running a very large server over 30,000 different players have joined this week can you imagine trying to control their land and fixing the issues they get with out some way to build in their land.. So by all means if I'm doing some thing wrong to see that you can't add your self message please tell me how to fix it..
We picked this plugin because it is light weight. We have also found that players can use pistons to dupe the stones. namely diamonds .... any idea's on fixing that? and don't tell me to change the stone because well that's not possible on the scale i'm dealing with.
If you want to chat more and work with me a bit on this large server add me on skype. ill pm you my info.
-
View User Profile
-
Send Message
Posted Apr 21, 2012@RustyDagger
First of all there is a permission called protectionstones.superowner if you give your admins that permission they will be able to use the add command and other commands PS normally reserves for the region owner..
Please read the permission page.
Also the reason for all the permission flags (and some other permissions) to be set to true is to allow this plugin to be simple, no configuration for most people, and also the ability to use with and without a permission plugin.
-
View User Profile
-
Send Message
Posted Apr 21, 2012Would love a command for admins
to toggle if they can build in other players land atm we have to use WG /region addowner
and its really annoying. I trust my admins not to abuse the command just a permission node to grant it would be nice.
fyi I changed your plugin.yml and set all the default: true to false to save room in my permissions file i would of needed 30 + lines to remove all the stuff i didn't want my players to have... not good man it should be all default false when you download it. if people are 2 stupid to use a permissions plugin they should not be running a server.
-
View User Profile
-
Send Message
Posted Apr 18, 2012thanks a lot ! works !
-
View User Profile
-
Send Message
Posted Apr 17, 2012@Armani76
What problems are you having, and yes you can change to almost any block type you want for the ProtectionStones.
Here is a list of all the valid Bukkit Names, many of these names are not blocks, but the blocks you may use.
http:jd.bukkit.org/apidocs/org/bukkit/Material.html
So the config.yml should look something like this....
Blocks:
- ENDER_PORTAL_FRAME 5
- ENDER_STONE 10
- BEDROCK 20
(Change the sizes where needed)
-
View User Profile
-
Send Message
Posted Apr 17, 2012Thanks, but it is not solution ( Can I use another approach ? If I will close "world-end" for players, and I will change this 3 ores to End_Portal_Frame, End_Stone, Bedrock it will help me ?
What I must to change in settings ? Thanks in advance !
-
View User Profile
-
Send Message
Posted Apr 17, 2012@Armani76
That setting actually blocks all silk touch for materials listed in your blocks list, both in and out of regions.
There does seem to be a problem in Craftbukkit 1.2.4 and 1.2.5 that Redstone Ore has some issues, but other that that any block in your list while the nosilktouch setting is applied should return the correct items, don't forget some blocks never return ore.
Here is the information 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.
-
View User Profile
-
Send Message
Posted Apr 16, 2012Hi, best plugin for protection land ! )
Have problem with silk touch, how to prohibited silk-touch mode in game ? Try to change in your settings, found in forum about Region.NOSILKTOUCH, switched to True, but it is just change settings in region, how to change in game totally ?
Thanks
-
View User Profile
-
Send Message
Posted Apr 12, 2012@AxelDios
Thanks for the fast reply, looks like we may have to change from redstone to coal ore. Oh well better than a player ruining our economy.
-
View User Profile
-
Send Message
Posted Apr 12, 2012@OwuFail
There seems to be some problems with Redstone Ore in CraftBukkit 1.2.4 and 1.2.5 that has some issues with player interaction.
And at the moment PS requires you to use the block material name, I was planning on using ID numbers with data values like you are asking but could not support it in the Bukkit API in all the ways I need it to work.
After the Bukkit API rewrite you'll see some new features and changes in PS.
-
View User Profile
-
Send Message
Posted Apr 11, 2012Hey for some reason I cannot silk touch diamond ore and lapis ore which is what I want but I can silk touch redstone ore?
Why is this? and how can I change it?
EDIT Can you do like for stonebricks theres many different kinds could you use something like 98:21 which would be the same as 98:3 in look but it is a different data value? Would it work?
-
View User Profile
-
Send Message
Posted Apr 11, 2012@agw97
For regions already created you can set the WorldGuard Region Flags:
Have the region owner stand in the region and do:
/ps flag greeting
/ps flag farewell
This will clear both flags.
You can also change the default behavior so that it doesn't create greeting and farewell flags for future regions by changing the config.yml.
Simply remove the following two lines:
Flag.greeting
Flag.farewell
Please read the configuration page for more information.
-
View User Profile
-
Send Message
Posted Apr 10, 2012Is there a way to turn off the notifications for entering and leaving areas??
-
View User Profile
-
Send Message
Posted Apr 10, 2012@MrSerios
I found some unconfirmed issues in both Craftbukkit 1.2.4 and 1.2.5 about the following:
"Redstone ore not fully tied to PlayerInteractEvent"
And I was able to reproduce the problem only with redstone with a player with no special permissions. let me look into it some more on my end.
It appears to be a bug in Craftbukkit itself. But let me do some more testing.
-
View User Profile
-
Send Message
Posted Apr 10, 2012@AxelDios
Axel We don't use other plugin related to redstone_ore, we do test with players form both groups, they can destroy protection stones. I removed destroy permission from one of the groups just for testing purposes, but there is no problem players from that group removing protection stones different from redstone_ore, so basically its working even without permission its not working only for redstone_ore block.
-
View User Profile
-
Send Message
Posted Apr 10, 2012@MrSerios
Do you have any plugins related to redstone?
Which group is the player in?
I see the group2 information doesn't have a corresponding protectionstones.destroy permission.
Here is all the info at the beginning of that player groups permssions:
gold:
default: false
options:
rank: '800'
prefix: '&6[VIP]&6 '
permissions:
- nosspawn.spawn
- wg.lighter
- protectionstones.create
- protectionstones.members
- protectionstones.group2
-
View User Profile
-
Send Message
Posted Apr 9, 2012@AxelDios
Here is PEX nodes http://pastebin.com/Zh3fvRA3 We tested it with all ore blocks that is set in config (Coal, Lapis, Redstone) and it seems the problem exist only with redstone ore. Yes, player breaking their own regions, not overlapping, even make tests to place protection and then destroy it.
/ps admin version - reports:
ProtectionStones 1.7g
CraftBukkit git-Bukkit-1.2.5-R1.0
WorldGuard 601-e67343
WorldEdit 1141-2ed92da
Here is my ProtectionStones config.yml
http://pastebin.com/0WghZuGR
-
View User Profile
-
Send Message
Posted Apr 9, 2012@MrSerios
Yes, it does sound like a permissions issue.
Can you send me their permission info and give me more information about the block they are breaking, is it their own region, and use "/ps admin version" and get me the version information it reports.
-
View User Profile
-
Send Message
Posted Apr 9, 2012I have very strange problem, protectionstones.destroy is completely ignored! Player can brake block but region is not deleted. Maybe this is something to do with PEX, but I tried with
- protectionstones.destroy permission and without it too, it's just doesn't work. It works only for admin group with all permissions.
-
View User Profile
-
Send Message
Posted Apr 8, 2012@cleanableriver
Should work fine with 1.2.5, what really maters is if you have copies of WorldEdit and WorldGuard that work with 1.2.5.