MOTD

The Message of the Day (or MOTD) is a information text which is displayed short after connecting a client to a server. It is featured since AssaultCube 0.93. MOTDs are usually be used to welcome a player and to give some informations about the server's owner or features like ladder support, blacklisting aso. Sometimes a MOTD is also used to inform that a clan is recruiting new members.

Configuring a MOTD
The MOTD can be customized by adding or changing the  command line option in the server launching script (typically assaultcube_server.bat on Windows or assaultcube_server.sh on Linux). Since 1.1, the MOTD can be stored in a separate text file, eg. motd_en.txt. This file is checked while the server is running, so updates do not require a restart of the server binary.

Plain MOTD
-o"Example for a single line"

Multiline MOTD
To start a new line within a MOTD use the newline character '\n'. Since patch 1.0.1, this character can be encoded by the escape sequence "\n". Newline character escaping is independent from the operating system. However, on a linux commandline it may be necessary to escape the backslash itself (example: "two\\nlines").

-o"Example for a MOTD\nwith several lines."

Colored MOTD
Since patch 1.0.1 it is also possible to use color codes in a single or multiline MOTD. Colorization works via the control-char - which is a "\f" (FormFeed) - followed by an indication character. Apart from the special cases of  and   for saving/restoring previously set coloors in the current line of text, you can use the following numbers to set to the respective color (see colortable).

-o"\f0green\f1blue\f2yellow\f3red\f4gray\f5white\f6magenta\f7darkred"

This will work on all platforms. However, on a linux commandline it may be necessary to escape the backslash itself (example: "\\f3red").