ProtectionStones

PSBanner

Anti-Griefing at it's Easiest!

PS Banner

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).

PS Graphic

Settings

Commands | Configuration | Permissions

ProtectionStones

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Nentify Nentify Aug 28, 2014 at 17:26 UTC - 0 likes

    Is the plugin opensource?

  • Avatar of AxelDios AxelDios Aug 28, 2014 at 04:06 UTC - 0 likes

    @fastlockel: Go

    The errors some people are getting are either due to changes in Bukkit (Spigot) or WorldGuard.

    Anyone getting these errors please PM me your version numbers for PS, WorldGuard, WorldEdit and CraftBukkit (Spigot, etc.)

  • Avatar of fastlockel fastlockel Aug 27, 2014 at 17:52 UTC - 0 likes

    With latest worlguard snapshot 6.0.0 [19:50:59] [Server thread/ERROR]: Could not load 'plugins/ProtectionStones.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/sk89q/worldguard/protection/databases/ProtectionDatabaseException at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) [spigot.jar:git-Spigot-1622] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) [spigot.jar:git-Spigot-1622] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot.jar:git-Spigot-1622] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugins(CraftServer.java:369) [spigot.jar:git-Spigot-1622] at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:152) [spigot.jar:git-Spigot-1622] at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:458) [spigot.jar:git-Spigot-1622] at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1622]

  • Avatar of AxelDios AxelDios Aug 26, 2014 at 03:17 UTC - 0 likes

    @XXLuigiMario: Go

    The Bukkit API (unless there's a change coming) doesn't support reading the lore line when after you place a block, only when it is in your inventory (or a inventory, when it is considers an item and not a block), that is the reason my SuperSmelter Plugin requires a database.

    Plugins reading the lore line from a block already placed in the world, are hacking into the Craftbukkit Java Code and by-passing the Bukkit API.

  • Avatar of XXLuigiMario XXLuigiMario Aug 25, 2014 at 10:06 UTC - 0 likes

    Could you make it so it checks if the block has a lore for example "ProtectionBlocks" so people can't just for example get a free protection block with silk touch? I still want people to be able to get those blocks anyway, but not to use them as protection.

    http://i1279.photobucket.com/albums/y523/textcraft/May%202014%20-%204/474b0c4e6652800dcff989cff1eb7ea82e0112057728d158814aec9e3c72d793e0324a032dc9a17eda39a3ee5e6b4b0d3255bfef95601890afd80709f6a5768b46b1823b2563_zps9e9e02dc.png BFAK:90887657,c72aae632e278722d0a3fbf198f9154965ceffed8a617b2a46b672848478d155

  • Avatar of Nentify Nentify Aug 23, 2014 at 23:05 UTC - 0 likes

    @Squawkers13: Go

    Would like to see a WG 6 update, some very nice changes in there. I also like the simplicity of the system. If I had 3 requests, they would be improved protection visualisation (curently the glowstone blocks - precious stones/griefprevention have very nice visualisations), and the ability to modify the area protection. If sky to bedrock is enabled, a GriefPrevention-like selection would be nice, where two corners are selected for simplicity's sake. Finally, displaying the area protected when a protection is placed would also be useful.

    Edit: Is this project open source?

    Last edited Aug 24, 2014 by Nentify
  • Avatar of AxelDios AxelDios Aug 21, 2014 at 03:22 UTC - 0 likes

    @paranollakil: Go

    Private message me, and please re-explain your problem, I don't understand what the issue is.

  • Avatar of paranollakil paranollakil Aug 21, 2014 at 01:21 UTC - 0 likes

    P# lease help me, my problem is this plugin installed correctly but when I opened my server 1.6.2 not detacta. Do not let another folder with the setup. I love it and I can not husarlo

  • Avatar of ARCT3CK ARCT3CK Aug 19, 2014 at 19:48 UTC - 0 likes

    @AxelDios: Go

    Yep, great explanation :D I switched to silk touch option to true, and everything works fine :)

Facts

Date created
Dec 20, 2011
Category
Last update
Jun 04, 2014
Development stage
Release
Language
  • enUS
License
MIT License
Curse link
ProtectionStones
Downloads
118,024
Recent files

Authors