From 9feeae9111d644518d043ded112d1471a030c753 Mon Sep 17 00:00:00 2001 From: rtm516 Date: Mon, 20 Apr 2020 07:46:42 +0100 Subject: [PATCH] Added missing replace-spaces default config (#21) * Added missing replace-spaces default config * Add the replace-spaces option to Bungeecord and Velocity and enable it by default Co-authored-by: Tim203 --- bungee/src/main/resources/config.yml | 3 +++ common/src/main/resources/config.yml | 3 +++ velocity/src/main/resources/config.yml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/bungee/src/main/resources/config.yml b/bungee/src/main/resources/config.yml index 3df17002..f9e0c11a 100644 --- a/bungee/src/main/resources/config.yml +++ b/bungee/src/main/resources/config.yml @@ -8,6 +8,9 @@ key-file-name: key.pem # It is recommended to use a prefix that does not contain alphanumerical to avoid the possibility of duplicate usernames. username-prefix: "*" +# Should spaces be replaced with '_' in bedrock usernames? +replace-spaces: true + # Should Bungeecord send the bedrock player data to the servers it is connecting to? # This requires Floodgate to be installed on the servers. # You'll get kicked if you don't use the plugin. The default value is false because of it diff --git a/common/src/main/resources/config.yml b/common/src/main/resources/config.yml index 254c644d..a0eb62dc 100644 --- a/common/src/main/resources/config.yml +++ b/common/src/main/resources/config.yml @@ -8,6 +8,9 @@ key-file-name: key.pem # It is recommended to use a prefix that does not contain alphanumerical to avoid the possibility of duplicate usernames. username-prefix: "*" +# Should spaces be replaced with '_' in bedrock usernames? +replace-spaces: true + disconnect: # The disconnect message Geyser users should get when connecting # to the server with an invalid key diff --git a/velocity/src/main/resources/config.yml b/velocity/src/main/resources/config.yml index be7aa927..c0f045e7 100644 --- a/velocity/src/main/resources/config.yml +++ b/velocity/src/main/resources/config.yml @@ -8,6 +8,9 @@ key-file-name: key.pem # It is recommended to use a prefix that does not contain alphanumerical to avoid the possibility of duplicate usernames. username-prefix: "*" +# Should spaces be replaced with '_' in bedrock usernames? +replace-spaces: true + # Should Velocity send the bedrock player data to the servers it is connecting to? # This requires Floodgate to be installed on the servers. # You'll get kicked if you don't use the plugin. The default value is false because of it