Looking For A Java Coder

Discussion in 'Plugin Development' started by g0dlike97, Apr 10, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    g0dlike97

    Long story short, I need a plugin updated to 1.2.5 R1 because it broke with Bukkit 1.1R6.
    The plugin is called Ban Axe and the original bukkit link can be found here:
    http://forums.bukkit.org/threads/admn-fun-banaxe-ban-and-have-fun-1337.43186/

    The source code is here:
    https://github.com/se1by/BanAxe

    Note// I'm not using MCBans nor intending to use it. Sticking with Essentials, Using PermissionsEx.

    If you have experience in Java and are willing to update this plugin, Please add me on Skype.
    Skype Username: matejpendes

    I will obviously be paying you.
     
  2. Offline

    messageofdeath

    Here you go. Tell me what doesn't work <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Nov 11, 2016
  3. Offline

    g0dlike97

    Hm, Hasn't worked. :s I get this error in console

    Code:
    2012-04-10 14:51:54 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R1.0-b2149jnks (MC: 1.2.5) (Implementing API version 1.2.5-R1.0)
    2012-04-10 14:51:54 [SEVERE] Could not load 'plugins/BanAxe.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/se1by/BanAxe/BanAxe : Unsupported major.minor version 51.0
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:150)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
    at org.bukkit.craftbukkit.CraftServer.(CraftServer.java:183)
    at net.minecraft.server.ServerConfigurationManager.(ServerConfigurationManager.java:53)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.UnsupportedClassVersionError: me/se1by/BanAxe/BanAxe : Unsupported major.minor version 51.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:139)
    ... 8 more
    Anyone? :\

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
  4. Offline

    Sagacious_Zed Bukkit Docs

    That particular exception means someone is compiling with a major version of java greater than the server.
     
  5. Offline

    r0306

    Try this: <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Nov 11, 2016
  6. Offline

    g0dlike97

    With that one, r0306, It picks it up in-game but i get an internal error message with this error in console
    and it doesnt make a BanAxe folder in the /plugins directory

    Code:
    11:48:53 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'bana
    xe' in plugin BanAxe v0.1.2
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    6)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4
    73)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:821)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
     
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
            at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
            at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7
    8)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NullPointerException
            at com.github.r0306.BanAxe.BanAxe.onCommand(BanAxe.java:76)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 12 more
     
  7. Offline

    r0306

    Updated the link to a working one.
     
  8. Offline

    g0dlike97

    Still nothing. :s
     
  9. Offline

    Tonkovich

    Currently I am at school. When I have access to a computer that can actually compile and use eclipse, I will update the plugin for you and post a link. I'm guessing the only thing to do is update all the API's.

    Since according to your description you don't want to use MCBans so I'll just remove the MCBanEvent.java to lighten up the plugin. I will however post a BanAxe with MCBans event (If it compiles correctly) if you or someone else reading this wants to use that event.

    Skype: tonk331
    ETA: 1-2 Hours
    Email: [email protected]
     
  10. Offline

    g0dlike97

    Thanks so much!
     
  11. Offline

    Tonkovich

    Just started since I just got some time in.

    Update: I've updated the plugin to at least load. I am now working on the BanEvent
    Update: Commands working - Banning event still broken

    Completed: <Edit by Moderator: Redacted mediafire url>
    * Updated API's
    * Dropped MCBans Support
    * Cleaned Code
    * and it works :D

    Built from the source you gave and nothing else.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 11, 2016
Thread Status:
Not open for further replies.

Share This Page