MOTD
Send a configurable welcome message to players when they join the server.
Overview
EssentialsC can send one or more lines to each player when they join the server. The message supports MiniMessage formatting, legacy ampersand color codes, and variable placeholders. Blank lines in the configuration are rendered as empty lines in chat.
Configuration
MOTD settings live under the motd section in config.yml.
| Key | Type | Default | Description |
|---|---|---|---|
motd.enabled |
Boolean | true |
Enable or disable the MOTD entirely. |
motd.lines |
List | [] |
The lines sent to each player on join. Supports MiniMessage and variable placeholders. |
config.yml
motd: enabled: true lines: - "" - "<gold>Welcome to <bold>MyServer</bold>, <white>%player_name%<gold>!</gold>" - "<gray>There are <white>%online%<gray> players online." - ""
Placeholders
The following variable placeholders can be used in MOTD lines:
| Placeholder | Replaced With |
|---|---|
%player_name% |
The joining player's name. |
%online% |
The current number of online players. |
The legacy formats
{PLAYER}, {player}, {ONLINE}, and {online} are also supported for backward compatibility.