AuthMeReloaded icon indicating copy to clipboard operation
AuthMeReloaded copied to clipboard

our username contains illegal characters. Allowed chars: \*?[a-zA-Z0-9_]* on Bedrock (GeyserMC)

Open Slddev opened this issue 3 years ago • 4 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:

  1. 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

Slddev avatar Jun 25 '21 12:06 Slddev

You messed with allowedNicknameCharacters didn't you? Floodgate adds a . to Geyser uses by default. So you have to add a . to the default regex, to let them join.

krusic22 avatar Jun 25 '21 14:06 krusic22

You can also set the regex to '*', as to allow all characters from now on.

WolfyRed avatar Oct 27 '21 00:10 WolfyRed

I have the same problem.

acastillorobles77 avatar Dec 05 '21 03:12 acastillorobles77

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.

OLEGSHA avatar Dec 06 '21 08:12 OLEGSHA

Documentation for this would be nice. Trying to find more information on how to get geyser to work with this plugin the best.

SickProdigy avatar Nov 05 '22 22:11 SickProdigy

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

xfi7 avatar Apr 07 '23 19:04 xfi7