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 26, 2012@Dagepaa
Same questions as below for you.
-
View User Profile
-
Send Message
Posted Jun 26, 2012@HexaDroid
What permissions do you have for yourself?
Are you an op and do have full control (all permissions) for ops in WorldGuard.
Because this sounds like a permissions issue, I've seen people in the past lock down WorldGuard in ways that effected all other WG Depend Plugins.
Also, what permissions plugin are you using?
-
View User Profile
-
Send Message
Posted Jun 26, 2012If only an answer would come about these bugs. I'm unable to let players use this atm because of the /ps view bug explained below.
-
View User Profile
-
Send Message
Posted Jun 25, 2012Love Love Love the plugin! Does World Guard support Tekkit?
-
View User Profile
-
Send Message
Posted Jun 23, 2012bukkit 1.2.5 R3.0
ProtectionStones 1.8b
worldguard 5.5.2
worldedit 5.3
Also tried protectionstones 1.8c, same problem
Also same as below me. I can use the /ps view on all regions but not other players.
I have these permissions for my newbie rank.
- -protectionstones.create
- -protectionstones.destroy
- -protectionstones.view
- -protectionstones.hide
- -protectionstones.unhide
- -protectionstones.members
- -protectionstones.flags
And the standard permissions for my member rank.
-
View User Profile
-
Send Message
Posted Jun 23, 2012Same problem as Joeri
I can use the /ps view but not the players it posts that console error.
Protectionstones 1.8c
Craftbukkit 1.2.5 R4.0
Worldguard 5.5.2
Worldedit 5.3
-
View User Profile
-
Send Message
Posted Jun 23, 2012@HexaDroid
Please use the "/ps admin version" command and post the returned information.
-
View User Profile
-
Send Message
Posted Jun 23, 2012@ProjectNarna
No I can't redefine the region, to keep PS small and fast it uses WorldGuard database to keep track of the PS positions, if you redefine the region It would no longer be a PS Region, it would then be just a regular WG Region.
There are no settings in PS for changing the Priority Level of the region it protects. You could do that via WG's Region Command.
The source can be viewed with any Jar Viewer, I currently have no separate repository for any of the code.
-
View User Profile
-
Send Message
Posted Jun 23, 2012It was working fine for a few minutes and then I get this. When people try to do the /ps view and possibly other commands
Tested both R3 and R4. Same problem.
In-game:
an internal error occured while attempting to perform this command.
Console:
23.06 17:24:27 [Server] INFO ... 12 more
23.06 17:24:27 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
23.06 17:24:27 [Server] INFO at com.axeldios.ProtectionStones.ProtectionStones.onCommand(ProtectionStones.java:746)
23.06 17:24:27 [Server] INFO Caused by: java.lang.NullPointerException
23.06 17:24:27 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
23.06 17:24:27 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
23.06 17:24:27 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
23.06 17:24:27 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
23.06 17:24:27 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
23.06 17:24:27 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
23.06 17:24:27 [Server] INFO at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
23.06 17:24:27 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
23.06 17:24:27 [Server] INFO at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
23.06 17:24:27 [Server] INFO at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821)
23.06 17:24:27 [Server] INFO at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479)
23.06 17:24:27 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
23.06 17:24:27 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
23.06 17:24:27 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'ps' in plugin ProtectionStones v1.8c
-
View User Profile
-
Send Message
Posted Jun 22, 2012@AxelDios
Could you not redefine the original region if an overlapping region is created?
Also, how does this plugin find the region you are standing in? Is it limited to priority 0? Still trying to work out my problem.
Also, is there source available for this anywhere?
-
View User Profile
-
Send Message
Posted Jun 21, 2012@ThatDave
No that won't be possible, it has been asked for numerous times, but it opens to many problems in trying create a new region based on multiple PS Regions.
So it would be very difficult to implement and then would need to create a whole new region separate from the original regions.
-
View User Profile
-
Send Message
Posted Jun 21, 2012Awsome thanks !
-
View User Profile
-
Send Message
Posted Jun 21, 2012Hi.
Is it possible to allow players to place more than one PS to basically 'grow' a single larger and larger protected region, instead of placing individual blocks to create multiple smaller regions all joined together?
Hope this makes sense. I use just gold blocks for 11x11x11, but I'd like it if a player mines more and more gold, they can grow the size of their protection .. but keep it a single region.
Thanks!
DL
-
View User Profile
-
Send Message
Posted Jun 21, 2012@HexaDroid
Already has that ability to.
Stand in your region and type "/ps view"
It will show you 12 glass reference blocks for 30 seconds, see the Commands Page for other commands.
-
View User Profile
-
Send Message
Posted Jun 21, 2012Can players add friends to their regions? On my server there is not one person who is playing by himself.
EDIT: just found out you can.
A nice feature request would be that after placing the stone. A box of say maybe glass blocks? will go around your region for visual reference only (Can't mine them and are only send to the owners client)
And maybe a command to toggle the visual outlining of your region.
-
View User Profile
-
Send Message
Posted Jun 20, 2012@AndyCYXU
Setting the permissions to true just means giving the player the permission, meaning allow vs deny.
In the ProtectionStones Folder (in Plugins) your config.yml should have these settings:
Group:
LIMIT1: 5
LIMIT2: 10
LIMIT3: 20
Then in whatever permissions plugin you are using (say PermissionsEX as an example):
You will have something like this (PermissionsEX uses the permissions.yml file):
groups:
guest:
default: true
prefix: '&f[&bGUEST&f] &b'
permissions:
- protectionstones.group1
nomad:
prefix: '&f[&bNomadT&f] &b'
permissions:
- protectionstones.group2
citizen:
prefix: '&f[&bCitizen&f] &b'
permissions:
- protectionstones.group3
-
View User Profile
-
Send Message
Posted Jun 20, 2012@AxelDios I think where I am getting confused is these values protectionstones.group1 etc. as it says in the manual states they are set to FALSE where are they where do I find them and set them to TRUE
I do understand that I put these protectionstones.group1 etc in my permission file for the group or player and I did that, I might have a problem with the inheritance thingy in my permissions where higher group inherits permissions from lower group and by this a player might belong to 2 groups but that aside as my problem isn't that player should have 10 but he only has 5 as explained in your file that is what will happen the player will get downgraded My problem is player has all he wants for protection stones as of the protectionstones.group# is not even enabled ...
That is what I cannot find how do I enable it or set it to TRUE Just can't find line that would say Protectionstones.group=false
Not in my config file in the ps folder nowhere in config file for world guard Do I just add these lines and if so in which file? I did set regions to -2 so I wonder where oh where do I set the other thing to true like I would. For examPle the autohide or silkpicaxe etx but where. Are the protectionstones.group#=false so I can make them true LOL
Thank you And sorry for confusions Andy
-
View User Profile
-
Send Message
Posted Jun 19, 2012@AndyCYXU
Please see the bottom of the Configuration Page.
There is a section called: "Group Limits" which covers the whole process.
The "protectionstones.group1" etc would be set in your permissions plugin's configuration.
Each player can only be assigned to one group, if a player is in more than one group the lower group would be used.
-
View User Profile
-
Send Message
Posted Jun 19, 2012Hi I was wondering where do I find protectionstones.group1 2 3 etc where I can set it to true or in other word enable it In me regular permissions. File I added protectionstones.group1 to lower group protectionstones.group2 to mid group protectionstones.group3 to high group
In ps config I change the region value to -2 And configured limit1 2 and 3 to 5,10,20 respectively
So I assumed player in group mid could only place 10 protection blocks But the limit is not working My groups also inherit one the other so mid inherits low and high inherits mid and of course low bu design since mid inherits low
Anyhow no limit to to creation is applied they can place as many ps stones as they want and zones are created as verified in regions file of WG so there is something I am not doing right any help Thank you
-
View User Profile
-
Send Message
Posted Jun 17, 2012@AxelDios
I'm pretty sure they have the permission. Later, the player who managed to add it with lowercase was unable to add a different player later when it was all lowercase.
I am also unable to list all the regions for a specific player. PS regions all show up fine, and a few select regions show up. It's very odd. I'll spend some more time debugging the issue, and see what I can come up with.