GAListener Error

Discussion in 'Spigot Plugin Development' started by VentureForo, Jun 24, 2016.

Thread Status:
Not open for further replies.
  1. Hi, could someone please help here?
    http:://hastebin.com/itivixexig.avrasm
    Log file in console:
    Thanks <3

    [GAListener] Task #456 for GAListener v1.3.2 generated an exception
    java.lang.NoSuchMethodError: org.bukkit.Server._INVALID_getOnlinePlayers()[Lorg/bukkit/entity/Player;
    at com.swifteh.GAL.GAL$6.run(GAL.java:409) ~[?:?]
    at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723) [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.7.0_101]
     
    • Informative Informative x 1
    • Useful Useful x 1
    • Funny Funny x 1
    • Agree Agree x 1
  2. Tux

    Tux

    Use paid GAListener or find another plugin.

    Also, don't use unreadable colors.
     
  3. xD
     
    • Like Like x 1
  4. Skilled in java eh? Its called a JavaDocs, and if you looked at the method you used, it says _INVALID_, and what does that mean?
    er.png

    therefore, using this logically inconsequent method would not work.
    The advisable method is getOnlinePlayers(), which would return a collection of players online.
     
Thread Status:
Not open for further replies.