LoginSecurity
LoginSecurity copied to clipboard
Geyser Compatiblity
Geyser user get this error

That probably happens due to this option in the LoginSecurity config file (config.yml).
username:
# Remove special characters like @ and # from the username.
# Disabling this can be a security risk!
filter-special-chars: true
If you're using GeyserMC I imagine you're also using Floodgate, and that plugin changes the usernames of Bedrock players to avoid a Java and Bedrock player having exactly the same name. Here's the config section that does that.
# Floodgate prepends a prefix to bedrock usernames to avoid conflicts
# However, certain conflicts can cause issues with some plugins so this prefix is configurable using the property below
# It is recommended to use a prefix that does not contain alphanumerical to avoid the possibility of duplicate usernames.
username-prefix: "."
Try changing the Floodgate prefix or disabling the LoginSecurity filter. Don't close this issue, though. As it's still something the developer should check.
I see. I could look in to floodgate support in order to allow geyser players to connect with the floodgate prefix.