Bungee - Spigot BungeeServerSelector 1.0

Shows a server selector GUI with /servers

  1. i love the idea of this plugin, but im getting the following class dependency error on startup.

    Code (Text):
    17:11:52 [WARNING] Error enabling plugin BungeeServerSelector
    java.lang.NoClassDefFoundError: org/bukkit/event/Listener
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at net.md_5.bungee.api.plugin.PluginClassloader.loadClass0(PluginClassloader.java:34)
        at net.md_5.bungee.api.plugin.PluginClassloader.loadClass(PluginClassloader.java:27)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at net.md_5.bungee.api.plugin.PluginManager.enablePlugin(PluginManager.java:297)
        at net.md_5.bungee.api.plugin.PluginManager.loadPlugins(PluginManager.java:205)
        at net.md_5.bungee.BungeeCord.start(BungeeCord.java:247)
        at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:54)
        at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.Listener
        at net.md_5.bungee.api.plugin.PluginClassloader.loadClass0(PluginClassloader.java:53)
        at net.md_5.bungee.api.plugin.PluginClassloader.loadClass(PluginClassloader.java:27)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 18 more
    any help is appreciated.

    - scun
     
  2. It looks like you put the plugin in your bungee instance. This is a bukkit/spigot plugin so put it in the plugins folder for the servers you want the commands on.
     
  3. ah thats a shame, was hoping it was on the bungeecord side. okay will do, thanks.

    - scun
     
  4. Any screenshots?
     
  5. Maybe add %playercount% and %playermax% for the lore
     
  6. so nice can you please add compass enchant and servers item enchants and as davionnl suggestion playercount and playermax!

    wellplayed! im gonna watch the thread!
     
  7. Hey, sorry for the late response. I'll add both DavidozNL and kampuman's suggestions to the todo list.
     
  8. It spams my chat with Player count on server %server% is equal to 0..
     
  9. also the %playercount% variable doesnt work. It just says %playercount%. Idk if thats because of 0 players online but maybe change it to just 0 if thats the case.
     
  10. %playercount% doesn't work!
     
  11. Dosnt load when i put it into my bungecord plugins directory.
     
  12. Hey, this is a bukkit/spigot plugin, not a bungee plugin.
     
  13. I get the following error in my console when I attempt to type /servers

    15.08 14:56:38 [Server] INFO ... 13 more
    15.08 14:56:38 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.7.10.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    15.08 14:56:38 [Server] INFO at com.danoverflow.bungeeserverselector.BungeeServerSelector.onCommand(BungeeServerSelector.java:111) ~[?:?]
    15.08 14:56:38 [Server] INFO at com.danoverflow.bungeeserverselector.BungeeServerSelector.getInv(BungeeServerSelector.java:65) ~[?:?]
    15.08 14:56:38 [Server] INFO Caused by: java.lang.NullPointerException
    15.08 14:56:38 [Server] INFO at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot-1.7.10.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    15.08 14:56:38 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot-1.7.10.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    15.08 14:56:38 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigot-1.7.10.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    15.08 14:56:38 [Server] INFO at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [spigot-1.7.10.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    15.08 14:56:38 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734) [spigot-1.7.10.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    15.08 14:56:38 [Server] INFO at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [spigot-1.7.10.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    15.08 14:56:38 [Server] INFO at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:186) [spigot-1.7.10.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    15.08 14:56:38 [Server] INFO at net.minecraft.server.v1_7_R4.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot-1.7.10.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    15.08 14:56:38 [Server] INFO at net.minecraft.server.v1_7_R4.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot-1.7.10.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    15.08 14:56:38 [Server] INFO at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:880) [spigot-1.7.10.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    15.08 14:56:38 [Server] INFO at net.minecraft.server.v1_7_R4.PlayerConnection.handleCommand(PlayerConnection.java:1043) [spigot-1.7.10.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    15.08 14:56:38 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:767) ~[spigot-1.7.10.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    15.08 14:56:38 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) ~[spigot-1.7.10.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    15.08 14:56:38 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.7.10.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
    15.08 14:56:38 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'servers' in plugin BungeeServerSelector v1.0
    15.08 14:56:38 [Server] INFO [14:56:38 ERROR]: null
     
  14. I assumed it was bungee because of this:
    A plugin for Bungee servers. Type /servers and a GUI to select a server to join comes up.