AuthMe Reloaded

AuthMe Reloaded

3M Downloads

No spaces at nickname

renkor92 opened this issue ยท 8 comments

commented

Hello all,

I'd like to configure authme in order to permit all characters (spaces included) at player's nicknames.
But I do not know how.This is the specifyc part:
# Regex pattern of allowed characters in the player name.
allowedNicknameCharacters: '[a-zA-Z0-9_]*

commented

That would be due to how we handle arguments in commands.
Not 100% sure, but 'nick name' or "nick name" might work.
Otherwise the user has to join normally.

commented

That would be due to how we handle arguments in commands.
Not 100% sure, but 'nick name' or "nick name" might work.
Otherwise the user has to join normally.

Hello,

I tried both ways with no success. Can a player with spaces at nickname register with authme?

commented

If you change the regex, yes. But that will break other plugins.

commented

If you change the regex, yes. But that will break other plugins.

Do you mean adding a space, like this?: [a-zA-Z0-9_ ]*

commented

Yes.

commented

[a-zA-Z0-9_ ]*

commented

[a-zA-Z0-9_ ]*

Hello,

I wrote an example--> /authme register nick name password and it does not work

commented

It worked, thanks all