Universal AlwaysOnline 6.1.4

Keep your server running while mojang is offline, Supports all server versions!

  1. Do you plan on updating to 1.16?
     
  2. Does it not work?
     
  3. Here is the error I am receiving in my logs.

    [02:35:19 ERROR]: Error occurred while enabling AlwaysOnline v6.1.2 (Is it up to date?)
    java.lang.ExceptionInInitializerError: null
    at me.johnnywoof.ao.spigot.SpigotLoader.onEnable(SpigotLoader.java:37) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.2.jar:git-Paper-189]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.16.2.jar:git-Paper-189]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.2.jar:git-Paper-189]
    at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugin(CraftServer.java:499) ~[patched_1.16.2.jar:git-Paper-189]
    at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugins(CraftServer.java:413) ~[patched_1.16.2.jar:git-Paper-189]
    at net.minecraft.server.v1_16_R2.MinecraftServer.loadWorld(MinecraftServer.java:468) ~[patched_1.16.2.jar:git-Paper-189]
    at net.minecraft.server.v1_16_R2.DedicatedServer.init(DedicatedServer.java:241) ~[patched_1.16.2.jar:git-Paper-189]
    at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:939) ~[patched_1.16.2.jar:git-Paper-189]
    at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.2.jar:git-Paper-189]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_261]
    Caused by: java.lang.IllegalArgumentException: Cannot find field with type class com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService
    at me.johnnywoof.ao.utils.Reflection.getField(Reflection.java:177) ~[?:?]
    at me.johnnywoof.ao.utils.Reflection.getField(Reflection.java:175) ~[?:?]
    at me.johnnywoof.ao.utils.Reflection.getField(Reflection.java:175) ~[?:?]
    at me.johnnywoof.ao.utils.Reflection.getField(Reflection.java:175) ~[?:?]
    at me.johnnywoof.ao.utils.Reflection.getField(Reflection.java:121) ~[?:?]
    at me.johnnywoof.ao.spigot.authservices.NMSAuthService.<clinit>(NMSAuthService.java:84) ~[?:?]
    ... 11 more
     
  4. Could you please try:
    https://github.com/Dablakbandit/always-online/raw/master/output/always-online-latest.jar

    And get back to me?

    Cheers
     
  5. Plugin loaded and seems to be working, servers have not gone down so I've not gotten the chance to test it, however the commands are now indeed working! Thanks for the quick support, friend!
     
  6. No problem :) was a mission to get working since the mojang auth lib has changed, but glad I was able to.
     
  7. I believe for now you can add
    Code (Text):
    --illegal-access=permit
    to your startup parameters
     
  8. I did, but just thought I'd make you aware of it if you didn't already know.
     
  9. Appreciate it, will update everything once 1.17 drops with correct fixes
     
  10. Error with latest version

    Code (Text):
    [21:38:00] [Server thread/INFO]: [AlwaysOnline] Enabling AlwaysOnline v6.1.3*
    [21:38:00] [Server thread/INFO]: [AlwaysOnline] Loading configuration...
    [21:38:00] [Server thread/INFO]: [AlwaysOnline] Loading file database...
    [21:38:00] [Server thread/INFO]: [AlwaysOnline] Database is ready to go!
    [21:38:00] [Server thread/INFO]: [AlwaysOnline] Mojang help page check: false
    [21:38:00] [Server thread/INFO]: [AlwaysOnline] Head Session server check: true
    [21:38:00] [Server thread/INFO]: [AlwaysOnline] Total check methods active: 1
    [21:38:00] [Server thread/INFO]: [AlwaysOnline] Setting up NMS authentication service...
    [21:38:00] [Server thread/WARN]: java.lang.ClassNotFoundException: net.minecraft.server.v1_17_R1.MinecraftServer
    [21:38:00] [Server thread/WARN]:     at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:146)
    [21:38:00] [Server thread/WARN]:     at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:103)
    [21:38:00] [Server thread/WARN]:     at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519)
    [21:38:00] [Server thread/WARN]:     at java.base/java.lang.Class.forName0(Native Method)
    [21:38:00] [Server thread/WARN]:     at java.base/java.lang.Class.forName(Class.java:375)
    [21:38:00] [Server thread/WARN]:     at me.johnnywoof.ao.utils.NMSUtils.getNMSClassWithException(NMSUtils.java:93)
    [21:38:00] [Server thread/WARN]:     at me.johnnywoof.ao.utils.NMSUtils.getNMSClass(NMSUtils.java:98)
    [21:38:00] [Server thread/WARN]:     at me.johnnywoof.ao.spigot.authservices.NMSAuthSetup.<clinit>(NMSAuthSetup.java:16)
    [21:38:00] [Server thread/WARN]:     at me.johnnywoof.ao.spigot.SpigotLoader.onEnable(SpigotLoader.java:38)
    [21:38:00] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
    [21:38:00] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370)
    [21:38:00] [Server thread/WARN]:     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500)
    [21:38:00] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:518)
    [21:38:00] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:432)
    [21:38:00] [Server thread/WARN]:     at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:644)
    [21:38:00] [Server thread/WARN]:     at net.minecraft.server.dedicated.DedicatedServer.init(DedicatedServer.java:314)
    [21:38:00] [Server thread/WARN]:     at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1121)
    [21:38:00] [Server thread/WARN]:     at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:321)
    [21:38:00] [Server thread/WARN]:     at java.base/java.lang.Thread.run(Thread.java:831)
    [21:38:00] [Server thread/ERROR]: Error occurred while enabling AlwaysOnline v6.1.3 (Is it up to date?)
    java.lang.ExceptionInInitializerError: null
        at me.johnnywoof.ao.spigot.SpigotLoader.onEnable(SpigotLoader.java:38) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.17.jar:git-Purpur-1185]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.17.jar:git-Purpur-1185]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.17.jar:git-Purpur-1185]
        at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:518) ~[patched_1.17.jar:git-Purpur-1185]
        at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:432) ~[patched_1.17.jar:git-Purpur-1185]
        at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:644) ~[patched_1.17.jar:git-Purpur-1185]
        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:314) ~[patched_1.17.jar:git-Purpur-1185]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1121) ~[patched_1.17.jar:git-Purpur-1185]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:321) ~[patched_1.17.jar:git-Purpur-1185]
        at java.lang.Thread.run(Thread.java:831) [?:?]
    Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Class.getDeclaredMethods()" because "clazz" is null
        at me.johnnywoof.ao.utils.NMSUtils.getMethod(NMSUtils.java:478) ~[?:?]
        at me.johnnywoof.ao.spigot.authservices.NMSAuthSetup.<clinit>(NMSAuthSetup.java:17) ~[?:?]
        ... 11 more
    [21:38:00] [Server thread/INFO]: [AlwaysOnline] Disabling AlwaysOnline v6.1.3
     
  11. Could you try the latest?
     
  12. Plugin enabled, won't know if it actually works until Auth servers go down though.
     
    • Agree Agree x 1
  13. Can Cloudnet Support added to ovveride the current motd from the syncproxy module if the auth servers are down?
     
  14. As long as it can enable it should work, if you are running a local test server, you can disable your Internet to test it
     
  15. This plugin will fix error: error occurred while contacting login servers?
    when players try to join?
     
  16. It will fix it if they have joined the server recently, if you are getting that error your server may be getting spammed with login attempts which other plugins can fix :)