Skip to content

Floodgate players are not detected at JoinManagement on BungeeCord #603

@Smart123s

Description

@Smart123s

What happened?

The Bukkit part of the server is irrelevant, because the Player gets kicked before reaching it.

This happens randomly (around 50% of the time), if the player is not yet in the Floodgate.getPlayers() list when doing the name conflict checking:
https://github.com/games647/FastLogin/blob/01c9b55d80c93e0df4ad9050519995f4d56db759/core/src/main/java/com/github/games647/fastlogin/core/shared/JoinManagement.java#L61

If this line returns null, it means that he/she is a Java Player, and they'll be treated as one. Because my Bedrock username is the same as my Java username, I'm treated as a Premium player. Because of that, FastLogin will try to log in the Floodgate players as if they were a Premium Java players, which causes the errors that I've attached in the logs below.

I have experimented quite a bit with the code, and found out the following:

What did you expect?

No response

Steps to reproduce

No response

Plugin list

Geyser, Floodgate, SQLite-for-BungeeCord

Configuration file

not loaded by the plugin at this point of the code

Server log

https://pastebin.com/FjNK7Wd7

Plugin version

056b8a7 (#602)

Platform

BungeeCord

Relevance

  • I tried the latest build
  • I checked for existing tickets -
    If there are, please vote them with a thumps reaction and not create new ones

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions