HikariScoreBoard
HikariScoreBoard 是一款仅适用于 Fabric 服务器的服务端 Minecraft 模组,用于在侧边栏显示玩家统计数据排名。最初为 光鯖 (Hikari Server) 社区开发。
- 安装目标:Fabric 服务器的
mods/ 文件夹,且仅限此处。请勿将此 jar 文件放入客户端。
- 客户端无需任何操作。Fabric Loader 和 Fabric API 是服务器端所需的依赖。玩家使用其已有的任何配置连接即可——包括完全未修改的原版客户端。
每位玩家看到的界面
该模组根据各客户端注册的插件通道(plugin channels)为每位玩家决定显示内容。这三种情况可以同时存在于同一台服务器上。
| 玩家的客户端 |
获得的内容 |
| 原版 — 无任何模组 |
在原版侧边栏中显示排名。仅使用原版的记分板数据包(创建目标 / 显示位置 / 更新数据,每行对应一个分数行)。绝不会向此类玩家发送自定义数据包。这是默认设置,且完全受支持。 |
| Hikari-Tweaks |
以自定义 HUD 取代侧边栏——可配置的位置、缩放比例、颜色和分页——通过 hikariscoreboard:ranking_data 通道传输。不会向此类玩家发送原版侧边栏。 |
| 带有 delta 协议的 Hikari-Tweaks |
相同的 HUD,但通过较新的 hikariscoreboard:ranking_v2 通道传输,该通道仅发送实际发生变化的行,而非整个列表。 |
/hikari 箱子菜单以及所有 /hikari 子命令在原版客户端上同样可用——该菜单是一个普通的箱子 / 铁砧界面,而命令则是标准的服务器命令。
功能
sidebarRanking
在侧边栏实时显示 13 种统计类型之一的排名:挖掘方块数、放置方块数、开采矿石数、敌对生物击杀数、死亡次数、村民交易次数、合成次数、玩家等级、延迟(Ping)、生命值,以及按生物 / 方块 / 物品分类的变体统计。
realtimeUpdates
延迟(Ping)、生命值和玩家等级在专用路径上每 250 毫秒同步一次。其他所有统计数据在破坏方块、放置方块、击杀生物或合成动作发生后的一刻(约 50 毫秒,即一个游戏刻内)推送——无轮询延迟。
chestMenuGui
运行 /hikari 打开一个箱子形状的菜单,用于切换统计类型、浏览按生物 / 方块分类的排名、通过 Minecraft ID 搜索以及切换显示状态——无需记忆命令。搜索框借鉴了铁砧的重命名字段,并匹配条目的 Minecraft ID(如 minecraft:diamond_ore,或简写为 diamond_ore),因此即使模组条目的显示名称不同,也能轻松找到它们。
commandInterface
所有操作也可通过 /hikari <subcommand> 执行。包括切换统计类型、选择目标(@s / @a / @o / <playerName>)和管理员控制(refresh / toplimit / fakeplayers / debug),后者需要 OP2 权限。/hikari toplimit 接受 1 到 14 之间的值,设置原版侧边栏显示的排名行数;Hikari-Tweaks HUD 始终接收完整列表并在客户端进行分页,因此不受此限制影响。
vanillaStatSourceOfTruth
直接从原版的 world/stats/*.json 读取数值,因此导入的已有世界会保持其统计数据历史完整。无自定义计数器,无数据漂移,无分歧。卸载此模组后,你的世界数据保持不变。
carpetFakePlayerDistinction
通过 Carpet 的 /player spawn 生成的机器人玩家会通过 UUID 版本(v3 离线哈希 vs v4 Mojang 官方 UUID)自动检测,并可通过 /hikari fakeplayers exclude 从排名中排除。
discordForumIntegration
可选功能,默认关闭,需配置后方可启用。 启用后,服务器会按照可配置的间隔将排名发布到 Discord 论坛频道,为每种统计类型创建专属线程,并在重启后重新关联现有线程。Discord 中的 /refresh 斜杠命令可触发立即更新。配置文件位于 <world>/data/hikariscoreboard/discord.properties(包含 enabled、机器人令牌、论坛频道 ID、间隔时间、行数);若未提供机器人令牌和频道 ID,则该功能根本不会启动。
hikariTweaksIntegration
当客户端安装了 Hikari-Tweaks 时,该玩家将获得一个完全可定制的 HUD(位置、缩放比例、颜色、分页)以取代原版侧边栏。Hikari-Tweaks 还会使数值变化趋向新值,而非直接跳跃。该动画是 Hikari-Tweaks 的功能,完全在客户端实时运行,并通过 ranking_v2 delta 路径传输;本模组自身没有平滑处理机制,始终发送真实数值。排序和排名始终基于这些真实数值,因此在动画过程中行顺序不会发生交换。
要求
- Minecraft 1.17.1 – 26.2(共 32 个版本,由 15 个文件覆盖——见下文)
- Fabric Loader >= 0.19.3(26.x 需要 >= 0.19.5;1.18.2 构建版单独接受 >= 0.14.24)
- Fabric API —— 需在服务器上安装
- Java 版本取决于你的 Minecraft 版本:
- Minecraft 1.17.1 → Java 16 或更高
- Minecraft 1.18 – 1.20.4 → Java 17 或更高
- Minecraft 1.20.5 – 1.21.11 → Java 21 或更高
- Minecraft 26.1 及更高版本 → Java 25 或更高
我应该下载哪个文件?
共有 15 个文件。每个文件覆盖与其 API 兼容的 Minecraft 版本范围,因此文件名中的版本号不一定是你的服务器版本——请选择包含你服务器版本的那一行。每个文件都声明了自己的版本范围,因此选错会在启动时被拒绝,而不是静默失败。
| 文件 |
支持版本 |
Java |
hikariscoreboard-<version>+1.17.1.jar |
1.17.1 |
16 |
hikariscoreboard-<version>+1.18.2.jar |
1.18, 1.18.1, 1.18.2 |
17 |
hikariscoreboard-<version>+1.19.2.jar |
1.19, 1.19.1, 1.19.2 |
17 |
hikariscoreboard-<version>+1.19.4.jar |
1.19.3, 1.19.4 |
17 |
hikariscoreboard-<version>+1.20.1.jar |
1.20, 1.20.1 |
17 |
hikariscoreboard-<version>+1.20.2.jar |
1.20.2 |
17 |
hikariscoreboard-<version>+1.20.4.jar |
1.20.3, 1.20.4 |
17 |
hikariscoreboard-<version>+1.20.6.jar |
1.20.5, 1.20.6 |
21 |
hikariscoreboard-<version>+1.21.1.jar |
1.21, 1.21.1 |
21 |
hikariscoreboard-<version>+1.21.4.jar |
1.21.2, 1.21.3, 1.21.4 |
21 |
hikariscoreboard-<version>+1.21.8.jar |
1.21.5, 1.21.6, 1.21.7, 1.21.8 |
21 |
hikariscoreboard-<version>+1.21.10.jar |
1.21.9, 1.21.10 |
21 |
hikariscoreboard-<version>+1.21.11.jar |
1.21.11 |
21 |
hikariscoreboard-<version>+26.1.2.jar |
26.1, 26.1.1, 26.1.2 |
25 |
hikariscoreboard-<version>+26.2.jar |
26.2 |
25 |
文件名表示该构建目标的主要版本,而非其唯一支持的版本——例如,1.21.8 的构建同时也支持 1.21.5 – 1.21.7。
Minecraft 1.17 本身不受支持;最早支持的版本为 1.17.1。
请使用 Modrinth 的版本筛选功能来获取适合你服务器的正确文件。
可选集成
- Hikari-Tweaks(客户端,按玩家)——自定义 HUD,支持可配置的位置、缩放、颜色和分页,以及平滑的值动画
- Carpet Mod ——启用 Carpet 机器人检测与排除功能
- Discord ——可选的论坛发帖功能;需要机器人令牌和论坛频道 ID(见上文)
致谢
由 光鯖 (Hikari Server) 开发——一个 Minecraft Java Edition 社区。
许可证
保留所有权利。 完整条款随 jar 包一同提供,位于 LICENSE 文件中。
仅限个人/私人服务器使用。未经版权持有人的事先书面许可,禁止重新分发、发布、销售或分发衍生作品。
不过,你可以修改自己的副本供自己使用,并反编译模组以调试这些更改为目的——两者均仅限私人使用,且均不允许分发结果。捆绑的第三方库不受此条款约束,仍受其各自许可证的保护(见下文)。
第三方库
jar 包在 META-INF/jars/ 目录下嵌入了多个第三方库(JDA 及其依赖项,用于可选的 Discord 集成)。每个库均以未修改形式嵌入,并保留其各自的许可证——大多数为 Apache License 2.0,GNU Trove (trove4j) 则为 GNU Lesser General Public License 2.1。包含版本号、版权声明和完整许可证文本的完整列表随 jar 包一同提供,位于 THIRD-PARTY-NOTICES.txt 和 licenses/ 中。这些许可证仅适用于嵌入式库;它们不适用于 HikariScoreBoard 本身。
支持与链接
HikariScoreBoard
HikariScoreBoard is a server-side-only Minecraft mod for Fabric servers that displays player statistics as sidebar rankings. Originally built for the 光鯖 (Hikari Server) community.
- Install target: the Fabric server's
mods/ folder, and nowhere else. Do not put this jar in a client.
- Nothing is required on the client. Fabric Loader and Fabric API are needed by the server. Players connect with whatever they already have — including a completely unmodified vanilla client.
What each player sees
The mod decides per player, from the plugin channels that player's client has registered. All three cases can be on the same server at the same time.
| The player's client |
What they get |
| Vanilla — no mods at all |
The ranking in the ordinary vanilla sidebar. Only vanilla scoreboard packets are used (objective create / display / update, plus one score line per row). No custom packet is ever sent to this player. This is the default and it is fully supported. |
| Hikari-Tweaks |
A custom HUD instead of the sidebar — configurable position, scale, colors and pagination — fed over the hikariscoreboard:ranking_data channel. The vanilla sidebar is not sent to this player. |
| Hikari-Tweaks with the delta protocol |
The same HUD, fed over the newer hikariscoreboard:ranking_v2 channel, which sends only the rows that actually changed instead of the whole list. |
The /hikari chest menu and every /hikari subcommand work on a vanilla client too — the menu is an ordinary chest / anvil screen, and the commands are ordinary server commands.
Features
sidebarRanking
Shows one of 13 stat types on the sidebar as a live ranking: blocks mined, blocks placed, ores mined, hostile kills, deaths, villager trades, crafting count, player level, ping, health, plus per-mob / per-block / per-item variants.
realtimeUpdates
Ping, Health, and Player Level sync every 250 ms on a dedicated path. All other stats push within one tick (~50 ms) of block break, block place, mob kill, or crafting actions — no polling delay.
chestMenuGui
Run /hikari to open a chest-shaped menu for switching stat type, browsing per-mob / per-block rankings, searching by Minecraft ID, and toggling display — no command memorization required. The search box borrows the anvil's rename field and matches the entry's Minecraft ID (minecraft:diamond_ore, or just diamond_ore), so modded entries stay reachable even when their display name differs.
commandInterface
Every action is also available via /hikari <subcommand>. Includes stat switching, target selection (@s / @a / @o / <playerName>), and administrative controls (refresh / toplimit / fakeplayers / debug) with OP2 gating. /hikari toplimit takes a value from 1 to 14 and sets how many ranking rows the vanilla sidebar shows; the Hikari-Tweaks HUD always receives the full list and pages through it client-side, so it is not affected.
vanillaStatSourceOfTruth
Reads values directly from vanilla's world/stats/*.json, so imported existing worlds keep their statistics history intact. No custom counters, no drift, no divergence. Uninstalling this mod leaves your world data untouched.
carpetFakePlayerDistinction
Bot players spawned via Carpet's /player spawn are automatically detected via UUID version (v3 offline-hash vs v4 Mojang) and can be excluded from rankings with /hikari fakeplayers exclude.
discordForumIntegration
Optional, and off until you configure it. When enabled, the server posts rankings to a Discord Forum channel on a configurable interval, giving each stat its own dedicated thread and re-adopting existing threads after a restart. A /refresh slash command in Discord triggers an immediate update. Configured in <world>/data/hikariscoreboard/discord.properties (enabled, bot token, forum channel ID, interval, row count); with no bot token and no channel ID the whole feature simply never starts.
hikariTweaksIntegration
When Hikari-Tweaks is installed on the client, that player gets a fully customizable HUD (position, scale, colors, pagination) instead of the vanilla sidebar. Hikari-Tweaks additionally eases changing numbers towards their new value rather than letting them jump. That animation is a Hikari-Tweaks feature and runs entirely on the client, in real time and on the ranking_v2 delta path; this mod has no smoother of its own and always sends true values. Sorting and ranks always come from those true values, so rows never swap places mid-animation.
Requirements
- Minecraft 1.17.1 – 26.2 (32 versions, covered by 15 files — see below)
- Fabric Loader >= 0.19.3 (26.x needs >= 0.19.5; the 1.18.2 build alone accepts >= 0.14.24)
- Fabric API — on the server
- Java, depending on your Minecraft version:
- Minecraft 1.17.1 → Java 16 or newer
- Minecraft 1.18 – 1.20.4 → Java 17 or newer
- Minecraft 1.20.5 – 1.21.11 → Java 21 or newer
- Minecraft 26.1 and later → Java 25 or newer
Which file do I download?
There are 15 files. Each one covers the Minecraft versions whose API it is compatible with, so the version in the file name is not necessarily your server version — pick the row that contains it. Each file declares its own range, so a wrong pick is refused at startup rather than failing silently.
| File |
Covers |
Java |
hikariscoreboard-<version>+1.17.1.jar |
1.17.1 |
16 |
hikariscoreboard-<version>+1.18.2.jar |
1.18, 1.18.1, 1.18.2 |
17 |
hikariscoreboard-<version>+1.19.2.jar |
1.19, 1.19.1, 1.19.2 |
17 |
hikariscoreboard-<version>+1.19.4.jar |
1.19.3, 1.19.4 |
17 |
hikariscoreboard-<version>+1.20.1.jar |
1.20, 1.20.1 |
17 |
hikariscoreboard-<version>+1.20.2.jar |
1.20.2 |
17 |
hikariscoreboard-<version>+1.20.4.jar |
1.20.3, 1.20.4 |
17 |
hikariscoreboard-<version>+1.20.6.jar |
1.20.5, 1.20.6 |
21 |
hikariscoreboard-<version>+1.21.1.jar |
1.21, 1.21.1 |
21 |
hikariscoreboard-<version>+1.21.4.jar |
1.21.2, 1.21.3, 1.21.4 |
21 |
hikariscoreboard-<version>+1.21.8.jar |
1.21.5, 1.21.6, 1.21.7, 1.21.8 |
21 |
hikariscoreboard-<version>+1.21.10.jar |
1.21.9, 1.21.10 |
21 |
hikariscoreboard-<version>+1.21.11.jar |
1.21.11 |
21 |
hikariscoreboard-<version>+26.1.2.jar |
26.1, 26.1.1, 26.1.2 |
25 |
hikariscoreboard-<version>+26.2.jar |
26.2 |
25 |
The file name is the version the build targets, not the only version it covers — the 1.21.8 build, for example, also covers 1.21.5 – 1.21.7.
Minecraft 1.17 itself is not supported; the earliest supported version is 1.17.1.
Use Modrinth's version filter to get the right file for your server.
Optional Integrations
- Hikari-Tweaks (client-side, per player) — custom HUD with configurable position, scale, colors and pagination, plus smooth value animation
- Carpet Mod — enables Carpet bot detection and exclusion
- Discord — optional Forum posting; needs a bot token and a forum channel ID (see above)
Credits
Developed at 光鯖 (Hikari Server) — a Minecraft Java Edition community.
License
All Rights Reserved. The full terms ship inside the jar as LICENSE.
Personal / private-server use only. Redistribution, publication, sale, and distribution of
derivative works are not permitted without prior written permission from the copyright holder.
You may, however, modify your own copy for your own use, and decompile the mod as far as is
needed to debug those changes — both for private use only, and neither lets you distribute the
result. The bundled third-party libraries are not covered by this and stay under their own
licenses (see below).
Third-party libraries
The jar embeds several third-party libraries under META-INF/jars/ (JDA and its dependencies, used for the optional Discord integration). Each is embedded unmodified and stays under its own license — Apache License 2.0 for most of them, and the GNU Lesser General Public License 2.1 for GNU Trove (trove4j). The complete list with versions, copyright notices and the full license texts ships inside the jar as THIRD-PARTY-NOTICES.txt and licenses/. Those licenses cover the embedded libraries only; they do not apply to HikariScoreBoard itself.
Support & Links
- Homepage:
- Bug reports / questions:
- Modrinth:
评论 0
登录后参与评分
还没有评论,来抢沙发吧