Spigot NexAuth - Simple auth system for offline mode [1.17 - 1.19] 1.3.4

Simple auth/register system for offline mode servers.

  1. No
     
  2. Hi, worked completely fine at 1.18.1

    Once we updated to 1.18.2 the small problem occures when admins try to unregister someone (code below)
    Server uses recent version with all files from archieve

    Code (Java):
    nexauth unregister LOLlolalu
    [19:47:06 WARN]: Unexpected exception while parsing console command "nexauth unregister LOLlolalu"
    org.bukkit.command.CommandException: Unhandled exception executing 'nexauth unregister LOLlolalu' in su.nexmedia.engine.command.CommandRegister(nexauth)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:169) ~[pufferfish-api-1.18.2-R0.1-SNAPSHOT.jar:?]
            at org.bukkit.craftbukkit.v1_18_R2.CraftServer.dispatchCommand(CraftServer.java:905) ~[pufferfish-1.18.2.jar:git-Pufferfish-59]
            at org.bukkit.craftbukkit.v1_18_R2.CraftServer.dispatchServerCommand(CraftServer.java:868) ~[pufferfish-1.18.2.jar:git-Pufferfish-59]
            at net.minecraft.server.dedicated.DedicatedServer.handleConsoleInputs(DedicatedServer.java:513) ~[pufferfish-1.18.2.jar:git-Pufferfish-59]
            at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:487) ~[pufferfish-1.18.2.jar:git-Pufferfish-59]
            at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1457) ~[pufferfish-1.18.2.jar:git-Pufferfish-59]
            at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1227) ~[pufferfish-1.18.2.jar:git-Pufferfish-59]
            at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:317) ~[pufferfish-1.18.2.jar:git-Pufferfish-59]
            at java.lang.Thread.run(Thread.java:833) ~[?:?]
    Caused by: java.lang.NoSuchMethodError: 'void su.nexmedia.auth.data.UserManager.unloadUser(java.lang.String)'
            at su.nexmedia.auth.command.UnregisterSubCommand.onExecute(UnregisterSubCommand.java:65) ~[NexAuth-1.3.3.jar:?]
            at su.nexmedia.engine.api.command.AbstractCommand.execute(AbstractCommand.java:122) ~[NexEngine.jar:?]
            at su.nexmedia.engine.api.command.GeneralCommand.onCommand(GeneralCommand.java:80) ~[NexEngine.jar:?]
            at su.nexmedia.engine.command.CommandRegister.execute(CommandRegister.java:120) ~[NexEngine.jar:?]
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[pufferfish-api-1.18.2-R0.1-SNAPSHOT.jar:?]
            ... 8 more
    Please, help, I see some people have the same error
    I love your auth plugin and his think the overall performance is awesome ^^!

    P.S. The player gets kicked from the server, but once joined back, nothing changes...
     
    #62 Kiva11, May 31, 2022
    Last edited: May 31, 2022
  3. there is a working version in the discord. its not updated yet