Bungee - Spigot Ancient Gates 2.5.1

Regular and Bungee portal plugin that works from 1.7 to 1.18

  1. tspringst33n submitted a new resource:

    Ancient Gates - Ancient Gates, Updated for 1.8.3/1.8.4.
    This update fixes the bug that breaks the plugin after a restart/reload.

    Read more about this resource...
     
    #1 tspringst33n, May 1, 2015
    Last edited: May 1, 2015
  2. Ok. I thought it was fixed when I tested it on my server. I will take another look at the code.
     
    • Like Like x 1
  3. You need to replace the Gsons with something 1.8.3 compatible.
    [01:03:43 ERROR]: Could not load 'plugins\AncientGates (2).jar' in folder 'plugi
    ns'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bu
    kkit/craftbukkit/libs/com/google/gson/GsonBuilder
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:135) ~[spigot.jar:git-Spigot-1d14d5f-ba32592]
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:329) ~[spigot.jar:git-Spigot-1d14d5f-ba32592]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:251) [spigot.jar:git-Spigot-1d14d5f-ba32592]
    at org.bukkit.craftbukkit.v1_8_R2.CraftServer.loadPlugins(CraftServer.ja
    va:291) [spigot.jar:git-Spigot-1d14d5f-ba32592]
    at net.minecraft.server.v1_8_R2.DedicatedServer.init(DedicatedServer.jav
    a:199) [spigot.jar:git-Spigot-1d14d5f-ba32592]
    at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java
    :522) [spigot.jar:git-Spigot-1d14d5f-ba32592]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_45]
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/libs/com/googl
    e/gson/GsonBuilder
    at org.mcteam.ancientgates.Plugin.<clinit>(Plugin.java:92) ~[?:?]
    at java.lang.Class.forName0(Native Method) ~[?:1.8.0_45]
    at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_45]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.jav
    a:64) ~[spigot.jar:git-Spigot-1d14d5f-ba32592]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:131) ~[spigot.jar:git-Spigot-1d14d5f-ba32592]
    ... 6 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.libs.com.goo
    gle.gson.GsonBuilder
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:91) ~[spigot.jar:git-Spigot-1d14d5f-ba32592]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:86) ~[spigot.jar:git-Spigot-1d14d5f-ba32592]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_45]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_45]
    at org.mcteam.ancientgates.Plugin.<clinit>(Plugin.java:92) ~[?:?]
    at java.lang.Class.forName0(Native Method) ~[?:1.8.0_45]
    at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_45]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.jav
    a:64) ~[spigot.jar:git-Spigot-1d14d5f-ba32592]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:131) ~[spigot.jar:git-Spigot-1d14d5f-ba32592]
    ... 6 more
     
  4. I think the problem is in the earlier versions of bukkit there were the gson in the jar but I think it was removed and it causes an error when restarted
     
  5. Zaino60

    Supporter

    SO, is there a way to fix it?
     
  6. Yes, but it will likely take him some time.
     
    • Like Like x 1
  7. Found the problem. It was a reload void that had 4 lines that caused all the problems. I am going to upload a new version 1.9.1
     
    • Like Like x 3
    • Like Like x 2
    • Useful Useful x 1
  8. It shows you are using a jar called AncientGates1-8-3.jar.

    The jar I am distributing is called AncientGates.jar
     
    #11 tspringst33n, May 2, 2015
    Last edited: May 2, 2015
  9. No I renamed the file that to make it so I didn't get it confused with the old one.
    I redownloaded it again, then started it up, it worked, then I restarted it, the jar file size increased in size, and it didn't work.

    I WAS able to get it to work by setting it as read only, but that is not a good solution.. Especially for those who don't have a dedicated server.
     
  10. It was working before I uploaded it. I can't figure out why it keeps breaking.
     
  11. Well I am using the newest build of spigot. I compiled it 30 minutes ago. It is running on windows 8.1. Java 1.7 update 75.

    Also, on the bukkit page, someone messaged me this:
     
  12. Not working for me
     
  13. I found an error. It happens when a player joins.
    [17:18:31 WARN]: [AncientGates] Task #117 for AncientGates v1.9.1 generated an e
    xception
    java.lang.ClassCastException: java.util.Collections$UnmodifiableRandomAccessList
    cannot be cast to org.bukkit.plugin.messaging.PluginMessageRecipient
    at org.mcteam.ancietgates.tasks.BungeeServerList.run(BungeeServerList.j
    ava:23) ~[?:?]
    at org.bukkit.craftbukkit.v1_8_R2.scheduler.CraftTask.run(CraftTask.java
    :71) ~[spigot.jar:git-Spigot-2ec6f06-7722428]
    at org.bukkit.craftbukkit.v1_8_R2.scheduler.CraftScheduler.mainThreadHea
    rtbeat(CraftScheduler.java:350) [spigot.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:7
    20) [spigot.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:3
    68) [spigot.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:6
    51) [spigot.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java
    :554) [spigot.jar:git-Spigot-2ec6f06-7722428]
    at java.lang.Thread.run(Unknown Source) [?:1.7.0_75]
     
  14. Local gates works for me but bungeecord gates are broken. My Server can't connect over Bungeecord.
    If i try to go inside a bungeecord portal then i get an error.

    http://pastebin.com/qj02EcR3

    @LizardFreak7
    Try to disable AutoUpdate in the config.

    Sry for bad english :D
     
    • Like Like x 1