Bungee - Spigot BGtoLobbySystem 2.3

Implement an automatic system that move players from BukkitGames to a selected lobby

  1. Hexel submitted a new resource:

    BGtoLobbySystem - Implement an automatic system that move players from BukkitGames to a selected lobby

    Read more about this resource...
     
  2. @Hexel I have this error:

    Code (Text):
    [14:36:36 ERROR]: Could not load 'plugins/BGToLobbySystem.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: Cannot find main class `eu.hexelgaming.bgtolobby.BGToLobby'
            at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:66) ~[spigot.jar:git-Spigot-5f38d38-18fbb24]
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[spigot.jar:git-Spigot-5f38d38-18fbb24]
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot.jar:git-Spigot-5f38d38-18fbb24]
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot.jar:git-Spigot-5f38d38-18fbb24]
            at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:292) [spigot.jar:git-Spigot-5f38d38-18fbb24]
            at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:198) [spigot.jar:git-Spigot-5f38d38-18fbb24]
            at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigot.jar:git-Spigot-5f38d38-18fbb24]
            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66]
    Caused by: java.lang.ClassNotFoundException: eu.hexelgaming.bgtolobby.BGToLobby
            at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_66]
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot.jar:git-Spigot-5f38d38-18fbb24]
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot.jar:git-Spigot-5f38d38-18fbb24]
            at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_66]
            at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_66]
            at java.lang.Class.forName0(Native Method) ~[?:1.8.0_66]
            at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_66]
            at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[spigot.jar:git-Spigot-5f38d38-18fbb24]
            ... 7 more
     
     
  3. OMG, my bad :mad:

    I'll fix once at home sorry for this :/
    (In about 1,5 hours I'll release an update)
     
  4. Got this (new) error with the latest version:

    Code (Text):
    [19:11:44 WARN]: [BGStatuSigns] Task #122 for BGStatuSigns v2.2 generated an exception
    java.lang.NullPointerException
            at eu.hexelgaming.bgstatusigns.a.a(B.java:41) ~[?:?]
            at eu.hexelgaming.bgstatusigns.g$3.run(S.java:107) ~[?:?]
            at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot.jar:git-Spigot-5f38d38-18fbb24]
            at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot.jar:git-Spigot-5f38d38-18fbb24]
            at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723) [spigot.jar:git-Spigot-5f38d38-18fbb24]
            at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-5f38d38-18fbb24]
            at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-5f38d38-18fbb24]
            at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-5f38d38-18fbb24]
            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66]
     
     
  5. Thank you for the report, again :D

    this error haven't effects on the plugin functions ;)
    It's just a stupid error...

    Anyway i'm gona figure it out...


    UPDATE: now is fixed, you will find it in the new update (I'll relase it tomorrow or this night)
     
    #9 Hexel, Nov 7, 2015
    Last edited: Nov 7, 2015
    • Like Like x 1
  6. @Hexel I got this error

    Code (Text):
    Could not load 'plugins/BGToLobbySystem.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: eu/hexelgaming/bgtolobby/BGToLobby : Unsupported major.minor version 52.0
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24]
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:292) [spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24]
        at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:198) [spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24]
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24]
        at java.lang.Thread.run(Thread.java:745) [?:1.7.0_85]
    Caused by: java.lang.UnsupportedClassVersionError: eu/hexelgaming/bgtolobby/BGToLobby : Unsupported major.minor version 52.0
        at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_85]
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[?:1.7.0_85]
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.7.0_85]
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) ~[?:1.7.0_85]
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71) ~[?:1.7.0_85]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[?:1.7.0_85]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[?:1.7.0_85]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_85]
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[?:1.7.0_85]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_85]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_85]
        at java.lang.Class.forName0(Native Method) ~[?:1.7.0_85]
        at java.lang.Class.forName(Class.java:278) ~[?:1.7.0_85]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[spigot-1.8.8.jar:git-Spigot-5f38d38-18fbb24]
     
  7. You are using Java 7, this plugin support only java 8...

    I'll release a new version for java 7 in about one hour ;)
     
  8. I am stupid :) I have not even watched
     
    • Funny Funny x 1
  9. I'm getting this error when doing /lobby in-game:
    Code (Text):
    [13:48:01 INFO]: Permanently issued server command: /lobby
    [13:48:01 ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'lobby' in plugin BGLobby v2.3
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
            at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]
            at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]
            at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
    Caused by: java.lang.NullPointerException
            at java.io.DataOutputStream.writeUTF(DataOutputStream.java:347) ~[?:1.8.0_91]
            at java.io.DataOutputStream.writeUTF(DataOutputStream.java:323) ~[?:1.8.0_91]
            at eu.hexelgaming.bgtolobby.EventListener.sendPlayer(EventListener.java:54) ~[?:?]
            at eu.hexelgaming.bgtolobby.F.onCommand(F.java:17) ~[?:?]
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
            ... 15 more
     
  10. Have you change the configs field?
     
  11. Yes.
     
  12. Can you post your config.yml?
     
  13. Sure, here it is:
    Code (Text):
    #  __    __                                __   ______                           __                    
    # /  |  /  |                              /  | /      \                         /  |                  
    # $$ |  $$ |  ______   __    __   ______  $$ |/$$$$$$  |  ______   _____  ____  $$/  _______    ______
    # $$ |__$$ | /      \ /  \  /  | /      \ $$ |$$ | _$$/  /      \ /     \/    \ /  |/       \  /      \
    # $$    $$ |/$$$$$$  |$$  \/$$/ /$$$$$$  |$$ |$$ |/    | $$$$$$  |$$$$$$ $$$$  |$$ |$$$$$$$  |/$$$$$$  |
    # $$$$$$$$ |$$    $$ | $$  $$<  $$    $$ |$$ |$$ |$$$$ | /    $$ |$$ | $$ | $$ |$$ |$$ |  $$ |$$ |  $$ |
    # $$ |  $$ |$$$$$$$$/  /$$$$  \ $$$$$$$$/ $$ |$$ \__$$ |/$$$$$$$ |$$ | $$ | $$ |$$ |$$ |  $$ |$$ \__$$ |
    # $$ |  $$ |$$       |/$$/ $$  |$$       |$$ |$$    $$/ $$    $$ |$$ | $$ | $$ |$$ |$$ |  $$ |$$    $$ |
    # $$/   $$/  $$$$$$$/ $$/   $$/  $$$$$$$/ $$/  $$$$$$/   $$$$$$$/ $$/  $$/  $$/ $$/ $$/   $$/  $$$$$$$ |
    #                               BukkitGames to Lobby by Hexel                                 /  \__$$ |
    #                         For any issue PM  me on http://spigotmc.org/                        $$    $$/
    #                                 http://www.hexelgaming.eu                                    $$$$$$/

    #-------------------DEFAULT LOBBY--------------------
    #       DEFAULT LOBBY WHERE TO CONNECT PLAYERS       |
    #       This is the name of the lobby in Bungee      |
    DEAFAULT_LOBBY: "hg"
    #----------------------------------------------------

    #-----------------REDIRECT ON DEATH------------------
    # IF you want to redirect players on Death           |
    # Make sure that BukkitGames have this config fields |
    # KICK_ON_DEATH: false                               |
    # SPECTATORS: true                                   |
    #                 use true or false                  |
    #        to allow and disallow this function         |
    PLAYER_DEATH_TO_LOBBY: false
    #----------------------------------------------------

    #------------------END GAME OPTIONS------------------
    # Set this to true if you want to teleport players   |
    # to the default lobby after the end of the game     |
    #                 use true or false                  |
    #        to allow and disallow this function         |
    END_OF_GAME_TO_LOBBY: true
    # TIME BEFORE PLAYERS REDIRECT TO THE DEFAULT LOBBY  |
    #      Time in seconds before lobby redirect         |
    TIME_AFTER_END_TO_REDIRECT: 9
    #----------------------------------------------------

    #------------ALLOW BACK TO LOBBY COMMAND-------------
    #         If you want players to use /lobby          |
    #                 use true or false                  |
    #        to allow and disallow this function         |
    ALLOW_BACK_TO_LOBBY_COMMAND: true
    #----------------------------------------------------

    #-------------ALLOW BACK TO HUB COMMAND--------------
    #           If you want players to use /hub          |
    #                 use true or false                  |
    #        to allow and disallow this function         |
    ALLOW_BACK_TO_HUB_COMMAND: false
    #----------------------------------------------------
     
  14. Hum, from your log same that your lobby name is wrong, hg is your lobby or your bg's server?