Plugin Stargate DGLT

Discussion in 'Spigot Plugin Help' started by Bagu, Jul 1, 2016.

  1. Hello,

    I use DGLT Stargate plugin since a long time.
    But, i have upgraded to spigot 1.10 and i receive this error :

    01/07/2016 12:30:19 at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
    01/07/2016 12:30:19 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    01/07/2016 12:30:19 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    01/07/2016 12:30:19 at java.lang.Thread.run(Unknown Source)
    01/07/2016 12:30:19 Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player;
    01/07/2016 12:30:19 at net.TheDgtl.Stargate.MetricsLite.postPlugin(MetricsLite.java:285)
    01/07/2016 12:30:19 at net.TheDgtl.Stargate.MetricsLite.access$3(MetricsLite.java:278)
    01/07/2016 12:30:19 at net.TheDgtl.Stargate.MetricsLite$1.run(MetricsLite.java:173)
    01/07/2016 12:30:19 at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71)
    01/07/2016 12:30:19 at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)

    As i know, the getOnlinePlayers has been deprecated, but i don't know how to correct this.
    Can you help me to correct this or do you know an other plugin as cool as this one ?

    Tanks a lot.
     
  2. MiniDigger

    Supporter

    your plugin is outdated. try to get a newer version.
    if that is not possible you can fix the plugin useing a tool called special source:
    https://www.spigotmc.org/threads/minecraft-1-9-release.127186/
     
    • Useful Useful x 1
  3. Hello,

    This plugin is no longer under developpement.
    So, i use your command and it work really fine ;)

    Thanks a lot ;)
     
  4. Hello, Bagu.

    Being new to Spigot (meaning, me), could you step out the process you followed to put in the plugin and the steps for the fix you performed that enabled the plugin to work for you?

    Thank you.
     
  5. MiniDigger

    Supporter

    You can do that via a tool called special source. The exact usage is described here https://www.spigotmc.org/threads/minecraft-1-9-release.127186/
    You just need to execute one command. If you run into any problems be sure to get back to me, I might be able to assist you.