Spigot Protection Stones 2.0

A simple, lightweight, protection plugin for your server!

  1. therealmcrafter submitted a new resource:

    Protection Stones - A simple, lightweight, protection plugin for your server!

    Read more about this resource...
     
  2. This doesnt work at all.
     
  3. Can you tell me what problem you're having? Do you have worldguard and worldedit installed? Any errors in the console?
     
  4. No errors in the console and yes to both plugins.
    placing an ore block down doesn't appear to show any sign of it working. I removed plugin already so can't provide more details sorry.

    also, the ps commands were not working.
     
  5. The plugin must not have been enabled then, as I am currently running this on my server, 1.11, with no issues.
     
  6. Can you please add

    - Option to choose which block can be used for protection
    - Option to Enable/Disable some protects (like if only want to use 1-2 blocks for protect)
    - Messages (lang.yml)
     
  7. Please make limit protection.
     
  8. @Socialclubz.com I havent tested it on 1.12 yet but it should work fine, as long as WorldGuard and WorldEdit support 1.12 as well!
     
  9. Maybe in the near future I can add these. I only put this up because theres no other block protection plugin for 1.8+ that even works. I currently have about 5 other custom plugins on the go for my server, so maybe when theyre done Ill update this.
     
  10. 1. @therealmcrafter, if a block is private to break with the explosion, will remain private, could you fix it? I will be grateful to you for it heartily.

    2. I also get an error in the console

    Code (Text):
    [13:17:01 ERROR]: Could not pass event BlockPlaceEvent to ProtectionStones v2.0
    org.bukkit.event.EventException: null
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.12.jar:git-Spigot-7228328-11323bf]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.12.jar:git-Spigot-7228328-11323bf]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [spigot-1.12.jar:git-Spigot-7228328-11323bf]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot-1.12.jar:git-Spigot-7228328-11323bf]
            at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:149) [spigot-1.12.jar:git-Spigot-7228328-11323bf]
            at net.minecraft.server.v1_12_R1.ItemStack.placeItem(ItemStack.java:207) [spigot-1.12.jar:git-Spigot-7228328-11323bf]
            at net.minecraft.server.v1_12_R1.PlayerInteractManager.a(PlayerInteractManager.java:495) [spigot-1.12.jar:git-Spigot-7228328-11323bf]
            at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:944) [spigot-1.12.jar:git-Spigot-7228328-11323bf]
            at net.minecraft.server.v1_12_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37) [spigot-1.12.jar:git-Spigot-7228328-11323bf]
            at net.minecraft.server.v1_12_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1) [spigot-1.12.jar:git-Spigot-7228328-11323bf]
            at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.jar:git-Spigot-7228328-11323bf]
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_101]
            at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_101]
            at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.jar:git-Spigot-7228328-11323bf]
            at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:747) [spigot-1.12.jar:git-Spigot-7228328-11323bf]
            at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405) [spigot-1.12.jar:git-Spigot-7228328-11323bf]
            at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.12.jar:git-Spigot-7228328-11323bf]
            at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.12.jar:git-Spigot-7228328-11323bf]
            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
    Caused by: java.lang.NoSuchMethodError: com.sk89q.worldguard.protection.flags.StringFlag.parseInput(Lcom/sk89q/worldguard/bukkit/WorldGuardPlugin;Lorg/bukkit/command/CommandSender;Ljava/lang/String;)Ljava/lang/String;
            at TheRealMcrafter.ProtectionStones.main.ProtectionStones.onBlockPlace(ProtectionStones.java:137) ~[?:?]
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
            at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.12.jar:git-Spigot-7228328-11323bf]
            ... 18 more
     
     
    #11 minez, Jul 11, 2017
    Last edited: Jul 11, 2017
  11. @minez Do you have the version of worldguard listed in the plugin thread? Also maybe in the near future I can add that. I only put this up because theres no other block protection plugin for 1.8+ that even works. I currently have about 5 other custom plugins on the go for my server, so maybe when theyre done Ill update this.
     
  12. I have some problem. The commands work but when i put an ore in the ground doesn't appear to happen something so idk what to do.
     
  13. Are you using the correct ores? Do you have worldguard and worldedit installed?
     
  14. the plugin sis awesome! keep doing pugrades please, does not work with spigot servers 1.12 and i have worlds guard and edit no errors in console just the ores does not doing nothing thank you!
     
  15. Good plugin! Is it possible to change the block?

    Thanks!
     
  16. x2
     
  17. Does it still work?
     
  18. Yes
     
  19. 1.13 :ร้องไห้: