games647 / FastLogin

Checks if a minecraft player has a valid paid account. If so, they can skip offline authentication automatically. (premium auto login)
https://www.spigotmc.org/resources/fastlogin.14153
MIT License
502 stars 121 forks source link

Floodgate login request blocked by Fastlogin #1245

Closed HuJK closed 2 months ago

HuJK commented 2 months ago

What happened?

FastLogin config:

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

I want to login as a java user from bedrock client, so that I uses the linking feature from floodgate. It seems FaseLogin not reconize it and kick me out by reason Bedrock Player WhoJK's name conflicts an existing premium Java account's name

Steps to reproduce

  1. Link the account at https://link.geysermc.org/ so that I should be able to login as a java user from bedrock client
  2. Login at server from bedrock
  3. Kicked out by FaseLogin Bedrock Player WhoJK's name conflicts an existing premium Java account's name

Plugin list

FastLogin AuthME GeyserMC Floodgate

Configuration file

No response

Server log

Logs

[01:49:11 INFO]: [FastLogin] Hooking into auth plugin: AuthMeHook
[01:49:21 INFO]: [Geyser-Spigot] Player connected with username WhoJK
[01:49:21 INFO]: [Geyser-Spigot] WhoJK (logged in as: WhoJK) has connected to the Java server
[01:49:22 INFO]: [FastLogin] New incoming packet START[class=PacketLoginInStart, id=0] from UNKNOWN[/140.115.59.63:0]
[01:49:23 INFO]: [FastLogin] Bedrock Player WhoJK's name conflicts an existing premium Java account's name
[01:49:23 INFO]: [floodgate] Floodgate player logged in as WhoJK disconnected
[01:49:23 INFO]: /140.115.59.63:0 lost connection: Disconnect
[01:49:23 INFO]: [Geyser-Spigot] WhoJK has disconnected from the Java server because of Your name conflicts an existing premium Java account's name

Plugin version

FastLogin v1.12-SNAPSHOT-4dd6b9a

Platform

Spigot

Relevance

HuJK commented 2 months ago

I'm uppraded from old version of Fastlogin which doesn't have allowFloodgateNameConflict in the config file.

Now I can join the server with bedrock client after add the option to the config file manually but it's still asking the password of the authme. Wondering anything I'm missing.

HuJK commented 2 months ago

Adding

autoLoginFloodgate: true
allowFloodgateNameConflict: linked

resolves this issue for me for now.

I will test if I can login as offline bedrock client to gaining unauthorized access to my premium account tomorrow. Close this issue for now