diff options
author | red-001 <red-001@outlook.ie> | 2017-06-10 12:49:44 +0100 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-06-03 17:31:59 +0200 |
commit | 0664b5f77226b7a2308e85898295378e04158923 (patch) | |
tree | 4078e94042837335f43f1b56387d553cc1b95de9 /minetest.conf.example | |
parent | 14b039f0b4c8bddc1d4760dc7277f72392385d7d (diff) | |
download | minetest-0664b5f77226b7a2308e85898295378e04158923.tar.gz minetest-0664b5f77226b7a2308e85898295378e04158923.tar.bz2 minetest-0664b5f77226b7a2308e85898295378e04158923.zip |
Add a server-sided way to remove color codes from incoming chat messages (#5948)
These code be generated by CSM, a modded client or just copy and pasted by the player.
Changes
- Update configuration example and setting translation file.
- Remove colour codes before logging chat.
- Add setting to remove colour codes before processing the chat.
Diffstat (limited to 'minetest.conf.example')
-rw-r--r-- | minetest.conf.example | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/minetest.conf.example b/minetest.conf.example index c933047dd..79f7f68f9 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -344,8 +344,8 @@ # serverlist_file = favoriteservers.txt # Maximum size of the out chat queue. 0 to disable queueing and -1 to make the queue size unlimited -# type: int min: -1 -max_out_chat_queue_size = 20 +# type: int +# max_out_chat_queue_size = 20 ## Graphics @@ -555,7 +555,7 @@ max_out_chat_queue_size = 20 # type: int # screenH = 600 -# Save the window size automatically when modified. +# Save window size automatically when modified. # type: bool # autosave_screensize = true @@ -867,11 +867,10 @@ max_out_chat_queue_size = 20 # type: string # serverlist_url = servers.minetest.net -# Disable escape sequences, e.g. chat coloring. -# Use this if you want to run a server with pre-0.4.14 clients and you want to disable -# the escape sequences generated by mods. +# Remove color codes from incoming chat messages +# Use this to stop players from being able to use color in their messages # type: bool -# disable_escape_sequences = false +# strip_color_codes = false ## Network @@ -1841,3 +1840,4 @@ max_out_chat_queue_size = 20 # Print the engine's profiling data in regular intervals (in seconds). 0 = disable. Useful for developers. # type: int # profiler_print_interval = 0 + |