summaryrefslogtreecommitdiff
path: root/builtin/settingtypes.txt
diff options
context:
space:
mode:
authorred-001 <red-001@outlook.ie>2017-06-10 12:49:44 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-06-10 13:49:44 +0200
commit25ae0739ed70be8b6a46bdc98aee4b7e33f478ab (patch)
tree723c05468fb9178a3b6511d98d92f0ced5135c85 /builtin/settingtypes.txt
parent07be63b28747714903281a4051cecea0dc3e1cb7 (diff)
downloadminetest-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 'builtin/settingtypes.txt')
-rw-r--r--builtin/settingtypes.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 08cc1fff2..0f2715ab5 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -721,6 +721,10 @@ server_announce (Announce server) bool false
# If you want to announce your ipv6 address, use serverlist_url = v6.servers.minetest.net.
serverlist_url (Serverlist URL) string servers.minetest.net
+# Remove color codes from incoming chat messages
+# Use this to stop players from being able to use color in their messages
+strip_color_codes (Strip color codes) bool false
+
[*Network]
# Network port to listen (UDP).