Tab List
自定义你的 Minecraft 服务器的标签页列表(Tab List)头部、底部以及欢迎信息 —— 适用于 Fabric 和 NeoForge。

Tab List 是一款轻量级的服务端 Minecraft 模组,支持 Fabric 和 NeoForge。它允许你用自定义文本、颜色和实时服务器状态数据替换玩家列表的头部和底部,并在玩家加入时发送一条每日消息(MOTD)。无需安装任何客户端模组。
功能
- 自定义标签页列表头部和底部
- 玩家登录时发送每日消息(MOTD)
- 支持TPS、MSPT、在线玩家数和运行时长等实时占位符
- 完整支持 Minecraft 格式化代码(
§ 颜色与样式,以及 #N 换行)
- 可调整的刷新间隔
- 兼容 Fabric 和 NeoForge
- 两种加载器使用相同的简单 JSON 配置文件
安装
- 在你的 Minecraft 服务器上安装 Fabric Loader 或 NeoForge。
- 从 Modrinth 或
GitHub Releases 下载对应你 Minecraft 版本的 jar 文件。
- 将 jar 文件放入服务器的
mods/ 文件夹中。
- 对于 Fabric,还需安装 Fabric API。
- 启动服务器。配置文件将生成于
config/fabric-tab.json。
- 编辑配置文件并重启服务器。
这是一个服务端模组。玩家无需安装任何内容。
支持版本
| 加载器 |
Minecraft 版本 |
| Fabric |
1.16.5, 1.18–1.18.2, 1.19–1.19.4, 1.20–1.20.1, 1.21–1.21.11, 26.1–26.3 |
| NeoForge |
1.21.1, 1.21.4, 1.21.8, 1.21.11, 26.1.2, 26.2, 26.3 |
请使用与你 Minecraft 版本匹配的 jar 文件。NeoForge 26.1 的支持针对的是 26.1.2;
NeoForge 并未发布 26.1 或 26.1.1 的构建版本。
配置
配置文件为 config/fabric-tab.json:
{
"configVersion": 2,
"header": "§7§l§oCOOL#N SERVER #N#N§6very cool§f#N",
"footer": "#N§b#TPS tps - #MSPT mspt - #PLAYERCOUNT players - #UPTIME uptime#N",
"motd": "§7§oWelcome to the server.§f",
"refreshTickInterval": 20,
"enabled": true
}
| 键名 |
类型 |
描述 |
configVersion |
number |
内部版本号。请勿更改。 |
header |
string |
显示在玩家列表上方的文本。 |
footer |
string |
显示在玩家列表下方的文本。 |
motd |
string |
玩家加入时发送的消息。 |
refreshTickInterval |
number |
头部/底部更新之间的刻数。20 约等于 1 秒。值为 0 或负数时将回退到 20。 |
enabled |
boolean |
启用或禁用该模组。 |
配置文件在服务器启动时加载,因此编辑后需重启服务器。
在 Minecraft 1.16.5–1.19.4 中,配置文件使用 configVersion 1,仅包含 header、
footer 和 motd;在这些版本中,标签页列表会在每一刻都刷新。
MOTD 会原样发送:motd 内的占位符不会被处理。
占位符
可在 header 和 footer 中使用以下占位符:
| 占位符 |
替换为 |
#TPS |
当前服务器 TPS(上限为 20) |
#MSPT |
平均每刻毫秒数 |
#PLAYERCOUNT |
在线玩家数量 |
#UPTIME |
服务器进程运行时长 |
#N |
换行符 |
占位符区分大小写。
底部示例:
#N§b#TPS tps §7| §b#MSPT mspt §7| §b#PLAYERCOUNT players §7| §b#UPTIME uptime#N
格式化
Minecraft 传统格式化代码正常工作:
§0 black §1 dark blue §2 dark green §3 dark aqua
§4 dark red §5 dark purple §6 gold §7 gray
§8 dark gray §9 blue §a green §b aqua
§c red §d light purple §e yellow §f white
§k obfuscated §l bold §m strikethrough
§n underline §o italic §r reset
常见问题
这能在客户端上使用吗?
不需要客户端模组。只需安装在服务器上即可。
Fabric 需要 Fabric API 吗?
是的。NeoForge 不需要额外的 API 模组。
修改配置后无需重启即可生效吗?
不可以。配置文件在启动时读取,因此编辑后需重启服务器。
我可以在 MOTD 中使用占位符吗?
不可以。占位符仅适用于头部和底部。MOTD 将按写入的原样发送。
我在哪里报告错误或请求新功能?
请使用 问题追踪器。
链接
许可证
GPL-3.0。详见 LICENSE。
Tab List
Customize your Minecraft server's tab list header, footer, and welcome message — on Fabric and NeoForge.

Tab List is a lightweight, server-side Minecraft mod for Fabric and NeoForge. It lets you
replace the player list header and footer with your own text, colors, and live server stats, and
send a message of the day when players join. No client mod is required.
Features
- Custom tab list header and footer
- MOTD sent on player login
- Live placeholders for TPS, MSPT, player count, and uptime
- Full Minecraft formatting code support (
§ colors and styles, plus #N for new lines)
- Adjustable refresh interval
- Works on Fabric and NeoForge
- Same simple JSON config on both loaders
Installation
- Install Fabric Loader or NeoForge on your Minecraft server.
- Download the jar for your Minecraft version from Modrinth or
GitHub Releases.
- Put the jar in your server's
mods/ folder.
- On Fabric, also install Fabric API.
- Start the server. The config file is created at
config/fabric-tab.json.
- Edit the config and restart the server.
This is a server-side mod. Players do not need to install anything.
Supported versions
| Loader |
Minecraft versions |
| Fabric |
1.16.5, 1.18–1.18.2, 1.19–1.19.4, 1.20–1.20.1, 1.21–1.21.11, 26.1–26.3 |
| NeoForge |
1.21.1, 1.21.4, 1.21.8, 1.21.11, 26.1.2, 26.2, 26.3 |
Use the jar that matches your Minecraft version. NeoForge 26.1 support is for 26.1.2;
NeoForge does not publish builds for 26.1 or 26.1.1.
Configuration
The config file is config/fabric-tab.json:
{
"configVersion": 2,
"header": "§7§l§oCOOL#N SERVER #N#N§6very cool§f#N",
"footer": "#N§b#TPS tps - #MSPT mspt - #PLAYERCOUNT players - #UPTIME uptime#N",
"motd": "§7§oWelcome to the server.§f",
"refreshTickInterval": 20,
"enabled": true
}
| Key |
Type |
Description |
configVersion |
number |
Internal version. Do not change. |
header |
string |
Text shown above the player list. |
footer |
string |
Text shown below the player list. |
motd |
string |
Message sent to players when they join. |
refreshTickInterval |
number |
Ticks between header/footer updates. 20 = about 1 second. Values of 0 or less fall back to 20. |
enabled |
boolean |
Enables or disables the mod. |
The config is loaded at server startup, so restart the server after editing it.
On Minecraft 1.16.5–1.19.4 the config uses configVersion 1 and only contains header,
footer, and motd; the tab list is refreshed every tick on those versions.
The MOTD is sent as-is: placeholders are not processed inside motd.
Placeholders
Use these inside header and footer:
| Placeholder |
Replaced with |
#TPS |
Current server TPS (capped at 20) |
#MSPT |
Average milliseconds per tick |
#PLAYERCOUNT |
Number of online players |
#UPTIME |
Server process uptime |
#N |
A new line |
Placeholders are case-sensitive.
Example footer:
#N§b#TPS tps §7| §b#MSPT mspt §7| §b#PLAYERCOUNT players §7| §b#UPTIME uptime#N
Formatting
Minecraft legacy formatting codes work normally:
§0 black §1 dark blue §2 dark green §3 dark aqua
§4 dark red §5 dark purple §6 gold §7 gray
§8 dark gray §9 blue §a green §b aqua
§c red §d light purple §e yellow §f white
§k obfuscated §l bold §m strikethrough
§n underline §o italic §r reset
FAQ
Does this work on a client?
No client mod is needed. Install it on the server only.
Does Fabric require Fabric API?
Yes. NeoForge does not need an extra API mod.
Do changes apply without a restart?
No. The config is read at startup, so restart the server after editing it.
Can I use the MOTD placeholders?
No. Placeholders apply to the header and footer only. The MOTD is sent exactly as written.
Where do I report bugs or request features?
Use the issue tracker.
Links
License
GPL-3.0. See LICENSE.
评论 0
登录后参与评分
还没有评论,来抢沙发吧