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 Aug 11, 2013what dose ps priority do?
-
View User Profile
-
Send Message
Posted Aug 11, 2013is there a way to make sponges auto no pvp when placed?
-
View User Profile
-
Send Message
Posted Aug 9, 2013@AxelDios
Hey again Axel,
Thanks for the suggestion! I will try another block instead and see how that goes. Checking out the Configuration page as well for further info. I appreciate your quick response! Sorry for the delay in mine. xD
Appreciate your help!
-Mr_B
-
View User Profile
-
Send Message
Posted Aug 8, 2013@THEREALbabyeater
Not at this time, because the way the blocks bypass the normal block break functions.
If you change the ProtectionStones to use other blocks it should behave normally.
Please read the Configuration Page for information on changing the block types.
-
View User Profile
-
Send Message
Posted Aug 7, 2013Hey AxelDios!
Firstly, thanks a lot for producing this amazing plugin! So far so good except for only two things. Is it possible to allow Experience to drop from Coal, Lapis, and Diamond? Members claim they do not get experience. And, is it possible to somehow enable Fortune picks so they can benefit from these Ores?
Thanks in advance for the assistance!
-Mr_B
-
View User Profile
-
Send Message
Posted Aug 7, 2013@Tobias2289
If you read the Configuration Page, and the Permissions Page, you will see all most of the information you are looking for.
Set the Region Limit in the config.yml file to 4 to lock the region limit to that number.
The size won't directly line up with a chunk, the region a PS makes is centered around the PS. The size number is the distance from the center to the nearest outside edge for normal cubed PS's (ProtectionStones can also have the optional Sky to Bedrock setting for the vertical limit). So a size of 5 would make a 11x11x11 region.
Chunks are 16x16x256, the best you could do would be to set the skytobedrock setting and to set the size to 7 or 8 (7 would be 15x15, and 8 would be 17x17.
Read the information at the end of the Permissions Page about changing the defaults for the permissions (flags), and look at the config,yml, it has a list of all currently supported WorldGuard Flags, which by default are all set to enabled, this is so server owners who either want minimum setup with PS or aren't running a permissions plugin can just load PS and run it as is.
Please read all the pages here before using PS.
Feel free to PM me if you need more help.
-
View User Profile
-
Send Message
Posted Aug 7, 2013@Curtis1996
Tobias has a point Curtis...
Assign the permissions exactly as shown on the permissions page, don't use any wildcards, and with group limits, make sure a player is only assigned to one group.
-
View User Profile
-
Send Message
Posted Aug 7, 2013@AxelDios
I could use some help, I just found this plugin and I'm in need of guidance.
I'm going to let each user have only 4 claims. I want to have the size as 1 chunk per claim. Not sure what number I would choose.
As to flags, are all flags from worldguard enabled for this plugin? Are my users going to be able to set up gamemode regions? How do I set certain flags on by default and off by default? I also want to block out certain flags from ever being used.
Can I just turn on the flags I want them to be able to have and then just disable there ability to change them? I would much prefer that.
Our newest server is set to go live the 18th and we're searching for a new plugin to run protections for our users and we don't want theft/griefing ruining the server.
-
View User Profile
-
Send Message
Posted Aug 7, 2013@Curtis1996
Do you have .* ? If so that is my guess as to why that is not working. I had the same problem.
-
View User Profile
-
Send Message
Posted Aug 6, 2013@Curtis1996
I will need to see the groups your players are placed in to figure out what is misconfigured.
The config.yml looks correct, what permissions plugin are you using and show me the groups in that plugin's settings.
-
View User Profile
-
Send Message
Posted Aug 6, 2013I am having a problem with using group limits. When I try to place a protection stone, it gives a warning of "You cannot place any protectionstones.". I will post my configuration file below.
Blocks:
- IRON_BLOCK 10
- GOLD_BLOCK 25
- DIAMOND_BLOCK 50
Flags:
- use deny
- greeting Entering %player%'s protected area
- farewell Leaving %player%'s protected area
- pvp deny
Region:
SKYBEDROCK: true
AUTOHIDE: false
NODROP: false
NOSILKTOUCH: false
BLOCKPISTONS: false
LIMIT: -2
Group:
LIMIT1: 1
LIMIT2: 1
LIMIT3: 1
LIMIT4: 2
LIMIT5: 5
LIMIT6: 0
LIMIT7: 0
LIMIT8: 0
LIMIT9: 0
BLOCKS1: IRON_BLOCK
BLOCKS2: GOLD_BLOCK
BLOCKS3: DIAMOND_BLOCK
BLOCKS4: IRON_BLOCK GOLD_BLOCK DIAMOND_BLOCK
BLOCKS5: IRON_BLOCK GOLD_BLOCK DIAMOND_BLOCK
BLOCKS6: IRON_BLOCK GOLD_BLOCK DIAMOND_BLOCK
BLOCKS7: IRON_BLOCK GOLD_BLOCK DIAMOND_BLOCK
BLOCKS8: IRON_BLOCK GOLD_BLOCK DIAMOND_BLOCK
BLOCKS9: IRON_BLOCK GOLD_BLOCK DIAMOND_BLOCK
Exclusion:
WORLDS: ''
PLACEMENT: false
-
View User Profile
-
Send Message
Posted Aug 4, 2013@sami0596
I've had other people using GroupManager with no problems, are you trying to over-ride default permissions or anything else out of the usual?
-
View User Profile
-
Send Message
Posted Aug 4, 2013@Banks_Nussman
PS just sets the flags, but WorldGuard controls displaying them, so check the WorldGuard Page to see if there is anything you can change.
-
View User Profile
-
Send Message
Posted Aug 4, 2013Don't work with Groupmanager
-
View User Profile
-
Send Message
Posted Aug 2, 2013Ok, So.. My Protection Stones Work Fine, But The Greeting Is Showing Up White Now.. I Liked The Blue Better, The Greeting Is Only Blue When Im Riding A Minecart... And Ideas On How To Gte It Blue Agian?
-
View User Profile
-
Send Message
Posted Jul 30, 2013@ammar2
Without saves at each point where there was a change WorldGuard has proven to disregard changes if it makes it's own. And if you currently have performance problems a 30 second timer with a check for updates would probably cause even more issues with the addition of a timed event. In the past I tested a longer interval timed event, but got complaints of servers that crashed not saving any of the PS Regions.
So at this time I won't be changing the way PS saves the regions, If you have major performance problems I would check on disk writes in general, your host of your server might have plans with better disk access like SSD or ram disks, or try another plugin for your protection.
PS is currently slated for changes to regions both the way it saves regions and more options to retro-actively change region flags, but I can't put down a firm timeline at this time.
-
View User Profile
-
Send Message
Posted Jul 30, 2013Just in case you don't know, your plugin is a bit bad in terms of performance to say the least. There's one pretty major problem which is that in ProtectionStonesBlockListener, you save the regions with regionManager.save(); after almost every single action, I'd suggest you schedule a task to save it every 30 seconds or so if it needs to be saved.
-
View User Profile
-
Send Message
Posted Jul 30, 2013ไงงงงงง
-
View User Profile
-
Send Message
Posted Jul 25, 2013I'm left with little or no time to update PS and my other plugins, and to create new ones because I'm getting so many questions which are answered in the documentation, so please read the pages here before posting a question, creating tickets or PM'ing me.
-
View User Profile
-
Send Message
Posted Jul 25, 2013@Camji55
Yes you can use PS's in one world, this is from the Configuration Page:
Exclusion.WORLDS: This is a list of worlds (seperated by spaces) to exclude from creating ProtectionStone Regions.
Exclusion.PLACEMENT: This option set to "false" will block the placement of ProtectionStones in excluded worlds and give a message about ProtectionStones not being allowed. If you set it to "true" blocks in the ProtectionStones block list are allowed to be placed but don't create ProtectionStone Regions. Both settings only effect worlds that have been added to the Exclusion.WORLDS List.