Skip to content
/SLASHPLAY

How to use a custom MOTD file in CS:S

Type motdfile motd_custom.txt in the server console to show that file to joining players. It can hold text, HTML or a URL.

motdfile

Sets the file the server loads its message of the day from.

motdfile <filename>

Examples

motdfile motd_custom.txt

Use a custom MOTD.

Arguments

filenameRequired
MOTD file name.

What it does

The MOTD is shown to players when they join. The default file is motd.txt in cstrike, and it can hold plain text, HTML or a URL.

The game's own description: The MOTD file to load.

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to cstrike/cfg/server.cfg. New to this? Start a CS:S server first.

Your own
CS:S server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.