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).
@AxelDios
Yes i have, want me to change anything or try new build?
Uploaded ProtectionStones 1.6e Built with WorldGuard 5.5 and WorldEdit 5.2
I found that WorldGuard 5.5 has changed the type of error check it allows during region saves.
So I have built a version using WorldGuard 5.5 and WorldEdit 5.2, both of these versions are already outdated using CraftBukkit R3.
And I've changed the error checks.
When ProtectionStones 1.6d was released it was built on the current versions of WG 5.4 and WE 5.1 and CraftBukkit R4.
Is everyone who is reporting errors with ProtectionStones and WorldGuard using WorldGuard 5.5, because the current build of ProtectionStones is using WorldGuard 5.4 and WorldEdit 5.1 which at the time was the current versions.
From what I can see WorldEdit 5.2 is the latest and it is built on Release R3 And WorldGuard 5.5 also the latest also built on Release R3.
These are big and powerful plugins so It may take time for them to catch up.
For now I'm going to build another version of ProtectionStones built using WorldEdit 5.2 and WorldGuard 5.5 so anyone having a problem can try it with those builds.
@funk1983
The error you are getting is from the part of ProtectionStones that monitors explosions, do you have that part turned on in the configuration?
Explosion.DETECTION
@Roelith
Is the WorldGuard Error during Server Startup or reload, because ProtectionStones does nothing to WorldGuard during the "boot" process, it just asks via the Bukkit API if WorldGuard is installed.
@Xickle
Yes he can, it this only became an issue after Silk Touch, ProtectionStones has two ways to limit the number of ProtectionStones a player can use, see the Custom Configuration Page about Limiting ProtectionStones.
I am using PermissionsEx.
protectionstones.create & protectionstones.destory
No longer defaults to true.
Not problematic, but i wonder if its something ive done. Anyone else?
PS is working how it should but I noticed today that I'm getting a lot of severe's attached..
Also noticing these next to each other. Might be related to dynmap-worldguard.
I'm having some trouble getting protection stones to work on my server. It seems to be breaking worldguard and also some other plugins whenever I load the jar. I leave the config untouched (modifying it still breaks). Everything seems to work fine without it.
Running Bukkit-1.1-R4-b1938 with WorldEdit 5.2 and WorldGuard 5.5. All fully up to date and configured (what I feel is) properly.
If a player mines the ore with silk touch enchanted pickaxe, will he be able to use it as a protection stone? Would be kinda bad if he finds a diamond vein and has unlimited protection regions. Also is it possible to set a custom Y coordinate in the config? Or do all coordinates increase/decrease the same by setting a higher/lower number in the config?
Thanks for the help guys, should have checked the settings before posting though, my bad. Just confirms how good this plugin is :)
@funk1983
There is a built in world exclusion list, see the Custom Settings Page.
@funk1983 Set up permissions, so it does not work in "world_nether".
Here is how I have done it with PEX: http://pastebin.com/fuWNkL1H
As for the regions already created, you can either manually delete them ingame. Or goto plugins/worldguard/worlds/theworldyouaretoedit/regions.yml - edit this file. If you dont have any admin regions in the nether you might as well blank the file.
Is there any way to disable regions being claimed in the nether do you know?
@AxelDios
Nice work, again :)
ProtectionStones 1.6d
I uploaded a small update with the following included:
1) Built on the newest Bukkit Release (R4).
2) If you are in overlapping regions, WorldGuard is reporting back to me no region ID, so it appears as if you are not in a region. So for now the "generic region message" for "in region commands" will now read:
"You are not inside a region or you are in overlapping regions."
This is just until I can find out why I'm not getting any region ID's on overlapping regions.
3) Added the new Bukkit API Map Height Check, to be ready for the new maps being larger than the current 128 blocks.
4) Some source code consolidation.
@genesis_aix
Well, strange thing with that is I'm asking WorldGuard the region ID for that block and if they overlap it is telling me there isn't an ID instead of telling me there are more than one, so I didn't know that new bug had popped up.
For now I changed the "generic region message" to say you are not in a region or in overlapping regions for now until I can see why it says I'm not in a region.
Thanks for the compliment on the plugin.
I am up running myself. I am gonna have to take the issues over in the Worldguard camp. @AxelDios - I think you should add the overlap info somewhere.
Thanks for the help and a great plug!