Skip to content
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

UUID get cleared if Login from Bedrock(Floodgate) #1246

Open
2 tasks done
HuJK opened this issue Aug 15, 2024 · 1 comment
Open
2 tasks done

UUID get cleared if Login from Bedrock(Floodgate) #1246

HuJK opened this issue Aug 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@HuJK
Copy link

HuJK commented Aug 15, 2024

What happened?

autoRegister: false
premiumUuid: true
nameChangeCheck: true
autoLogin: true
autoLoginFloodgate: linked
allowFloodgateNameConflict: linked

FastLogin should be able to remember the UUID of an player to do nameChangeCheck.
But Login from Bedrock client by linked mode clears the UUID of the player.

Before Bedrock Login
image

After Bedrock Login
image

Steps to reproduce

  1. Install AuthME, FastLogin Geyser-Spigot Floodgate
  2. Register at FastLogin as premium user. Now it should be able to track name changes
  3. then link the bedrock account at Floodgate
  4. Login to the server at Bedrock client through Geyser-floodgate
  5. The UUID has been cleared at the FastLogin database.
  6. If user changes his name before next login at Java client, FastLogin can't reconize and treat him as a new user. (No UUID nor username not found in the database)

Plugin list

AuthME, FastLogin Geyser-Spigot Floodgate

Configuration file

autoRegister: false premiumUuid: true nameChangeCheck: true autoLogin: true

Server log

[02:42:50 INFO]: [Geyser-Spigot] Player connected with username WhoJK 
[02:42:50 INFO]: [Geyser-Spigot] WhoJK (logged in as: WhoJK) has connected to the Java server
[02:42:50 INFO]: [FastLogin] New incoming packet START[class=PacketLoginInStart, id=0] from UNKNOWN[/61.231.179.211:0]
[02:42:50 INFO]: [FastLogin] Skipping name conflict checking for player WhoJK
[02:42:51 INFO]: UUID of player WhoJK is 770f28e4-058e-4812-a8d1-75fb3732c25b
[02:42:51 INFO]: [floodgate] Floodgate player logged in as WhoJK joined (UUID: 770f28e4-058e-4812-a8d1-75fb3732c25b)
[02:42:52 INFO]: WhoJK joined the game
[02:42:52 INFO]: WhoJK[/61.231.179.211:0] logged in with entity id 772 at ([world]-178.77191, 73.0, -48.394512)
[02:42:52 INFO]: [FastLogin] Player WhoJK is connecting through Geyser Floodgate.
[02:42:52 INFO]: [FastLogin] Logging player WhoJK in
[02:42:52 INFO]: [AuthMe] WhoJK logged in 61.231.179.211

When [02:42:52 INFO]: [FastLogin] Player WhoJK is connecting through Geyser Floodgate. the UUID get cleared.

Plugin version

FastLogin v1.12-SNAPSHOT-4dd6b9a

Platform

Spigot

Relevance

  • I tried the latest build
    (build refers to development builds not necessary a release version; i.e. v1.10 is out of date)

  • I checked for existing tickets -
    If there are, please vote them with a thumbs reaction and not create new ones

@HuJK HuJK added the bug Something isn't working label Aug 15, 2024
@HuJK HuJK changed the title Login game from Bedrock(Floodgate) clears the UUID of the user UUID get cleared if Login from Bedrock(Floodgate) Aug 16, 2024
@HuJK
Copy link
Author

HuJK commented Aug 17, 2024

Player UUID get overwrited by session UUID(which is null) at ForceLoginManagement.java
image

image

It seems that this problem is caused by session UUID are not set if player login from Floodgate

HuJK added a commit to HuJK/FastLogin that referenced this issue Aug 17, 2024
HuJK added a commit to HuJK/FastLogin that referenced this issue Aug 17, 2024
HuJK added a commit to HuJK/FastLogin that referenced this issue Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant