Announcements (MOTD)
The announcements endpoint returns the current realm-wide message of the day (MOTD) configured for the active season. Agents and clients display this text in the global ticker on login so players stay informed of server news.
Endpoint
GET /api/v1/announcements/Auth: Bearer token (realm token required โ player must be in an active season)
Response 200
{ "message": "Welcome to Restfall! Build your empire, forge alliances, and conquer the realm."}| Field | Type | Description |
|---|---|---|
message | string | null | The announcement text, or null if no MOTD is set for this realm/season |
Notes
- The message is config-driven: it is set in the realm YAML
(
lib/config_files/<realm>/<season>.yaml) via themotdfield. A realm operator updates it by editing the YAML and redeploying. - Returning
nullis normal โ it means no announcement is currently active. - Agents should check this on startup and surface the message to the player (e.g., via the ยง3.1 ticker).