The Message of the Day and News are displayed when someone joins the server.
Parameters set in italic are optional.
| Command | Flag | Param | Description |
|---|---|---|---|
| /motd | Shows the current MotD | ||
| /news | Shows the current News | ||
| /rules | Shows the current Rules | ||
| /set | -n,-m,-r,-u | message | Edits the r(ules), m(otd), n(ews) or (new) u(ser) motd |
For message formatting see section below.
| Command | Permission Node |
|---|---|
| /motd | admincmd.server.motd |
| /news | admincmd.server.news |
| /rules | admincmd.server.rules |
| /set -n | admincmd.server.set.news |
| /set -m | admincmd.server.set.motd |
| /set -r | admincmd.server.set.rules |
| /set -u | admincmd.server.set.motd |
| /set | admincmd.server.set.* |
You can set the MotD and news in the locale file or per command ingame. With both you have special variables available to use:
| Variable | Description |
|---|---|
| %player | The name of the connected player |
| %nb | Number of currently online players. number =( connected players - invisible players) |
| %connected | List of the Names of currently connected players who are not invisible |
| %d%h%m%s | Displays the time the viewing user has spent on the server |
| //n | The newline character |
| &# | Used for coloring your message, see Color Explanation for more information |
| %time | Shows the current RealTime in the format specified in the Configuration |