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 Nov 21, 2013@MightyVandorann
Sorry but no it's not possible, there's no Faction integration.
-
View User Profile
-
Send Message
Posted Nov 21, 2013Is it possible to set it so sponge can not overlap Faction claims?
-
View User Profile
-
Send Message
Posted Nov 20, 2013Thanks! Just what I was looking for :)
-
View User Profile
-
Send Message
Posted Nov 17, 2013@AxelDios
Read the Configuration Page for information on changing the blocks and accepted types, you may have up to 16 different types.
-
View User Profile
-
Send Message
Posted Nov 17, 2013@MASTERKIERAN
ProtectionStones uses WorldGuard, so it would depend on which mod the machines come from and if WorldGuard can protect them, look at some forums on WorldGuard and different mod blocks it might protect.
-
View User Profile
-
Send Message
Posted Nov 17, 2013Hi, I was wondering if you could change the types of blocks instead of the default blocks? I am not very good at coding so I want to know if I could change the diamond to glowstone , the lapis to mossy cobblestone, and the coal to cobble. How would i do that?
Thanks a bunch! bye
-
View User Profile
-
Send Message
Posted Nov 15, 2013Does this protect tekkit machines?
-
View User Profile
-
Send Message
Posted Nov 15, 2013@AxelDios
Run your server at least one time with ProtectionStones installed, and ProtectionStones will create a config.yml file in the Plugins\ProtectionStones folder.
Open the file with a text editor like notepad and see a section called "Blocks" which will look like this:
You may have up to 16 different stones, but the above three are the defaults.
If you want just one type like "SPONGE"
Change the "Blocks" Section to look like this:
The number "5" is the size, which is measured from the block to the outside edge of the region to protect.
If the "S" below is where you placed the ProtectionStone, the the "P"'s would bet he area protected:
So this would protect a 11x11x11 Area, if you have the Sky to Bedrock option set, it would protect a 11x11x256 area.
Please read the Configuration Page again, to see the list of blocks names to use, etc.
Either reload your plugins or restart your server after you change the config.yml so the changes take effect.
-
View User Profile
-
Send Message
Posted Nov 15, 2013@BaranCODE
I'll think about adding that option.
-
View User Profile
-
Send Message
Posted Nov 14, 2013Just what I was looking for, thanks! Also, could you add an option to the config that makes the blacklist of worlds act like a whitelist? So that instead of it being enabled by default on all worlds and us disabling some worlds, all worlds are disabled by default and only the ones listed work with protectionstones. Thanks!
-
View User Profile
-
Send Message
Posted Nov 13, 2013Still I Don't Understand It, Please Could You Help!
-
View User Profile
-
Send Message
Posted Nov 13, 2013@McCrafterFTW
Please read the section called "ProtectionStones (WorldGuard) Region Sizes" on the Configuration Page.
You would just need to rename one of the blocks and use SPONGE in it's place.
-
View User Profile
-
Send Message
Posted Nov 12, 2013how do you change the block because I want a sponge how I do that?
-
View User Profile
-
Send Message
Posted Nov 12, 2013@cristichi
There was a reload, but over the life of this plugin, Bukkit changed the config.yml API and I removed because of inconsistent behavior on reloads, it is slated to return at the latest during the PS 2.0 rewrite.
-
View User Profile
-
Send Message
Posted Nov 12, 2013Please, add "/ps admin reload" command! I dont like to reload everytime i have to make a change
-
View User Profile
-
Send Message
Posted Nov 5, 2013@javitomo
Can't change the count of particular blocks, unless WorldGuard changes it's API to allow for an efficient search.
I don't won't to rely on my own database (PS 2.0 will have a small database). So that there will be less chance for the WorldGuard Regions and PS Regions to have sync problems.
-
View User Profile
-
Send Message
Posted Nov 5, 2013@enetocs
Please don't message me here to check the PM's I check everything during the week, and usually nothing on the weekends.
-
View User Profile
-
Send Message
Posted Nov 5, 2013AxelDios thank you very much for your help. It has become clear the matter. Do you think what I was trying to do a good idea? I say if the idea can be applied to plugin ... if it is very difficult to do, nothing happens.
The protection of the mob spawner if it works, do not know how I had not happened before, it's brutal, jujuju
-
View User Profile
-
Send Message
Posted Nov 5, 2013Hi AxelDios!
Could you check my private about that plugin?
Thanks! Regards
-
View User Profile
-
Send Message
Posted Nov 4, 2013@javitomo
First of all, the limits are for all WorldGuard Regions, ProtectionStones are just WorldGuard Regions.
You can configure the type of blocks for a group, and the total number of regions, but you can't configure a count like your examples:
2 Sponge 2 Bedrock 1 MobSpawner
You could use 5 total regions for a group, and allow sponge, bedrock, and mobspawners. I have never tested it with mobspawners, so they might not work.
In your permissions you have three groups, set in the world, instead of be given to player groups, which each group or player can only be assigned to one ProtectionStones Group.
- protectionstones.group2 - protectionstones.group4 - protectionstones.group6Here is an example from one of my permissions files of a couple of groups:
groups: guest: default: true prefix: '&f[&bGUEST&f] &b' permissions: - -protectionstones.* nomad: prefix: '&7[&2Nomad&7] &a' inheritance: - guest permissions: - protectionstones.create - protectionstones.destroy - protectionstones.members - protectionstones.view - protectionstones.flags - protectionstones.flag.greeting - protectionstones.flag.farewell - protectionstones.group1 serf: prefix: '&7[&2Serf&7] &a' inheritance: - nomad permissions: - -protectionstones.group1 - protectionstones.group2 citizen: prefix: '&8[&9Citizen&8]&9 ' inheritance: - serf permissions: - -protectionstones.group2 - protectionstones.group3Here's part of my config.yml
You can't do it this way with the group permissions, a player can only be assigned to one group.
So would need to assign the User Group to say group1 and the Vip Group to group2 and your config would look like this:
Like I said, a user can only be in one group, and you can't limit by specific block count, but total region count.
So you would want to do something different to make the player groups different.