diff options
author | red-001 <red-001@outlook.ie> | 2017-06-10 12:49:44 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-06-10 13:49:44 +0200 |
commit | 25ae0739ed70be8b6a46bdc98aee4b7e33f478ab (patch) | |
tree | 723c05468fb9178a3b6511d98d92f0ced5135c85 /minetest.conf.example | |
parent | 07be63b28747714903281a4051cecea0dc3e1cb7 (diff) | |
download | minetest-25ae0739ed70be8b6a46bdc98aee4b7e33f478ab.tar.gz minetest-25ae0739ed70be8b6a46bdc98aee4b7e33f478ab.tar.bz2 minetest-25ae0739ed70be8b6a46bdc98aee4b7e33f478ab.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 c43076459..2487dad34 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 # screen_h = 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 + |