GeyserMC / Floodgate

Hybrid mode plugin to allow for connections from Geyser to join online mode servers.
https://geysermc.org
MIT License
563 stars 168 forks source link

floodgate disabling on server startup (spigot 1.17) #156

Closed dromzeh closed 3 years ago

dromzeh commented 3 years ago

Describe the bug upon starting up my 1.17 spigot server, floodgate disables itself with a fair amount of errors followed: https://mclo.gs/WclT2zy

To Reproduce

Expected behaviour floodgate not disabling on spigot 1.17

Geyser version 1.4.0-SNAPSHOT (git-master-cc2d26d)

Server Version & Plugins CraftBukkit version 3102-Spigot-c9cea60-4d2c780 (MC: 1.17) + floodgate and geyser

JamesHawkinss commented 3 years ago

Can reproduce, Spigot 1.17 Geyser 1.4.0.

Jens-Co commented 3 years ago

Floodgate is currently not working on the new 1.17 spigot servers. More info in the announcements channel of Geyser Discord!

ghost commented 3 years ago

hope will be fix quickly

hjwoods777 commented 3 years ago

Can reproduce like above.

Error: [14:31:23] [Server thread/INFO]: [floodgate] Enabling floodgate v2.0-SNAPSHOT [14:31:23] [Server thread/WARN]: java.lang.ClassNotFoundException: net.minecraft.server.v1_17_R1.MinecraftServer [14:31:23] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:140) [14:31:23] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:99)

..

[14:31:23] [Server thread/ERROR]: [floodgate] Failed to inject the packet listener! java.lang.NullPointerException: Cannot invoke "java.lang.Class.getMethod(String, java.lang.Class[])" because "clazz" is null at org.geysermc.floodgate.util.ReflectionUtils.getMethod(ReflectionUtils.java:287) ~[?:?] at org.geysermc.floodgate.util.ReflectionUtils.getMethod(ReflectionUtils.java:306) ~[?:?] at org.geysermc.floodgate.util.ReflectionUtils.invokeStatic(ReflectionUtils.java:432) ~[?:?] at org.geysermc.floodgate.inject.spigot.SpigotInjector.getServerConnection(SpigotInjector.java:162) ~[?:?] at org.geysermc.floodgate.inject.spigot.SpigotInjector.inject(SpigotInjector.java:58) ~[?:?] at org.geysermc.floodgate.FloodgatePlatform.enable(FloodgatePlatform.java:124) ~[?:?] at org.geysermc.floodgate.SpigotPlatform.enable(SpigotPlatform.java:48) ~[?:?] at org.geysermc.floodgate.SpigotPlugin.onEnable(SpigotPlugin.java:66) ~[?:?]

..

[14:31:23] [Server thread/INFO]: [floodgate] Disabling floodgate v2.0-SNAPSHOT

Camotoy commented 3 years ago

Please do be patient! (Bear in mind I just woke up but) 1.17 has had some major internal changes in regards to Spigot.

Camotoy commented 3 years ago

Resolved in 58882e8.

hjwoods777 commented 3 years ago

You are great, thanks!!!!

creepergal commented 3 years ago

this is so confusing pls explain