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).
@Nikijok3
The Use Flag controls those items, but PS is broken for newer builds like 1.8 due to changes in the WorldGuard API, and 1.8 changes.
Hello, I have a question. What's the permission to allow the players to interact with buttons and pressure plates? Please answer
Hey :) I have one question, and I don't really know if I have to post it here.
Well, I have a 1.8.8 server running with protection stones (and many others), and everything seems to be ok, but when a non-op user puts a protectionstone the world guard flags I've setted at the configuration file doesn't work :/ they just don't activate. I think is a permission-related mistake caused by me, or even a config misunderstanding. How do I put the default flags to work?
Thanks in advance.
The "Use" Permission is on standard on deny, so nobody can usw a workbench or something like that :c
When i try to /ps flag usw allow:
[12:24:43] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'ps' in plugin ProtectionStones v1.9j at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [craftbukkit.jar:git-Spigot-1d14d5f-ba32592] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [craftbukkit.jar:git-Spigot-1d14d5f-ba32592] at org.bukkit.craftbukkit.v1_8_R2.CraftServer.dispatchCommand(CraftServer.java:646) [craftbukkit.jar:git-Spigot-1d14d5f-ba32592] at net.minecraft.server.v1_8_R2.PlayerConnection.handleCommand(PlayerConnection.java:1139) [craftbukkit.jar:git-Spigot-1d14d5f-ba32592] at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java:974) [craftbukkit.jar:git-Spigot-1d14d5f-ba32592] at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) [craftbukkit.jar:git-Spigot-1d14d5f-ba32592] at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(PacketPlayInChat.java:1) [craftbukkit.jar:git-Spigot-1d14d5f-ba32592] at net.minecraft.server.v1_8_R2.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit.jar:git-Spigot-1d14d5f-ba32592] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_71] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_71] at net.minecraft.server.v1_8_R2.SystemUtils.a(SourceFile:60) [craftbukkit.jar:git-Spigot-1d14d5f-ba32592] at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:710) [craftbukkit.jar:git-Spigot-1d14d5f-ba32592] at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:368) [craftbukkit.jar:git-Spigot-1d14d5f-ba32592] at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:651) [craftbukkit.jar:git-Spigot-1d14d5f-ba32592] at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:554) [craftbukkit.jar:git-Spigot-1d14d5f-ba32592] at java.lang.Thread.run(Unknown Source) [?:1.7.0_71] Caused by: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.put(Unknown Source) [?:1.7.0_71] at java.util.concurrent.ConcurrentHashMap.putAll(Unknown Source) [?:1.7.0_71] at java.util.concurrent.ConcurrentHashMap.<init>(Unknown Source) [?:1.7.0_71] at com.sk89q.worldguard.protection.regions.ProtectedRegion.setFlags(ProtectedRegion.java:472) [?:?] at com.axeldios.ProtectionStones.ProtectionStones.onCommand(ProtectionStones.java:1296) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [craftbukkit.jar:git-Spigot-1d14d5f-ba32592] ... 15 more
Please fix it :c
I very much like this plugin, its a very important part to my server and i hope you continue to release updates as there are some errors that are a problem. Please continue this plugin.
@IVWU1TN37 its compatible with 1.8, just download the latest upload & worldguard.
/ps flag use true is broken? maybe something do to with world guard or something.
Please fix or tell me how to fix
Kind Regards
@Bobcat00
I didnt know about that one, I'll try it soon as I can. Thanks!
Has anyone tried this?
https://www.spigotmc.org/resources/protectionstones.10096/
Does it really use UUIDs?
Please upgrade this plugin to minecraft 1.8.x =D because its so simple and awesome to use ProtectionStones!
In our server we sell blocks in exchange of items (like 32 gold ingot for 64 raw beef), so ProtectionStones works perfectly for us as we can sell any ProtectionStones in our store using this method
Of course we are having some issues with the current ProtectionStones1.9j like owners cant interact with their stuff such as chest, doors, buttons etc. in the range of their own ProtectionStones :/
The thing it works like charm is to protect and block others who want to grief =D so we are using them as LockStones so when the owners arent in their own house or disconnect from the server they put this on their property
... Isnt fancy, we know that, but its the way we survive until you upgrade your plugin to minecraft 1.8.x so, keep it awesome, we'll keep waiting =D
@ddonofrio
It works well, but its doesn't support all PS features. I don't want to sell protectection ores, I want players to use a normal ore (that I define) for claiming areas. I want to have multiple ores with each having a different claim size.
If you add those features I change to your plugin, else I'll continue using Grief protection and waiting (hopefully) for PS to update.
@ddonofrio
OK, I'll have a better look at it in the new few days and try it out.
@markdf
LibelulaProtectionBlocks is simple as this plugin is. In fact I took the idea from this plugin. In fact I asked AxelDios about it source code for contributing on it but he denied my request breaking it self licence.
Just take a look to LibelulaProtectionBlocks feature list, it not also supports every single ProtectionStones functionalities but adds a lot of them.
@Krauti2
UUID support is the main problem. Grief Protection is very good, but overkill for what I want.
@markdf
Same idea ^^ Using Bedrock and Emeraldore.
ProtectionStones is not that bad. There are currently two significant issues with it:
- Lack of UUID support
- Flags are broken
Thats it.
Rest works reasonably fine.
@ddonofrio
It may not be maintained but you cant call it old fashioned when the other plugin is basicly identical, except that it appears you have to sell the ores for protection. I prefer players just supply their own. I had it set up to use emerald ore for protection, as it gave emeralds more value.
If I could define which type of ore a player could use (without them having to buy them), I'd consider your plugin and remove Grief Protection. As I preferred how simple and easy PS was to set up and for players to use.
No more excuses to continue using this old fashioned, non-mantained plugin:
The latest version v2.0.5 of LibelulaProtectionBlocks has an automatic importer from ProtectionStones. Just drop the binary file into the plugins directory and don't delete the ProtectionStones plugin, LibelulaProtectionBlocks will detects it and it will import all protections.
I highly recommend to use http://dev.bukkit.org/bukkit-plugins/libelula-protection-blocks/ instead. It supports Minecraft 1.8, WG 6.0, it functionality is better, it has the same simple usage and it performance is a hundred of times better (it consumes less than the 10% of the CPU than this plugin uses).
@dangerORclose
Remove flag "use" from config.