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).
@jonnay23
I'm going to add all the WorldGuard Flags, just haven't had the time so I did the most requested and the ones I thought were the most universally useful.
@alexdude99
The source code will be released soon, there will also me an update for block types, so you can choose your own materials.
Great plugin, does what it says on the tin!
If I may offer a suggestion, it would be nice to add our own worldguard flags, so (for instance) a diamond ore block could stop creeper explosions, etc.
So in testing this plugin out, I've come to realize how terrible it is to be using the superpick as it destroyed a protection block :P
Anyway did eventually figure what I'd done and managed to remove the region protection via worldguard.
Still i think it would be good if you could adjust the naming convention to actually include a player name who placed the block. Like username_ps279x67y40z something like that.
Is there any chance you can release the source code or give it to me? I am wanting to change the blocks it uses for protection. Thanks
@re4397
All versions of ProtectionStones from 1.2 onward allow you add/remove members from your ProtectionStones Region.
Okay folks... ProtectionStones 1.3 has been uploaded.
Sky to Bedrock and lots of region flags have been added.
I'm aiming ProtectionStones 1.4 at having the following additions:
Block Counts and Limiting and Admin alerts with logging.
These two features are going to need a lot of code to support them (and other features) so they are going to be pushed to the next release.
As far as turning on and off, that probably won't be done because of all the other problems it could cause, but it's still on the table.
@nebenezer
As a note to you, the next version will in fact have a config.yml option called Region.SKYBEDROCK which defaults to false, if you set it to true the Y-Axis of all newly created protections will be from the sky all the way down to bedrock.
@NolanSyKinsley
I'll consider the on/off and notification, etc.
The problem is becoming that this was supposed to be simple for players to use, and admins that don't want lot's of configuring.
Maybe when all is said and done I'll make PSLite :)
I'm currently working on the bedrock to sky, and rectangular sides for the protections.
The main problem I see with allowing it to be turned off and on and using other plugins that use Ore Blocks is the fact that it could mess up the game "value" of the blocks. Because anyone could potentially have unlimited Ore Blocks hence unlimited ProtectionStones Regions.
omg another OH!! moment. There needs to be a toggle, so people can place the ores without making a protection region, like /ps on is default then you can type /ps off to disable it trying to apply protection when you place an ore block, as there are other plugins, mainly falsebook and coal ore, that use these blocks for controls. That, and people may wish to use the blocks as decoration, now that silk touch is an option on picks.
I know you are busy, these are just suggestions for what I would consider a "complete" plugin.
Another, which is more of a pipe dream, is notification to the sys admins that a protection has been placed. So this plugin can be used as a temporary protection system, so the player can protect their area when an admin is not online but it tells the admins that permanent protection is needed for that player's area.
Again, thank you for you speedy responses, I foresee you being a great plugin developer!
@nebenezer
This is the issue I brought up with our server making the protection go from sky to bedrock, he said he may be able to work it into the next build, maybe not. Let us hope =P
@jmbftw
He is working on the block limit. You can already configure the size each block protects, IIRC.
@Retro93
Sounds like a permissions problem that none of the commands are showing, the defaults for ProtectionStones is to allow all the /ps commands so they should show.
Try a specific command, "/ps" by itself isn't a command.
First place a ProtectionStone then stand near it and do the following:
/ps info members
This should return "Members:" with nothing else since it is a new area.
Then try:
/ps add bob
This should add a member named bob.
Type, "/ps info members" again and it should now show: "Members: bob".
All the current commands require you to be standing in a ProtectionStones Region that you own.
Please post your results so I can help you figure out what is going on.
@andrewzhang
No it won't work with only WorldEdit.
Requires WorldGuard.
ProtectionStones uses WorldGuard Regions for all it's protections.
I download this plugin the other day and the community on my server find it very useful, though there is one problem that I am having.
The regions are activating, but when I type /ps, I get the error: "Unknown Command. Type "help" for help."
Plugins that I am using:
@AxelDios
So, it wont work if I only have worldedit?
!!PLEASE READ!! This plugin is Awesome! But there are a few things that could make it better.
1. add permission that allows a player to only place 1 block once. and never aloud to place another protection stone again.
2.also let us be able to configure the amount of space each block protects.
!!!PLEASE PLEASE REPLY!!! This would complete my server. you are on to something here. please reply!
This has probably been posted several times, I apologize if it has..
The only flaw to this wonderful and lightweight plugin that I would like to see addressed is the fact that a griefer can build a sort of scaffold over a protected zone then drop water or lava into the zone from above :/
Aside from that this is a very lightweight and WONDERFUL alternative to Precious Stones which does a whole lot more than I need or want.
Thanks AxelDios!
@NolanSyKinsley
That's what I'm working on, the permissions and commands for the users to set them themselves.
@AxelDios
well as far as the flag I would like the players to be able to set them themselves, rather than being set in a config. And thank you for the speedy response!