描述
TabListPing 会在玩家列表(Tab 列表)中显示每位玩家的延迟时间。与其他使用服务器提供的不够准确的数值的插件不同,TabListPing 会自行测量延迟时间。格式可配置,可以使用玩家的常规名称或“显示名称”。无需任何配置,只需将其放入你的 plugins 文件夹并重启服务器即可。
如果你安装了 EssentialsX,TabListPing 还会为所有处于空闲状态(AFK)的玩家添加一个 AFK 指示器。

TabListPing 可以选择性地显示 Tab 列表的页眉和页脚,并包含诸如玩家所在世界名称和服务器 TPS 等变量。这需要做一些简单的配置和权限更改。
详情
大约在 1.12 版本发布时,有人破坏了服务器维护每个玩家延迟时间的方式,导致显示的数值偏高得离谱。当然,那些依赖服务器维护的延迟时间的插件也会显示这些虚高的延迟值。TabListPing 会自行计算延迟时间,因此比依赖服务器数值的插件要准确得多。
它是如何工作的?每隔 15 到 25 秒,服务器会向每个客户端发送一条“Keep Alive”消息。客户端随后会回复一条自己的“Keep Alive”消息。TabListPing 监控每条消息的发送/接收时间,并将时间差作为延迟时间。你会看到数值每 15-25 秒更新一次。显示的数值是最近三次测量的平均值。
配置
format - 这是 Tab 列表中条目的显示格式,应用单引号括起来。你可以使用三个变量:%name% 会被替换为玩家的实际名称,%displayname% 会被替换为玩家的“显示名称”(包括颜色代码,如果有),%ping% 会被替换为毫秒单位的延迟时间。你也可以使用标准的 Minecraft 颜色代码。
format-afk - 这是当玩家处于空闲(AFK)状态时使用的格式。如果你不希望显示 AFK 指示器,只需编辑 config.yml,使 format-afk 与 format 相同即可。(不要将其设置为 null。)AFK 指示器需要 EssentialsX 支持。
enable-tps - 启用 Tab 列表页眉和页脚的显示。默认禁用以最大化与其他 Tab 列表插件的兼容性。
format-header 和 format-footer - 分别用于页眉和页脚的格式。支持的变量有 %name%、%displayname%、%tps%、%mspt%、%load% 和 %world%。注意,Spigot 不支持 %tps%、%mspt% 或 %load%。玩家需要拥有 tablistping.header 和/或 tablistping.footer 权限才能查看。
默认配置如下:
# Supported variables are %name%, %displayname%, and %ping%
format: '%name% &7[&a%ping%ms&7]'
format-afk: '%name% &7[&a%ping%ms&7] &eAFK'
# Enable header/foot display
# Supported variables are %name%, %displayname%, %tps%, %mspt%, %load%, and %world%
# Spigot does not support %tps%, %mspt%, or %load%
enable-tps: false
format-header: ''
format-footer: '&7TPS: %tps% &7MSPT: %mspt%'
这将产生如上图所示的格式。
命令
/tablistping reload - 重新加载配置文件。
/tablistping report - 生成当前所有已登录玩家的延迟时间报告。这主要用于控制台(玩家可以直接查看 Tab 列表来了解延迟时间)。
权限
tablistping.header - 为此玩家显示 Tab 列表页眉 tablistping.footer - 为此玩家显示 Tab 列表页脚 tablistping.command - 使用所有子命令所需的权限 tablistping.command.reload - 允许使用重载命令 tablistping.command.report - 允许使用报告命令
其他
本插件使用 bStats 指标系统提供 匿名 使用数据。你可以通过更改 plugins/bStats/config.yml 全局退出统计。相关指标可在 查看。
Description
TabListPing shows each player's ping time in the tab player list. Unlike other plugins which use an inaccurate value from the server, TabListPing measures the ping time itself. The format is configurable and can use the players' regular names or the "display name". No configuration is required. Just drop it in your plugins folder and restart your server.
If you have EssentialsX, TabListPing will also add an AFK indicator to any player who is AFK.

TabListPing can optionally display the tab list headers and footers, and include variables such as the player's world name and the server's TPS. This requires making minor configuration and permission changes.
Details
Somewhere around the release of 1.12, somebody broke the way the server maintained each player's ping time, with the result being the values are way too high. And, of course, plugins which used the ping time maintained by the server also displayed these inflated ping times. TabListPing calculates the ping times itself and is much more accurate than plugins which rely on the server's value.
How does it work? Every 15 to 25 seconds, the server sends out a "Keep Alive" message to each client. The client then responds with its own "Keep Alive" message. TabListPing monitors when each message is sent/received and uses the time difference as the ping time. You'll see the values updated every 15-25 seconds. The value displayed is the average of the last three measurements.
Configuration
format - This is the format of the entries displayed in the tab list and should be enclosed in single quotes. There are three variables you can use: %name% is replaced with the player's regular name, %displayname% is replaced with the player's "display name" including colors (if any), and %ping% is replaced with the ping time in milliseconds. You can also use the standard Minecraft color codes.
format-afk - This is the format used when a player is AFK. If you don't want the AFK indicator, simply edit config.yml so that format-afk is the same as format. (Don't set it to null.) The AFK indicator requires EssentialsX.
enable-tps - This enables the display of the tab list header and footer. It is disabled by default to maximize compatibility with other tab list plugins.
format-header and format-footer - This format of the header and footer, respectively. Supported variables are %name%, %displayname%, %tps%, %mspt%, %load%, and %world%. Note that Spigot does not support %tps%, %mspt%, or %load%. Players need to have the permission tablistping.header and/or tablistping.footer.
The default configuration is:
# Supported variables are %name%, %displayname%, and %ping%
format: '%name% &7[&a%ping%ms&7]'
format-afk: '%name% &7[&a%ping%ms&7] &eAFK'
# Enable header/foot display
# Supported variables are %name%, %displayname%, %tps%, %mspt%, %load%, and %world%
# Spigot does not support %tps%, %mspt%, or %load%
enable-tps: false
format-header: ''
format-footer: '&7TPS: %tps% &7MSPT: %mspt%'
This results in the format shown in the image above.
Commands
/tablistping reload - This reloads the configuration file.
/tablistping report - This produces a report of the current ping times for all logged in players. This is mainly useful from the console (a player could just look at the tab list to see the ping times).
Permissions
tablistping.header - Displays tab list header for this player tablistping.footer - Displays tab list footer for this player tablistping.command - Required permission for all subcommands tablistping.command.reload - Allow use of the reload command tablistping.command.report - Allow use of the report command
Miscellaneous
This plugin uses the bStats metrics system to provide anonymous usage data. You may opt-out globally by changing plugins/bStats/config.yml. The metrics are available at
下载 TabListPing
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TabListPing
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TabListPing
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TabListPing
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TabListPing
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TabListPing
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
TabListPing 2.03 修复了玩家连接服务器时偶尔发生的异常(由 PuppyTransGirl 贡献)。此外,它还包含了“Mojang mappings”,这应能确保该插件在 Minecraft 26.0 发布后继续正常工作。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧