Alex (TuxCoding)
Alex (TuxCoding)
IsPremium is only set if the user is verified to be owner of the account. That is the connection is verified and the auth plugin successfully updated the user state.
> By my reasoning, if the AuthPlugin#isRegistered(String) returns false, meaning that the account is not registered, FastLogin should at the very least invoke AuthPlugin#forceRegister is autoRegister is set to true...
That depends on your definition. Assuming `auto-register` is enabled, then we need to decided whether to enable online mode based on the username and connection details. If we request online...
You can consider `StoredProfile.isPremium` as a preference to use online mode connections. >I was asking because BukkitFastLoginPreLoginEvent#getProfile#isPremium returned false on a premium account If the player registers a Mojang account...
>Could you just fill me out on what connection details you use to base your assumption that the player is indeed a premium player, and thus you request the authentication...
That's interesting, because in proxy environments FastLogin doesn't do any packet manipulations like in Spigot. Could you try to reproduce it without Via?
Sorry, my bad; too many version numbers. However, FastLogin still doesn't do many modifications with BungeeCord. Therefore it could be related solely to be the onlinemode. Could you try it...
>[18:52:23] [Render thread/WARN]: Client disconnected with reason: Internal Exception: io.netty.handler.codec.EncoderException: java.io.IOException: Can't serialize unregistered packet The `EncoderException` indicates that the packet sender terminated the connection, because it couldn't package the...
That sounds great, thanks for letting me know. That seems to indicate a race condition in AuthMe code base, like multiple authentication requests at once.
Yes, the files are now ignored without any errors.