Skip to content
/SLASHPLAY

How to set the message of the day in Half-Life 2: Deathmatch

Upload your own motd.txt to hl2mp/cfg with the file manager; motdfile motd.txt is the default, so the server shows it to joining players.

motdfile

Sets which file the message of the day shown to joining players is loaded from. motd.txt by default.

motdfile <file>

Examples

motdfile motd.txt

The default file name.

Arguments

fileRequired
File name in the cfg folder.

What it does

The game ships hl2mp/cfg/motd_default.txt. Write your own motd.txt (text or HTML) and upload it to hl2mp/cfg.

Good to know

  • New files you upload in the file manager are kept between runs, so an uploaded hl2mp/cfg/motd.txt stays.

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 hl2mp/cfg/server.cfg. New to this? Start a HL2DM server first.

Your own
HL2DM server.

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