/cstrike/cfg/motd.txt in Files, put simple HTML in it or a single line with the full URL of a web page, and restart. Players see it in the welcome window when they join. Until cfg/motd.txt exists, the server uses the game’s cfg/motd_default.txt.
Where the MOTD file goes
The file ismotd.txt in the cfg folder: /cstrike/cfg/motd.txt. Not /cstrike/motd.txt. The console confirms the path at every start:
cfg/motd.txt. Don’t edit motd_default.txt: it belongs to the game and an update can replace it.
How to create an HTML MOTD
1
Open the cfg folder
In the Game Panel, click Files and open
/cstrike/cfg/. See the File Manager.2
Create motd.txt
Click New file, name it
motd.txt and paste your HTML. Keep it short; see the example below.3
Save and restart
Save the file and restart the server.
4
Check it
Join the server. The welcome window shows your MOTD. In the console you see
Set motd from file 'cfg/motd.txt'.Example HTML MOTD
How to show a web page instead (URL MOTD)
The MOTD file is small. The official Team Fortress 2 wiki, for the same Source engine, gives a limit of 2 KB. For a longer page with images, host it on a website and put only its address incfg/motd.txt:
Players who turn HTML off
Players can turn off HTML MOTDs in their game settings. They then see a plain-text MOTD instead of your HTML page, so put your most important rules in plain words in the HTML too, not only in images.Why the MOTD doesn’t show
Frequently asked questions
Can I use JavaScript in my CS:S MOTD?
Keep it to a minimum. The in-game browser is old and many scripts fail. A static HTML page is the safest.Can I change the MOTD file name?
Yes, with themotdfile cvar in server.cfg, but there is no need. Using cfg/motd.txt keeps it simple.
Do I need SourceMod for an MOTD?
No. The MOTD is a base game feature. SourceMod plugins can add extra windows, butcfg/motd.txt works on its own.
Does the MOTD update without a restart?
The server reads the file at start. Restart after you edit it.Related guides
CS:S server guide
Every CS:S page in one place.
server.cfg explained
The main config file.
Game settings
Name, password and rules.
File Manager
Create and edit files.
Tested by the FREAKHOSTING team on our Game Panel on 31 October 2026 (Counter-Strike: Source dedicated server; MOTD path confirmed in the server console). Size limit checked against the official Team Fortress 2 wiki on 31 October 2026.
Need Extra Help?
If you encounter any issues, our support team is ready to assist:- Live Chat: Quick assistance via our website.
- Support Ticket: Open a Ticket
- Discord: Join our Community
- Email: support@freakhosting.com
Last Updated: October 2026