HomeJavaModsSmartMotd
SmartMotd

SmartMOTD - Full Usage Guide

===========================

What it does

SmartMOTD is a dynamic server-list MOTD system. It renders a 2-line MOTD (plus optional server icon) based on:

Installation

  1. Put the plugin jar into /plugins.
  2. Start the server once to generate config.yml.
  3. Edit plugins/SmartMOTD/config.yml.
  4. Reload with: /motd reload

Commands

/motd reload Reloads config and restarts MOTD rendering. Permission: smartmotd.reload

/motd maintenance [on|off|toggle] Toggles flags.maintenance (can trigger the maintenance mode). Permission: smartmotd.toggle

/motd event [on|off|toggle] Toggles flags.event (switches between event and event-live based on the configured target time). Permission: smartmotd.toggle

/motd failover [on|off|toggle] Toggles flags.failover (can trigger the failover mode). Permission: smartmotd.toggle

/motd mode set Forces a specific mode (ignores priority until cleared). Permission: smartmotd.toggle

/motd mode clear Clears forced mode. Permission: smartmotd.toggle

/motd mode status Shows current forced mode value. Permission: smartmotd.toggle

/motd preset list Lists built-in preset config packs. Permission: smartmotd.preset

/motd preset apply Applies a built-in preset to plugins/SmartMOTD/config.yml (backs up existing config first). Then reloads SmartMOTD. Permission: smartmotd.preset

/motd preview [mode] Prints a preview of the rendered MOTD for a mode in chat. If no mode is provided, it uses the currently forced mode value (if any). Permission: smartmotd.preview

/motd debug [on|off|toggle] Toggles config debug flag. Permission: smartmotd.debug

/motd web Creates a one-time access link to the Web Editor (if enabled). In-game only. Permission: smartmotd.web

Permissions

smartmotd.admin - Full access (command root permission in plugin.yml) smartmotd.reload - /motd reload smartmotd.toggle - /motd maintenance|event|failover|mode smartmotd.preset - /motd preset smartmotd.preview - /motd preview smartmotd.debug - /motd debug smartmotd.web - /motd web

How mode selection works

  1. If state.forced-mode is set (via /motd mode set), that mode is used.
  2. Otherwise SmartMOTD checks modes in the "priority:" list in order.
  3. The first matching mode is used.
  4. The normal mode is always used as the fallback if nothing else matches.

Built-in matches:

Custom mode conditions can also be used (see "Mode conditions" below).

Mode conditions

Under a mode, you can add: modes..conditions: min-online: or "%max%" max-online: months: [1..12] mood: <calm|active|overloaded> (or moods: [..]) time-of-day: <morning|afternoon|evening|night> (or times: [..]) day-of-week: <monday..sunday> (or days: [..]) geo: (or geos: [..])

Notes:

Multiple entries per mode (rotation + weights)

Each mode has entries: modes..entries:

Rotation config: modes..rotation: type: sticky | random | sequential | weighted interval-seconds: 30 random-seed: "smartmotd"

How it behaves:

Animation frames (optional)

You can animate an entry by adding frames: modes..entries:

There is also a per-mode animation section: modes..animation: enabled: true interval-seconds: 1 frames: - line1: "..." line2: "..."

If performance-guard switches to safe mode, animations are disabled automatically.

Formatting (colors + gradients)

Legacy colors: &0..&f

Formatting: &l bold &o italic &n underline &m strikethrough &r reset

Hex colors: &#RRGGBB

Gradients: gradient:#RRGGBB:#RRGGBBText

Config switches: format.legacy-ampersand: true/false format.hex: true/false format.gradients: true/false

If performance-guard switches to safe mode, hex and gradients are disabled automatically.

Built-in placeholders


PlaceholderAPI:

Web Editor

The Web Editor edits ONLY the normal mode entry 0: modes.normal.entries.0.line1 modes.normal.entries.0.line2 modes.normal.entries.0.icon

Enable in config.yml: web-editor: enabled: true bind: "0.0.0.0" port: 8765 public-host: "YOUR_SERVER_IP_OR_DOMAIN"

Important:

Open it:

  1. Run: /motd web
  2. Click the link (it includes a token).

Preview Web Editor

Presets

Built-in presets:

Apply: /motd preset apply

It overwrites plugins/SmartMOTD/config.yml and creates a backup in: plugins/SmartMOTD/config-backups/

Optional services

Performance Guard:

Event:

Promotions / Tips pools:

Easter eggs:

Weather:

Geo:

Failover TCP check:

Troubleshooting

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more