Simple Player List
Simple Player List 是一款 Minecraft 模组,它引入了使用 Placeholder API 自定义服务器玩家列表(Tab 列表)的功能。 它支持彩色文本以及服务器和玩家信息。
配置
首次加载模组时,会在 config/simpleplayerlist.json 生成一个默认配置文件:
{
"header": [
"<bold>Default Config</bold>",
2.0,
"<gray>To change this, edit",
"config/simpleplayerlist.json</gray>",
2.0,
"<aqua><st> </st></aqua>"
],
"footer": [
"<aqua><st> </st></aqua>",
2.0,
"<gray>TPS: %server:tps_colored_alt%<dark_gray>/</dark_gray>%server:mspt_colored_alt% <dark_gray>-</dark_gray> Ping: %player:ping_colored_alt%</gray>"
],
"tick_update_interval": 20
}
header 和 footer 数组中的每个条目可以是文本行或数字。数字表示插入的空行数。
此文件使用 Placeholder API 的格式化系统。参考:
该模组还添加了三个新的占位符替代方案:%server:tps_colored_alt%、
%server:mspt_colored_alt% 和 %player:ping_colored_alt%。
这些变体提供了改进的颜色逻辑和展示效果,其颜色可以通过 good、
moderate、bad 和 critical 参数进行更改(例如 %server:tps_colored_alt good:aqua critical:#ff0000%)。
命令
要对配置文件所做的更改生效,请使用游戏内命令 /simpleplayerlist reload。
玩家可以运行 /simpleplayerlist 来在本地切换模组的开关状态。
依赖项
Simple Player List
Simple Player List is a Minecraft mod which introduces the ability to customize server's player list (Tab list) using Placeholder API. It supports colored text as well as server and player information.
Configuration
Upon loading the mod for the first time, a default configuration file will be generated at
config/simpleplayerlist.json:
{
"header": [
"<bold>Default Config</bold>",
2.0,
"<gray>To change this, edit",
"config/simpleplayerlist.json</gray>",
2.0,
"<aqua><st> </st></aqua>"
],
"footer": [
"<aqua><st> </st></aqua>",
2.0,
"<gray>TPS: %server:tps_colored_alt%<dark_gray>/</dark_gray>%server:mspt_colored_alt% <dark_gray>-</dark_gray> Ping: %player:ping_colored_alt%</gray>"
],
"tick_update_interval": 20
}
Each entry in the header and footer arrays can be either a text line or a number. Number how many blank lines to
insert.
This file uses Placeholder API's formatting system. Refer to:
This mod also adds three new alternatives to the default placeholders: %server:tps_colored_alt%,
%server:mspt_colored_alt% and %player:ping_colored_alt%.
These variants provide improved color logic and presentation, and their colors can be changed with the good,
moderate, bad and critical arguments (e.g. %server:tps_colored_alt good:aqua critical:#ff0000%).
Commands
To apply changes made to the configuration file, use the in-game command /simpleplayerlist reload.
Players can run /simpleplayerlist to toggle the mod on their end.
Dependencies
下载 Simple Player List
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Player List
下载 Simple Player List
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Player List
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Player List
下载 Simple Player List
- 更新到 26.3
- 为 %tps_colored_alt%、%mspt_colored_alt% 和 %ping_colored_alt% 添加颜色参数
- 在重载失败时保留当前配置,而不是加载默认配置
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧