Skip to content

game_motd

wootguy edited this page Sep 17, 2026 · 1 revision

Displays a custom MOTD/briefing window.

image

If no file path or message text is set, then the following default files are used: mapname_motd (short mode), mapname or mapname_readme (long mode). Whichever file is found first is set as the window text.

Text length is limited to 1536 characters by default. The Long mode spawn flag removes this limit but has these drawbacks:

  • Custom titles don't work. The window title is automatically set to the name of the text file.
  • The file is downloaded to clients, and so must be renamed if you ever update the text.
Keyvalue Description
targetname Name used for triggering.
motd_title Title of the window. Defaults to the current map name.
motd_file File to load text from. Paths start in maps/ and do not include the .txt extension.
message Text to display, if no motd_file is set.
Spawnflag Description
1 : All players Open MOTD window for all players, not just the activator.
2 : Long mode Sends the MOTD file to clients for loading locally. Enables longer text but disables custom titles.

Clone this wiki locally