-
-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tried to connect as a Java Edition player! Is Floodgate configured correctly? #703
Comments
Duplicate of #647, but no response from it's author.
The player was saved as a premium player, which means that auto login is needed for them (this behavior will change with #700). This means that the player was recognized as a Floodgate player at least once. But I'm sure that they are not detected at some point, and that causes the bug. Are you using BungeeCord/Waterfall? If not, are you using ProtocolLIb or ProtocolSupport? |
Bedrock players are being recognized as Java players in FastLogin causing a geyser error |
[floodgate]: Floodgate player who is logged in as *fabegalo 00000000-0000-0000-0009-01f872f2a6d7 joined |
This comment was marked as spam.
This comment was marked as spam.
Same error as him ^ |
Yes, this error is linked to Fast Login, since without Fast Login, it works normally |
Please use BungeeCord or ProtocolSupport. The implementation for integration with ProtocolLib requires the cancellation and later re-submission of the client packet. Floodgate/Geyser intercept the packets too early in the process to see the cancellation. Fixing requires all of refactoring to only hold the first packet instead of cancel it. However many things needs to be considered, because the packet needs to be hold the complete login process. Things like timeout, session matching and more. I'm open for any contribution as a pull request, but I don't have the time for a free hobby project. |
In the past few days, I spent some time debugging the ProtocolLib and Floodgate sources in connection with #689 and I might have a better way to detect Floodgates players. Currently, FastLogin checks the players names, and since spaces get replaced in the names, the algorithm screws up. The netty |
Due to a bug in ProtocolLib, Floodgate will never execute some of its tasks if an async listener is registered. Related: GeyserMC/Floodgate#143 Skipped code: https://github.com/GeyserMC/Floodgate/blob/5d5713ed9e9eeab0f4abdaa9cf5cd8619dc1909b/spigot/src/main/java/org/geysermc/floodgate/addon/data/SpigotDataHandler.java#L121-L175 Fixes games647#786 Fixes games647#703 Fixes games647#689 Fixes games647#647
@rad1914 @fabegalo @LuizLoyola Could you check build FastLoginBukkit-40ac373.zip on a CLEAN SERVER!!!! Do NOT install this on an existing server, as this build contains modifications to the FastLogin database model, therefore making it incompatible with existing versions. If you install it on an existing server, you won't be able to revert to older versions of FastLogin! This build fixes Floodgate prefixes with ProtocolLib. If you are not using ProtocolLib, then you shouldn't even have this issue... Also, I'd be really happy if someone could check this out with a gamertag that has at least one space in it. Thanks for helping, have a nice day! |
@Smart123s This version is just bukkit?, and for the velocity proxy? |
FastLogin for Velocity doesn't support Floodgate yet. #649 FastLogin/velocity/src/main/java/com/github/games647/fastlogin/velocity/FastLoginVelocity.java Lines 145 to 148 in 8331779
|
@Smart123s in my case the problem is in the velocity proxy that turns bedrock players into java accounts |
Because FastLogin for Velocity doesn't support Floodgate, it doesn't even understand the concept of a Bedrock player. Every Velocity player is a Java player in the plugins understanding. |
What happened?
When trying to auto login with FastLogin, Floodgate throws an error and disconnects some of my players
What did you expect?
Common Auto-Login
Steps to reproduce
I noticed that only people who log in with Bedrock and specifically a Gamertag with spaces are the ones that get logged out, the rest can log in correctly.
I tried replacing the spaces with the "_" from the Floodgate config, but that doesn't work either
Plugin list
AdvancedLogin, PlaceholderAPI, Oraxen, FastLogin, Spark, plugman, Worldedit, WorldGuard, EssentialsX
Configuration file
https://gist.github.com/rad1914/1764bcca8ebe53dfa268ff075fd49b89
Server log
Plugin version
1.11-SNAPSHOT-3bcc6c2
Platform
Spigot
Relevance
If there are, please vote them with a thumps reaction and not create new ones
The text was updated successfully, but these errors were encountered: