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 12, 2013@droppositeso i tested it out and added in LIMIT10 and LIMIT11 and BLOCKS10 BLOCKS11. The plugin ran fine and the 1-9 groups worked, but it just ignored the 10 and 11. i really would love to have more groups.
-
View User Profile
-
Send Message
Posted Apr 12, 2013@AxelDios
For #1 I mean if you do it yourself. What happens if i make a claim 21x21 and one block from the edge i place another lapis block. Would it be ignored or expanded? If ignored would I have to go 22 blocks away from the edge before it would claim again? OR if i went 10 blocks from the first claim would that do anything? I'm just trying to anticipate the barrage of asinine questions I'll face :-)
-
View User Profile
-
Send Message
Posted Apr 11, 2013In the config, the most ammount of groups I can create is 9, as I see LIMIT9 and BLOCKS9 as the highest.
We have more than 9 ranks and we would like to have each rank get a new ammount of ProtectionStones to use.
so, is it ok for me to just add in a LIMIT10 and BLOCKS10, 11, 12 etc? or will it only recognize 9 groups?
-
View User Profile
-
Send Message
Posted Apr 11, 2013@AxelDios
Hey is there a way to use custom blocks. Because on my Feed The Beast server I want players to be able to place quarries and have a WG region made around them. Hope you can add this feature or if its already in please let me know. Thanks
-
View User Profile
-
Send Message
Posted Apr 9, 2013@ManBeastPigDev
1. No it won't expand or join another region and you can't place a block that overlaps someone else's region. PS uses WorldGuard for all protection and uses it's database so there is no means to join the regions, with out causing other issues.
2. They are all WorldGuard Flags and most flags are supported, You need the WorldGuard Plugin (which requires WorldEdit) to use PS. You do not need any other WorldGuard Based Flag Plugins, PS uses WorldGuard's API, so PS talks directly to WG.
-
View User Profile
-
Send Message
Posted Apr 9, 2013One more thing, whats to stop an idiot placing claim blocks all over the place and never coming back on? will they expire if if the owner doesnt come on for x amount of time
-
View User Profile
-
Send Message
Posted Apr 9, 2013Hi, I love the sound of this. Just 2 questions....
1. What if someone places a block and then another protection block lets say 10 blocks away. Will it expand the region or make a duplicate with an area between them with what kind of perms?
2. Are all those flags worldguard flags or do i need the wrld guards flags plugin too? I recognise most of them, but wasn't 100%
I'm looking for a simple system and this is looking good for me. thanks
-
View User Profile
-
Send Message
Posted Apr 9, 2013@FearTheCreeper19
I'll think about adding it, but it could cause lag on a server, because it will have to search through all regions for the player and then add the other player to all of those regions found.
I'm already working on plans to clone flags from other regions, or allow players to set their own flag defaults for new regions created, much like the PS default flag list.
-
View User Profile
-
Send Message
Posted Apr 8, 2013@OPPDelta
There's a command to allow placing a block type that is used as a ProtectionStone, but not to create a region called /ps toggle.
But as far as picking it up, there is nothing, because if there is no region with the PS then PS ignores it and it is treated as a regular block.
-
View User Profile
-
Send Message
Posted Apr 8, 2013@thxaaaa
Okay this comes up about every 5,000 downloads when someone thinks they found something new. This was never a bug, it was a limitation at the time on the WorldGuard Regions, but over a year ago I addressed this issue and added an autohide option to PS if you use this while blocking players from unhiding PS's with the /ps unhide command then you can't use this exploit. Also some plugins like Essentials added a feature to block certain block types from being moved by pistons.
And if any one bothers to read the release information, the posts I put here or the documentation then you would also see that ProtectionStones also has it's own configuration setting that will block pistons from moving PS's.
This is from the Configuration Page:
Region.BLOCKPISTONS If you set it to true, all blocks moved by pistons are checked to see if any of the blocks are in the ProtectionStones Blocks List (meaning a material that could be used as a PS), and if they are the piston won't move. This is set to false by default.
This setting is set to false by default, because some servers are extremely busy and adding this check could cause extra strain on a server slowing it down.
-
View User Profile
-
Send Message
Posted Apr 8, 2013@acrob4ticon
The reload command was removed, because the Bukkit API was changed in a way that would require all my variables for settings in the config.yml file to be changed in the program. So the reload command was removed.
It will return in the future.
-
View User Profile
-
Send Message
Posted Apr 7, 2013@acrob4ticon
you need to type /ps admin reload for the reload command
-
View User Profile
-
Send Message
Posted Apr 7, 2013Hey i was wondering if you could add a command that adds a player to every single protection you have i hope you can do this it would really help my server! and this plugin it would be a great improvement.
-
View User Profile
-
Send Message
Posted Apr 6, 2013I know I can change blocks, but then it's starting to get into blocks that are not legit. Or blocks that are easy to get.
Surely you could have a local variable in the code that allows a player to turn the retrieve block off?
Eg: /ps off -> Mine block. -> Get item back, not block. -> Code auto /ps on
-
View User Profile
-
Send Message
Posted Apr 6, 2013no reload command?
-
View User Profile
-
Send Message
Posted Apr 6, 2013@NikkyyyHD
http://dev.bukkit.org/server-mods/protectionstones/pages/commands/
-
View User Profile
-
Send Message
Posted Apr 6, 2013I got permissions to work for me now :) But it toked me some time;P
-
View User Profile
-
Send Message
Posted Apr 5, 2013What's the command for my players to add other plays to their own protection area?
-
View User Profile
-
Send Message
Posted Apr 5, 2013Hi, I would first like to say that this is a great plugin, Also I would like to ask you if you couldent make the group system easier somehow, I mean like I want my default players to have access to 2 protections but Donators should have access for 4 protections, I have readed what you writted but didnt understand so it didnt work for me,
-
View User Profile
-
Send Message
Posted Apr 2, 2013@ViscousSummer88
Your config.yml file should have this for the Blocks Sections:
- DIAMOND_ORE 25
That will give you a Diamond Ore with a 51x51x51 region size.
Then read the information about "Group Limits" under the "Additional Settings" Section on the Configuration Page.
This will explain how to create a special group and it's settings.
If you have any problem I can take a look at your config.yml for you.
NOTE: You can restrict a ProtectionStone to one group as you are asking, but not change it's size per group, it would need to always be the same size, this is due to PS not having it's own database, it uses WorldGuard's Region Database for speed, portability, etc.