RandomMOTD
Make your server pop from the multiplayer window with a randomized Message of the Day
介绍
RandomMOTD ~ Make your server pop from the multiplayer window!
_Server Side Mod: Does not need installation on client; compatible with vanilla clients!_
Minecraft Servers have a few precious options available to them to display information on the multiplayer screen–the most important of which are the Server icon and the MOTD, or ‘Message of the Day’, the two lines of text underneath the server’s name giving a descriptor. The problem is, with the MOTD being static, a player may simply not care about what is being displayed as it’s typically just the server’s name plus a mediocre announcement.
With RandomMOTD, a new MOTD picked randomly from a list can be sent to the player upon each refresh of the multiplayer screen. This can be used in a variety of ways: you could change the styling of the server’s name on every refresh, add easter eggs below the server’s name, or cycle through various server announcements. In the config MOTDs are a list of lists of strings: each MOTD sent to the client picks a random MOTD from each sublist and concatenates them together. This enables servers to include both static information and randomized information, such as having the server name on the top line and an easter egg on the bottom line.
In addition, RandomMOTD uses the PlaceholderAPI library by Patbox which allows better custom styling including custom color codes and gradients, and in a future update access to information on the server such as Player Count and TPS.
Finally, RandomMOTD also has one more optional feature: randomized server icons. These are off by default, but allow for multiple server icons that are updated with every refresh. These can be used to create variants of the server icon, or just full-on randomized pictures. There is no limit to the amount of MOTDs and icons one can add.
Config
The Config file, found in ./config/random_motd.json, includes 4 options. The config can be reloaded by running the /reload command ingame. (Does not modify the vanilla /reload command, just hooks on to it).
"motds": A list of lists of possible MOTDs. The mod will pick a random MOTD from every part of the list and concatenate them, producing a full MOTD. This feature is mainly so, if you would like to contain a static part of information independent from a random one, you can.
"use_randomized_icons": A boolean either enabling or disabling the randomized icon feature. Defaults tofalse.
"icons": A list of paths to server icons. Much like default server icons, they must be 64×64 PNG images.
"log_when_loaded": A boolean telling whether or not to log for every reload. On by default.
"CONFIG_VERSION_DO_NOT_TOUCH_PLS": Mod version–please do not touch it.
Example
Two refreshes of the server with a randomized MOTD and Server Icon

_Originally created for my private SMP, but I figured more people may want to use it_
常见问题
RandomMOTD 支持哪些 Minecraft 版本?
RandomMOTD 支持 Minecraft Java 版 1.19–1.20.1,共 3 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
RandomMOTD 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
firenh 的其他作品
查看全部 →Profundis: Nine New Quality Cave Biomes
一个世界生成模组,添加了九种新的洞穴生物群系,让地下世界更加多样。
Gravel Carts
Minecarts travel wayyy faster on rails on gravel.
RandomMOTD
Make your server pop from the multiplayer window with a randomized Message of the Day
GroupChat
A mod to add server-side group chats to Minecraft to allow for private messaging.

评论
登录后评论和评分