bnmotd.txt, bnnews.txt bnissue.txt - messages for the Unix Battle.net daemon
The file bnmotd.txt
contains text displayed by bnetd
users first log into the server.
The file bnnews.txt
contains text displayed when the user uses the /news
The files consist of raw text with printf-style formatting escapes. Each line of
a file can contain a type formatter from the following list:
- Use the broadcast attribute (???).
- Execute the line as if the user entered it as a
- Use the error attribute (red).
- Use the info attribute (yellow). This is the same was
- Normal chat message (white). This will appear as if the
user said it.
- Emote chat message (???). This will appear as if the user
- Use the warning attribute (yellow). This is the same was
Within a line, any of the following format formatters may be used:
- Expand to a literal percent sign (%).
- Expand to the number of accounts on the server.
- Expand to the number of channels on the server. This
includes all permanent and current temporary channels.
- Expand to the number of games on the server. This includes
both public and private (passworded) games.
- Expand to the hostname of the server (as returned by
- Expand to this user's account ID number, formatted with a
leading pound (#) sign and leading zeros.
- Expand to this user's current chat name which is usually
- Expand to the IP of the remote machine (the client).
- Expand to four character client tag.
- Expand to the number of users logged into the server.
- Expand to the version number of the server.
- Ross Combs (firstname.lastname@example.org)