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 must end with either extention .cfg, .menu or .c 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.
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.cfg"
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. Players may also display the MOTD on demand at anytime be pressing the key they have bound to the command "+motd".
Server admins may change the MOTD file referenced by g_motdfile at anytime but it will not take effect until the next level or until they enter the command "readmotd".
Table of Contents | Setting and Using Server Game Rules | Setting and Using Anti Camping and Chat Protection |