Spigot ResPistonFix 1.1

Prevent griefing using piston to push/pull blocks in/out from residence

  1. USunOfBeach submitted a new resource:

    ResPistonFix - Prevent using piston to push/pull blocks in/out from residence

    Read more about this resource...
     
    #1 USunOfBeach, Mar 18, 2015
    Last edited: Mar 18, 2015
  2. Gonna test it out, but the idea seem super helpful!
     
  3. It's doesn't work

    Spigot 1.8.3 R0.1

    Could not load 'plugins/ResPistonFix.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: org/whycraft/ResPistonFix/ResPistonFix : Unsupported major.minor version 52.0
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[craftbukkit.jar:git-Spigot-2ec6f06-7722428]
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[craftbukkit.jar:git-Spigot-2ec6f06-7722428]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit.jar:git-Spigot-2ec6f06-7722428]
    at org.bukkit.craftbukkit.v1_8_R2.CraftServer.loadPlugins(CraftServer.java:291) [craftbukkit.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.DedicatedServer.init(DedicatedServer.java:199) [craftbukkit.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:522) [craftbukkit.jar:git-Spigot-2ec6f06-7722428]
    at java.lang.Thread.run(Thread.java:745) [?:1.7.0_80]
    Caused by: java.lang.UnsupportedClassVersionError: org/whycraft/ResPistonFix/ResPistonFix : Unsupported major.minor version 52.0
    at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_80]
    at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[?:1.7.0_80]
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.7.0_80]
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) ~[?:1.7.0_80]
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71) ~[?:1.7.0_80]
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[?:1.7.0_80]
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[?:1.7.0_80]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_80]
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[?:1.7.0_80]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[craftbukkit.jar:git-Spigot-2ec6f06-7722428]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[craftbukkit.jar:git-Spigot-2ec6f06-7722428]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_80]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_80]
    at java.lang.Class.forName0(Native Method) ~[?:1.7.0_80]
    at java.lang.Class.forName(Class.java:278) ~[?:1.7.0_80]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[craftbukkit.jar:git-Spigot-2ec6f06-7722428]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[craftbukkit.jar:git-Spigot-2ec6f06-7722428]
    ... 6 more
     
  4. java 6 I guess?
    you can try to update your JRE
    I will try to compile it against a lower JDK too.
     
  5. Firstly, I'm from Russia, so my English is not very good, I am sorry for that)
    My server is installed on the game hosting. With java update may be difficult) I write to hosting support.
    it would be nice if you add support for java 6. Thanks in advance
     
  6. try this if convenient, I compiled it against java7 instead of java8.
    https://www.dropbox.com/s/ndur9x0gxjszwzj/ResPistonFix.jar?dl=0
     
    • Like Like x 1