跳到正文

Server MOTD

作者:AtPoe

Switch between, and manage multiple server MOTDs without server restarts or manual configuration file editing.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Server MOTD:

Server MOTD is a simple yet powerful serverside administration tool that provides server operators with complete control over their server’s Message of the Day. The mod allows you to create multiple MOTD configurations and switch between them instantly using in-game commands, with full support for Minecraft color codes and automatic state persistence across server restarts.

Dynamic MOTD Management:

  • Create unlimited MOTD configurations as JSON files
  • Switch between MOTDs instantly without server restart
  • Automatic restoration of active MOTD after server shutdown
  • Original MOTD preservation and restoration
  • Two-line MOTD support with independent formatting

Color Code Support:

  • Full Minecraft color code support using & character
  • Automatic conversion to proper formatting codes
  • Per-line color customization
  • Support for all standard Minecraft color codes

State Persistence:

  • Remembers active MOTD across server restarts
  • Stores original server.properties MOTD safely
  • Automatic state restoration on server startup
  • JSON-based state management

Configuration System:

  • Simple JSON configuration format
  • Hot-reload support without restart
  • Example configuration auto-generated on first run
  • Organized file structure in config/Server-MOTD/

Command Reference:

All commands require operator level 2 permission.

  • /servermotd <filename> enable – Activate a specific MOTD configuration
  • /servermotd disable – Restore the original MOTD from server.properties
  • /servermotd reload – Reload all MOTD configurations from disk
  • /servermotd list – Display all available configurations with active status

Configuration and File Structure:

The mod uses JSON-based configuration files stored in config/Server-MOTD/:
[custom_name].json – Individual MOTD configuration files
active_state.json – Persistent state tracking (auto-generated)
example.json – Example configuration template (auto-generated)

Example Configuration Format:

{
  "description": "Example MOTD Configuration using & color codes",
  "line1": "&6Welcome to our server!",
  "line2": "&bEnjoy your stay!"
}

Join my Discord server: Here

Terms of use:

 You are welcome to include this mod in any modpack

 

You may not re-release this mod as your own

常见问题

Server MOTD 支持哪些 Minecraft 版本?

Server MOTD 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Server MOTD 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

AtPoe 的其他作品

查看全部 →