Read and render a Minecraft MOTD
Read and safely render the sanitized Minecraft MOTD returned by the MinecraftStatus status API.
What this field means
Use motd.text for plain display and sanitizedParts when your renderer needs the bounded formatting tokens. The response is length-limited and protocol control characters are rejected. Do not treat a MOTD as ownership, compatibility or uptime evidence.
"motd": {
"text": "A measured server",
"sanitizedParts": [{ "text": "A measured server", "color": "#d9f2de" }]
}Handling rules
- Check
freshnessandvalidUntilbefore presenting the observation as current. - Keep missing values visibly unknown. Do not turn null into zero, a guessed version or an empty string.
- Use
evidenceCodeandverdictfor state decisions. Field values provide context.
Contract boundary
See the Java or Bedrock quickstart for a complete request and the OpenAPI contract for exact schemas.