Custom MOTD

模组

· 作者 le_jack

适用于 Forge 1.7.10 的自定义服务器 MOTD。

0 本站下载 0 关注 更新于 1 年前

需要前置:UniMixins

最新 1.0.1 · 1.7.10 · Forge

一键开服(送7天)

Custom MOTD

一个适用于 1.7.10 Forge 的服务端模组,用于自定义服务器的 MOTD(欢迎信息)和玩家列表!

logo

image image image

依赖项

  • 自版本 1.0.1 起,UniMixins (curse, modrinth, git) 是必需的依赖项。

功能特性

  • 兼容原版
  • 可自定义的随机 MOTD
  • 可自定义的 PlayerList(玩家列表)工具提示

新增功能

  • 模组完全为服务端运行
  • 回传 {playerlist} 变量,以及 {weather}、{time}、{time_of_the_day}
  • 可配置服务器信息更新和热重载间隔
  • 配置重载命令 /cmotd_reload
  • 兼容 TabFaces (curse, modrinth, git)
  • 支持其他模组的变量

首次运行时,模组将在 <server root dir>/CustomMOTD 目录下生成两个用于自定义 MOTD 所需的文件。

共有两个配置文件:

  • customotdlist.txt
  • customplayerlist.txt

本模组支持多行 MOTD(原版限制为 2 行)。要在条目中设置换行,请在 custommotdlist.txt 的条目中使用管道符 |。 custommotdlist.txt 中的每个条目都是独立的 MOTD 选项。 customplayerlist.txt 包含玩家列表工具提示的替换模板。

变量

  • {playercount} - 当前在线玩家数量
  • {maxplayers} - 服务器支持的最大玩家数量
  • {difficulty} - 服务器难度等级
  • {mcversion} - 服务器 Minecraft 版本
  • {radio} - 混淆的无线电条
  • {playerlist} - 当前在线的前 10 名玩家列表
  • {weather} - 显示天气,格式可配置
  • {time} - 显示时间,格式可配置
  • {time_of_the_day} - 显示一天中的时间段(例如:正午、午夜)

模组变量

  • {rt_bloodmoon} - Random Things 血月,格式可配置
  • {serene_season} - Serene Seasons 季节 目前 1.7.10 版本的 Serene Seasons 移植版已损坏
  • {lycanites_event} - 主世界中活跃的 Lycanites Mobs 事件,格式可配置
  • TerraFirmaCraft - 各种变量:{tfc_season}、{tfc_day_of_month}、{tfc_day_of_week}、{tfc_day_of_year}、{tfc_month}、{tfc_month_name}、{tfc_year}、{tfc_hour}、{tfc_temperature}

欢迎联系我来提议新的模组变量。

颜色代码与格式化

完全支持使用 & 的原版 Minecraft 颜色代码和格式化。

您可以通过在行首添加 # 来注释掉该行。 特殊字符 | 和 &,以及前导 # 可以通过反斜杠 (\) 进行转义。

致谢

本模组基于 p455w0rd's MOTD Customizer (curse)。

许可证

LGPLv3。


license

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源