Set allow-invalid-usernames to true by default for Nukkit (#798)

This commit is contained in:
Luck 2018-02-26 17:35:34 +00:00
parent a42d27f056
commit 984bc5860f
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ public final class DataConstraints {
public static final int MAX_GROUP_NAME_LENGTH = 36;
public static final int MAX_PLAYER_USERNAME_LENGTH = 16;
public static final Pattern PLAYER_USERNAME_INVALID_CHAR_MATCHER = Pattern.compile("[^A-Za-z0-9_ ]");
public static final Pattern PLAYER_USERNAME_INVALID_CHAR_MATCHER = Pattern.compile("[^A-Za-z0-9_]");
public static final int MAX_SERVER_LENGTH = 36;
public static final int MAX_WORLD_LENGTH = 36;

View File

@ -50,7 +50,7 @@ use-server-properties-name: false
#
# Note that due to the design of the storage implementation, usernames must still be
# 16 characters or less.
allow-invalid-usernames: false
allow-invalid-usernames: true
# If LuckPerms should produce extra logging output when it handles logins.
# Useful if you're having issues with UUID forwarding or data not being loaded.