mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-17 20:45:22 +01:00
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.
This commit is contained in:
@@ -34,7 +34,7 @@ fake_function() {
|
||||
gettext("Random input");
|
||||
gettext("Enable random user input (only used for testing).");
|
||||
gettext("Continuous forward");
|
||||
gettext("Continuous forward movement (only used for testing).");
|
||||
gettext("Continuous forward movement, toggled by autoforward key.");
|
||||
gettext("Enable Joysticks");
|
||||
gettext("Enable Joysticks");
|
||||
gettext("Joystick ID");
|
||||
@@ -87,8 +87,8 @@ fake_function() {
|
||||
gettext("Key for increasing the volume.\nSee http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3");
|
||||
gettext("Dec. volume key");
|
||||
gettext("Key for decreasing the volume.\nSee http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3");
|
||||
gettext("Autorun key");
|
||||
gettext("Key for toggling autorun.\nSee http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3");
|
||||
gettext("Autoforward key");
|
||||
gettext("Key for toggling autoforward.\nSee http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3");
|
||||
gettext("Cinematic mode key");
|
||||
gettext("Key for toggling cinematic mode.\nSee http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3");
|
||||
gettext("Minimap key");
|
||||
@@ -362,8 +362,8 @@ fake_function() {
|
||||
gettext("Automaticaly report to the serverlist.");
|
||||
gettext("Serverlist URL");
|
||||
gettext("Announce to this serverlist.\nIf you want to announce your ipv6 address, use serverlist_url = v6.servers.minetest.net.");
|
||||
gettext("Disable escape sequences");
|
||||
gettext("Disable escape sequences, e.g. chat coloring.\nUse this if you want to run a server with pre-0.4.14 clients and you want to disable\nthe escape sequences generated by mods.");
|
||||
gettext("Strip color codes");
|
||||
gettext("Remove color codes from incoming chat messages\nUse this to stop players from being able to use color in their messages");
|
||||
gettext("Network");
|
||||
gettext("Server port");
|
||||
gettext("Network port to listen (UDP).\nThis value will be overridden when starting from the main menu.");
|
||||
|
||||
Reference in New Issue
Block a user