1
0

Enable strip_color_codes by default

This commit is contained in:
luk3yx 2023-03-27 21:26:31 +13:00 committed by mckaygerhard
parent c99e7bd5f0
commit 6da47b485c
3 changed files with 3 additions and 3 deletions

View File

@ -1042,7 +1042,7 @@ serverlist_url (Serverlist URL) string servers.multicraft.world
# Remove color codes from incoming chat messages # Remove color codes from incoming chat messages
# Use this to stop players from being able to use color in their messages # Use this to stop players from being able to use color in their messages
strip_color_codes (Strip color codes) bool false strip_color_codes (Strip color codes) bool true
[*Network] [*Network]

View File

@ -1228,7 +1228,7 @@
# Remove color codes from incoming chat messages # Remove color codes from incoming chat messages
# Use this to stop players from being able to use color in their messages # Use this to stop players from being able to use color in their messages
# type: bool # type: bool
# strip_color_codes = false # strip_color_codes = true
## Network ## Network

View File

@ -385,7 +385,7 @@ void set_default_settings()
settings->setDefault("compat_send_original_model", "true"); settings->setDefault("compat_send_original_model", "true");
settings->setDefault("disable_texture_packs", "false"); settings->setDefault("disable_texture_packs", "false");
settings->setDefault("disable_escape_sequences", "false"); settings->setDefault("disable_escape_sequences", "false");
settings->setDefault("strip_color_codes", "false"); settings->setDefault("strip_color_codes", "true");
settings->setDefault("announce_mt", "true"); settings->setDefault("announce_mt", "true");
#if USE_PROMETHEUS #if USE_PROMETHEUS
settings->setDefault("prometheus_listener_address", "127.0.0.1:30000"); settings->setDefault("prometheus_listener_address", "127.0.0.1:30000");