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 Mar 2, 2014@Angrytiger2112
Did you check your log to see if it's loading?
If it is loaded run the "/ps admin version" command and PM me the versions it returns for WorldEdit, WorldGuard, ProtectionStones, and Bukkit.
-
View User Profile
-
Send Message
Posted Mar 1, 2014It not working
-
View User Profile
-
Send Message
Posted Feb 27, 2014@DarkShyder
You can't sell them directly from PS, but there are numerous ways to sell the regions.
You can sell or rent the regions themselves with plugins like my RegionRealtor, for a listing based sale or rental of regions, or a good sign based plugin like Simple Region Market also lets you sell or rent regions.
You can also change your PS's to blocks you can't normal get in the game, like sponge and sell them with shops, like Essentials sign shops, or my soon to be released economy plugin that has admin shops built in.
-
View User Profile
-
Send Message
Posted Feb 27, 2014Hello I have a question, want to know how to do that when people place the block protection to bill for "X" money :)
-
View User Profile
-
Send Message
Posted Feb 27, 2014Uploaded and awaiting approval from the Bukkit Team:
ProtectionStones 1.9f
New and Changed:
"/ps center" command (permission: protectionstones.center, defaulted to true), which shows glowstone for 1 minute at 10 places: the center of the region, and the center at the player's feet, also those two positions in the north, south, east, and west areas so you can place a PS of the same size and make them cover the area with out gaps or overlaps.
Removed the "/ps info region" command and created a new "/ps info" (permission: protectionstones.info), this reports the region info, colored and formatted to look very similar to WorldGuard's "/rg info" command.
Colored all the "/ps info" sub commands to make the more readable.
Changed "/ps reclaim" so it will work even if you aren't using the PS Auto Hide Option.
Added a new Priority Setting in the config.yml file (defaulted to 0), which will set newly created PS regions to that priority level.
Added a new Region.SaveTimer Setting to the config.yml file (defaulted to -1), also the WG Regions for all worlds are saved on server restart or if the plugins are /reload(ed).
-1 = Save after all PS region changes (which is the current default for older versions of PS.
0 = Don't save PS region changes, which would only get saved on the restart or reload.
n = A number meaning how many minutes to wait until the next PS region save. This number is in minutes. Don't set it to low or you will cause large amounts of server lag, If you use this setting the first save happens five minutes after the server starts, and then one each time your time limit is reached.
Compiled for Bukkit 1.7.2 (Dev Build)
-
View User Profile
-
Send Message
Posted Feb 24, 2014@XtrmeePlaya
No, I can't change the name because that opens up other issues. If ownership changes for a region I would then need to change the region name, WorldGuard's API doesn't have this ability, so I would need to remove the old region, create a new one, and transfer all the old settings to the new region.
There exists a command to search for all the players regions, the command is for admins:
/ps region list [player]
-
View User Profile
-
Send Message
Posted Feb 24, 2014Would you be able to make the protection stones, when placed make the region name say: {name}ps111x11y111z instead of: ps111x11y111z
This would help finding a certain players region
-
View User Profile
-
Send Message
Posted Feb 23, 2014@Jerbo06 PS uses WorldGuard for all it's protection, WG has a flag called chest-access if you set it to allow all players would have access to your chests, or if you set use allow, they would have full access including switches, etc.
If you want a specific player that isn't a member of your region, you would need to use another plugin like Lockette to selectively limit players by name.
Other wise any one in your member list (or owners) of your region have access to your chests.
Here is a link to WG's Flag page, most of the flags work with the "/ps flag" command.
-
View User Profile
-
Send Message
Posted Feb 22, 2014Is there a way for a simple member of a server to allow people to open the chest of your protected area?
-
View User Profile
-
Send Message
Posted Feb 16, 2014@mal67
The list is in the permissions for flags listed inside of the ProtectionStones jar, in the plugin.yml file.
-
View User Profile
-
Send Message
Posted Feb 16, 2014@AxelDios
ah ok, so it just didnt know how to set the flag. i couldnt decipher the error log myself.
was worried there could have been damage done to the region database.
is there a list of flags that are *not* supported by PS so far? so that i can make sure to remove those permissions for players on my server. and switch to the worldguard flag perm instead for use with the protectionstones.
thanks for the response.
-
View User Profile
-
Send Message
Posted Feb 16, 2014@mal67
The deny-spawn flag isn't currently supported by PS, but you can set it directly via WorldGuard's Region Command. WorldGuard has a lot of people that work on their plugin, and it was already a mature plugin before Bukkit, so often new flags are added that I haven't added yet, deny-spawn is one of them that was added a few updates back and works differently then the existing flags, so it hasn't been added at this time.
-
View User Profile
-
Send Message
Posted Feb 15, 2014http://pastebin.com/0qaj7zWR
http://pastebin.com/wA73JZfr
i get this when trying to set certain flags? like deny-spawn
-
View User Profile
-
Send Message
Posted Feb 11, 2014@SuperRonanCraft
There appears to be some issues with current builds as far as fortune, so I'll see if the next build of PS will fix the fortune question.
First of all I would pick different blocks for your PS's you can use almost any block, and up to 16 different PS's (See the Configuration Page).
You can use them on other worlds, or exclude them on other worlds, also on the Configuration Page.
If you break the block in creative the PS should be clearing the WorldGuard Region.
-
View User Profile
-
Send Message
Posted Feb 11, 2014Alright Thanks @AxelDios
I was also wondering if you can make it so if people use fortune on these blocks if they could drop more of that blocks ore. Or would that not be possible in the coding? Plus I am now able to place these blocks in other worlds, but when i break them in creative mode they drop the actual block and don't just go away. Is there a way so it completely ignores anything in other worlds, so it doesn't handle the drops in other worlds? Please let me know if there is any way for this to happen, because people on my server are not happy that they get one diamond every time they fortune III it.
-
View User Profile
-
Send Message
Posted Feb 3, 2014@AxelDios
yeah im aware of the other functions, was just hoping to use skulls. i have to disable ps toggle in the world as i sell diamond ore etc as protection stones cheaply from the server. and i dont want ppl buying them, toggling them, and getting tons of diamonds .
-
View User Profile
-
Send Message
Posted Feb 2, 2014@SuperRonanCraft
You need to read the Configuration Page.
-
View User Profile
-
Send Message
Posted Feb 2, 2014@mal67
No you can't use the heads, they aren't treated the same as other blocks.
You can change the PS to almost any other block, and have up to 16 PS types, you can also auto-hide and block unhiding PS Blocks which blocks almost any exploit, please read the Configuration Page.
-
View User Profile
-
Send Message
Posted Feb 2, 2014@Chaett
The PS Reload Command was disabled almost a year ago, because of changes Bukkit made to the Config API.
If you use the Bukkit /reload or restart your server it will reload the settings.
PS 2,0 is slated to have the reload command reinstated.
If you reload or restart and don't see changes you probably have corrupted your config.yml file. To get a fresh copy to try again, just rename or delete the old config.yml and reload or restart, a new copy will be made and you can then edit and reload/restart again.
-
View User Profile
-
Send Message
Posted Feb 2, 2014Im also having trouble turning off protection stones in other worlds, it wont let me place any PStones in other worlds even when i turn off protection stones in a certain world.