LoginSecurity icon indicating copy to clipboard operation
LoginSecurity copied to clipboard

Geyser Compatiblity

Open NMDx86 opened this issue 3 years ago • 2 comments

Geyser user get this error image

NMDx86 avatar Sep 26 '22 12:09 NMDx86

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.

DesolateIntention avatar Nov 12 '22 23:11 DesolateIntention

I see. I could look in to floodgate support in order to allow geyser players to connect with the floodgate prefix.

lenis0012 avatar Feb 04 '23 11:02 lenis0012