FastLogin: FastLogin won't start with latest version of Geyser

What happened?

Running FastLogin build #1159 and any GeyserMC Spigot build above #1189 causes FastLogin to run into a NoSuchMethodError error and the plugin will refuse to start. With GeyserMC disabled, FastLogin will still start as normal.

This error in particular seems to be caused by Geyser renaming their session.auth.AuthType class into api.network.AuthType. The change looks to be in part of their big API changes indicated here: https://github.com/GeyserMC/Geyser/pull/3267.

For reference, this is the Jenkins link for the Geyser build that started the issue: https://ci.opencollab.dev/job/GeyserMC/job/Geyser/job/master/1189/

What did you expect?

The plugin should start smoothly along with GeyserMC upon server startup

Steps to reproduce

Start server with FastLogin, ProtocolLib, and any GeyserMC build above #1189

Plugin list

AuthMe, FastLogin, floodgate, Geyser-Spigot, ProtocolLib

Configuration file

https://gist.github.com/deiphiz/7318f24a14c369333804a6a153daa88e

Server log

[21:43:36 ERROR]: Error occurred while enabling FastLogin v1.12-SNAPSHOT-7425df8 (Is it up to date?)
java.lang.NoSuchMethodError: 'org.geysermc.geyser.session.auth.AuthType org.geysermc.geyser.configuration.GeyserConfiguration$IRemoteConfiguration.getAuthType()'
        at com.github.games647.fastlogin.core.hooks.bedrock.GeyserService.<init>(GeyserService.java:47) ~[FastLoginBukkit.jar:?]
        at com.github.games647.fastlogin.bukkit.FastLoginBukkit.initializeFloodgate(FastLoginBukkit.java:155) ~[FastLoginBukkit.jar:?]
        at com.github.games647.fastlogin.bukkit.FastLoginBukkit.onEnable(FastLoginBukkit.java:101) ~[FastLoginBukkit.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:548) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_19_R1.CraftServer.enablePlugin(CraftServer.java:596) ~[purpur-1.19.2.jar:git-Purpur-1774]
        at org.bukkit.craftbukkit.v1_19_R1.CraftServer.enablePlugins(CraftServer.java:510) ~[purpur-1.19.2.jar:git-Purpur-1774]
        at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:641) ~[purpur-1.19.2.jar:git-Purpur-1774]
        at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:427) ~[purpur-1.19.2.jar:git-Purpur-1774]        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:343) ~[purpur-1.19.2.jar:git-Purpur-1774]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1142) ~[purpur-1.19.2.jar:git-Purpur-1774]
        at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:310) ~[purpur-1.19.2.jar:git-Purpur-1774]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
[21:43:36 INFO]: [FastLogin] Disabling FastLogin v1.12-SNAPSHOT-7425df8
[21:43:36 INFO]: [FastLogin] Safely shutting down scheduler. This could take up to one minute.

Plugin version

1.12-SNAPSHOT-7425df8

Platform

Spigot

Relevance

  • I tried the latest build (build refers to development builds not necessary a release version)
  • I checked for existing tickets - If there are, please vote them with a thumps reaction and not create new ones

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 30 (12 by maintainers)

Most upvoted comments

Ok i am going to test it

It’s working now , thanks for your help @Smart123s i hope you the best ; )

WORKS PERFECT. THANKS YOU