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).
This may sound silly but I just I can't remove protected zones after the ores have been placed! When I try /ps reclaim I get "An internal error occurred while attempting to perform this command". HELP!
Come on AxelDios !!!!
We've had 1.8 for more than 5 months !!!! What are you waiting for? We need the update to 1.8 If you want to wait for WG 6 to be bugless you'll probably have to wait forever. Get the job started PLEASE !
Can you update the plugin please?. A version compatible with WorldGuard 6.
@matt123777
@matt123777
I guess.. You need to put the item ID from the protection stone in the kit that that player is able to use! I hope you understand
@markdf
Thanks for the fast reply, but how would you add a protectionstone to one of the kits though? What would the item id be?
@matt123777
Assuming you are using essentials, modify the cfg to suit what you want
kits:
dtools:
delay: 2592000
items:
- 278 1 efficiency:1 durability:1 fortune:1 name:&4Gigadrill lore:The_drill_that_&npierces|the_heavens
- 277 1 digspeed:3 name:Dwarf lore:Diggy|Diggy|Hole
- 298 1 color:255,255,255 name:Top_Hat lore:Good_day,_Good_day
- 279:780 1
food:
delay: 2592000
items:
- 282 6
Is there a way to make players spawn with a protectionstone?
Hi,
I got it in my server but with ProtectionStones it does't work really... Where can I change the problem that Lava or drowning in water and fall damage for animals does damage... When I placed a protectionstone it doesn't damage the anminal... Not with lava or drowning or whatever... On some servers I played it does damage to the animals... But I can not find that in the Config to change that! I feel really stupid while im posting this comment.. Because I could not found any site where someone had the same problem.. I think im just stupid or something... :p I hope that someone can help me with this problem!
Best Regards!
Urgente!
As you know, worldguard in version 6.0 by default, flags pvp-use, values are deny. The problem is you can not use the / ps flag "flag", "value", I jump error. And all my users are complaining!
okay i now have 5.9 and it works well. but now if i (anyone) mines an ps stone the ps region will stay! i had the same in worldguard 6.0.5 so i downgraded to 6.0.3 but i this had the use permission bug. now in 5.9 im having the other bug again. i need help!
@Momibelle
Well, I figured it all out after a great deal of sleuthing ... the config had the flag set to use: DENY in 1.7 ... and we (Admins, not players) have had to manually change each region to ALLOW after updating to 1.8 (you also need to change it in your config, so that future placements will work OK). Players could not make the change.
I think this has to do with the flag not existing anymore in WorldGuard? Not sure.
having the same problem as @NLHoutblok
changed config , but when players or i do /ps flag use allow it says an internal error occured. people cant use buttons doors levers and craftingtables i need a fix asap!
Protection Stones no longer appears to work when you update to 1.8 using WorldGuard 6.0. Not sure if there will be a fix for this? Please let us know!
The plugin crash when someone destroy a protection ore
error log: [12:22:24 ERROR]: Could not pass event BlockBreakEvent to ProtectionStones v1.9j
org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:305) [spigot.jar:git-Spigot-26dfd01-ad2f806] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) [spigot.jar:git-Spigot-26dfd01-ad2f806] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:502) [spigot.jar:git-Spigot-26dfd01-ad2f806] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:487) [spigot.jar:git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.PlayerInteractManager.breakBlock(PlayerI nteractManager.java:286) [spigot.jar:git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.PlayerInteractManager.a(PlayerInteractMa nager.java:215) [spigot.jar:git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java :612) [spigot.jar:git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.PacketPlayInBlockDig.a(SourceFile:40) [s pigot.jar:git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.PacketPlayInBlockDig.a(SourceFile:10) [s pigot.jar:git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.PlayerConnectionUtils$1.run(SourceFile:1 3) [spigot.jar:git-Spigot-26dfd01-ad2f806] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [ ?:1.7.0_21] at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) [?:1.7. 0_21] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_21] at net.minecraft.server.v1_8_R2.SystemUtils.a(SourceFile:60) [spigot.jar :git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:7 10) [spigot.jar:git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:3 68) [spigot.jar:git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:6 51) [spigot.jar:git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java :554) [spigot.jar:git-Spigot-26dfd01-ad2f806] at java.lang.Thread.run(Unknown Source) [?:1.7.0_21] Caused by: java.lang.NoSuchMethodError: com.sk89q.worldguard.protection.managers .RegionManager.removeRegion(Ljava/lang/String;)Ljava/util/Set; at com.axeldios.ProtectionStones.ProtectionStonesBlockListener.onBlockBr eak(ProtectionStonesBlockListener.java:85) [?:?] at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1 .7.0_21] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_21] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:301) [spigot.jar:git-Spigot-26dfd01-ad2f806] ... 18 more
I had the issue with regions not being deleted, ensure you download the 6.0 version of world guard, it wont auto go to 6.0 when on the page and u click the big download, do u need to scroll down and on the right you'll see the button for versions
@Skyyofficial
no there is not a way to limit number of each type of stone separately that i am aware of. however you can say group1 can use stone1 group2 can use stone2 group3 can use stone1,stone2,and stone3 etc.
When players destroy the sponge it does not delete region
is there a way that group1 a can only place stone1 one time and stone2 three times and group2 can place the stone1 two times and stone2 five times as axample? i cant just do some group with an maximum amount for stone 1 and another groupt with other stone type and then give one group both permissions.. is there a way i can make different stones with different maximums for each group? i hope this isnt too confusing
@BrokenBlox
Hey Broken you can set the default flags in the config. You just have to list the flags you want it to automatically have. However any existing protection stones they will have to break and then place again.
@mal67
I am having the same issue. A lot of my players are waiting so that they can updat their flags.
still can not have players set flags in their regions with /ps flag just gives an internal error. did i just miss something?