our username contains illegal characters. Allowed chars: \*?[a-zA-Z0-9_]* on Bedrock (GeyserMC)
Slddev opened this issue ยท 6 comments
Before reporting an issue make sure you are running the latest build of the plugin and checked for duplicate issues!
What behaviour is observed:
Instead of allowing the player to join, the player is stopped because of illegal characters. (My name is very simple: TheSappyYT It does not include any of the characters that are considered illegal.)
What behaviour is expected:
It should allow the player to join.
Steps/models to reproduce:
- Add GeyserMC to your server and join using a bedrock account.
Plugin list:
AuthMe, DiscordSRV, Essentials, EssentialsChat, floodgate, Geyser-Spigot, LiteBans, LuckPerms, Maintenance, Negativity, ProtocolLib, ServerListPlus*, SkinsRestorer, TAB, TCPShield, Vault
ate### Environment description
PaperMC Server
AuthMe build number:
2472
The solution is to use
allowedNicknameCharacters: '[a-zA-Z0-9_\.]*'
(note the new \.
at the end)
The dot character has to be escaped with a backslash because it has special meaning in regex otherwise.
Documentation for this would be nice. Trying to find more information on how to get geyser to work with this plugin the best.
Another issue comes by when the fact that when you look up users by "IP" you can't since the "." detect as an IP basically making it uselesss to search users by IP when using /authme accounts "user".....
Edit: Just found a fix for it.
I changed the prefix in floodgate to "*" then in the authme configuration changed it to
'[a-zA-Z0-9_.*]*'
To allow the "*" To be used