Setting and Using Enhanced Color MOTD
Coliseum2 has an enhanced color MOTD system that allow server admins to display a message for all clients once they successfully connect. This MOTD system is an addition to the stock Id MOTD method and does not affect it in any way.
The MOTD message itself is contained in a plain text file and that file is limited to 1000 characters. The file may contain any extension, usually .txt, but Mac and Linux systems may use different extensions if needed. The file itself may contain color control characters "^#" that will set the color for every character that follows it on the same line. There can be multiple color controls characters on the same line. Color control characters and carriage returns count towards the 1000 character limit.
The message may not contain the following character combinations in any part of the message: "/n", "/r", "/0". These are control characters used internally by the Mod and may have unpredictable results in affecting the message. Double quotes (") are also not allowed in the MOTD message. Also, do not use the Tab character in the MOTD files.
The message file must contain a carriage return after the last line (i.e. Press return at the end off the last line). Failing to do this will cause the last line to display twice.
Place the message file in the Mod directory and reference it with the variable g_motdfile:
CVAR: g_motdfile
Example: set g_motdfile "my_motd.txt"
Set to zero "0" if you do not wish to use any MOTD file. The default hardcoded message will be used.
The message will display in the lower left hand corner once a player connects successfully and will display for 6 seconds. Server admins may change the MOTD file referenced by g_motdfile at anytime but it will not take effect until the next level.
Clients may stop the MOTD display prematurely by bringing down the console and type "/smotd". Clients may also redisplay the MOTD at any time by typing "/motd" at the console.
Table of Contents | Setting and Using Server Game Rules | Setting and Using Anti Camping and Chat Protection |