Leaderboard Hologram
适用于 Fabric 和 NeoForge 的 Minecraft 排行榜全息图 —— 一种比记分板侧边栏更易读的替代方案,将你的顶级玩家展示在世界中。
Leaderboard Hologram 将原版玩家统计数据转化为基于 Minecraft 显示实体构建的浮动、自动更新的排行榜。可按游戏时长、生物击杀数、挖掘方块数、死亡次数、交易次数或任何自定义统计数据显示顶级玩家。在出生点、农场上方、大厅内或商店旁放置一个顶级玩家榜单。该模组完全位于服务器端:玩家使用原版客户端加入即可看到榜单,无需安装任何额外内容。


服务器为何使用它
- 无需客户端模组 —— 服务器上只需一个 jar 文件;原版客户端可以看到所有榜单。
- 默认易读 —— 居中的排名行、玩家名称和数值,每行均有背景色。
- 44 种预设及别名 —— 包括游戏时长、死亡、击杀、挖掘、制作、交易、钓鱼、移动等更多类别。无需输入原始统计键名。
- 聚合统计数据 —— 如已挖掘的所有矿石、已破坏的所有方块、已砍伐的所有原木或已制作的所有物品。
- 持久化命名榜单 —— 存储在
config/leaderboard_holograms.json 中,重启后恢复。
- 实时刷新 —— 每 5 分钟(6000 ticks)更新一次,也可通过
/leaderboard refresh 立即刷新。
- 四种主题 ——
clean(纯净)、gold(金色)、dark(深色)和 compact(紧凑),可针对每个榜单单独选择。
- 易读的数字格式 —— 游戏时长显示为
3d 7h 12m,距离以米和千米为单位,大数量值带分隔符。
- 自定义统计 —— 可将榜单指向任意统计路径,包括其他模组注册的统计项。
支持的加载器和版本
| 加载器 |
Minecraft 版本 |
| Fabric |
1.20.1 至 1.21.11,以及 26.1 和 26.1.1 |
| NeoForge |
1.20.1, 1.21.1, 1.21.10, 1.21.11, 26.1.2, 26.2, 26.3 |
请选择同时匹配你加载器和确切 Minecraft 版本的文件。每个 jar 文件都针对其特定的版本范围;请勿将 Fabric jar 与 NeoForge 混用,反之亦然。
要求
- Fabric: Fabric Loader 和 Fabric API。
- NeoForge: 匹配的 NeoForge 版本;无额外依赖。
- Java 21 用于 Fabric 1.20.1–1.21.11 的 jar 文件和 NeoForge 1.21.x 的 jar 文件;NeoForge 1.20.1 的 jar 文件运行于 Java 17。26.1 的 jar 文件需要 Java 25。
- 仅限服务器端安装。
快速开始
站在你想要放置榜单的位置并运行:
/leaderboard create quick play_time
这将在你的位置创建一个名为 play_time 的榜单,显示总游戏时长排名前 10 的玩家。
带有自定义行数主题的命名榜单:
/leaderboard create preset miners diamonds_collected 10
/leaderboard settheme miners gold
基于原始统计路径构建的榜单:
/leaderboard create path totems "minecraft:used/minecraft:totem_of_undying" 5
包含 : 或 / 的路径需用引号括起来。
命令
所有命令都需要权限等级 2(操作员)或服务器控制台权限。创建和相对于玩家位置的移动需要由玩家执行。
| 命令 |
功能 |
/leaderboard create quick <preset> |
在你当前位置创建一个以预设命名的榜单 |
/leaderboard create preset <name> <preset> [rows] |
从预设创建一个命名榜单 |
/leaderboard create path <name> <statistic_path> [rows] |
从原始统计路径创建一个命名榜单 |
/leaderboard create <name> <category> <stat_key> [rows] |
从类别和统计键创建一个榜单 |
/leaderboard remove <name> |
按名称删除榜单 |
/leaderboard remove nearest |
删除最近的榜单 |
/leaderboard rename <name> <new_name> |
重命名榜单 |
/leaderboard move <name> |
将榜单移动到当前位置 |
/leaderboard setpos <name> <pos> |
将榜单移动到绝对坐标 |
/leaderboard settop <name> <rows> |
更改显示的玩家数量(1–25) |
/leaderboard settheme <name> <theme> |
更改榜单主题 |
/leaderboard setstat preset <name> <preset> |
让榜单指向另一个预设 |
/leaderboard setstat path <name> <statistic_path> |
让榜单指向原始统计路径 |
/leaderboard setstat <name> <category> <stat_key> |
让榜单指向类别和统计键 |
/leaderboard info <name> |
显示统计信息、位置、行数和主题 |
/leaderboard list |
列出所有活动榜单 |
/leaderboard presets [query] |
列出或搜索预设 |
/leaderboard themes |
列出可用主题 |
/leaderboard search <query> |
按名称搜索预设 |
/leaderboard refresh |
立即刷新所有榜单 |
/leaderboard reload |
从配置文件重新加载榜单 |
如果另一榜单在 1.5 格范围内,新榜单将被拒绝;消息会建议至少移动 2 格远离。
内置预设
在游戏中运行 /leaderboard presets 获取完整列表,或运行 /leaderboard presets <query> 进行搜索。接受简短别名,如 diamonds、wood 和 kills。
时间与生存: play_time, time_since_death, time_since_rest, deaths, games_left
战斗: mob_kills, player_kills, damage_dealt, damage_taken, zombie_kills, skeleton_kills, creeper_kills, spider_kills, enderman_kills, dragon_kills, wither_kills
移动: distance_walked, distance_sprinted, distance_swum, distance_flown, jumps, elytra_uses
收集: diamonds_collected, iron_ingots_collected, gold_ingots_collected, emeralds_collected, redstone_collected, coal_collected, lapis_collected, copper_ingots_collected, netherite_scrap_collected
挖掘: blocks_broken_total, ores_mined_total, diamond_ore_mined, iron_ore_mined, gold_ore_mined, obsidian_mined, ancient_debris_mined, logs_chopped
合成与使用: items_crafted_total、items_used_total、items_picked_up_total
经济与钓鱼: villager_trades、fish_caught
主题
| 主题 |
外观 |
clean |
最小化居中行,带有柔和的高亮效果(默认) |
gold |
更温暖、类似高级网络的样式 |
dark |
sharper 的深色样式,带有居中行 |
compact |
适用于较小空间的紧凑行间距 |
/leaderboard settheme spawn_board compact

配置与存储
记分板保存在服务器目录下的 config/leaderboard_holograms.json 文件中。每个记分板存储其名称、统计项、维度、位置、行数以及主题。在编辑文件前请停止服务器,然后重新启动或运行 /leaderboard reload。
自动刷新每 5 分钟(6000 tick)运行一次。记分板读取在该世界中玩过的玩家的实时统计数据;一个没有玩家数据的新世界目前不会显示任何行。
自定义统计与模组统计
任何由原版统计系统追踪的统计项都可以显示。使用 /leaderboard create path 或 /leaderboard setstat path 并指定路径,例如:
minecraft:custom/minecraft:play_time
minecraft:mined/minecraft:deepslate_diamond_ore
minecraft:killed/minecraft:warden
minecraft:used/minecraft:ender_pearl
其他模组注册的统计项通常也通过相同的路径格式工作。当路径不属于常见的原版分类时,模组会发出警告。
常见问题解答
玩家需要安装此模组吗?
不需要。该模组为服务端模组;原版客户端即可看到记分板。
它能在 Paper 或原版服务器上运行吗?
不能。它要求服务器端使用 Fabric 或 NeoForge。
我应该下载哪个文件?
文件名中的加载器和 Minecraft 版本必须完全匹配。Fabric 和 NeoForge 的构建是分开提供的。
一个记分板最多能显示多少玩家?
最多 25 人;默认为 10 人。
它会拖慢服务器性能吗?
记分板是显示实体,每 5 分钟刷新一次,而非每个 tick 刷新。正常数量的记分板对性能的影响微乎其微。
为什么某个记分板是空的?
统计数据是按玩家和世界区分的。新世界中尚无统计数据,且记分板仅读取其所在维度的玩家数据。
我可以显示两个具有相同统计项的记分板吗?
可以。记分板通过名称进行寻址,并保持独立的位置、行数和主题设置。
我能将现有世界的配置迁移到另一个加载器上吗?
记分板配置文件与加载器无关,但请先在世界副本上进行测试。请保持相同的模组版本系列。
源码与支持
源代码:
错误报告、预设请求及提问:Discord v_eno 或 GitHub issue tracker。
本模组遵循 MIT License 授权。
Leaderboard Hologram
Minecraft leaderboard holograms for Fabric and NeoForge — a readable alternative to scoreboard sidebars that puts your top players in the world.
Leaderboard Hologram turns vanilla player statistics into floating, auto-updating leaderboards built from Minecraft display entities. Show top players by playtime, mob kills, blocks mined, deaths, trades or any custom statistic. Place a top-players board at spawn, over a farm, inside a lobby or beside a shop. The mod is fully server-side: players join with a vanilla client and see the boards with nothing installed.


Why servers use it
- No client mod — one jar on the server; vanilla clients see every board.
- Readable by default — centered rank rows, player names and values with per-row backgrounds.
- 44 presets with aliases — playtime, deaths, kills, mining, crafting, trades, fishing, movement and more. No need to type raw statistic keys.
- Aggregate statistics — boards such as all ores mined, all blocks broken, all logs chopped or all items crafted.
- Persistent named boards — stored in
config/leaderboard_holograms.json and restored after a restart.
- Live refresh — updates every 5 minutes (6000 ticks), plus
/leaderboard refresh for an immediate update.
- Four themes —
clean, gold, dark and compact, chosen per board.
- Readable numbers — playtime as
3d 7h 12m, distances in metres and kilometres, large counts with separators.
- Custom statistics — point a board at any statistic path, including statistics registered by other mods.
Supported loaders and versions
| Loader |
Minecraft versions |
| Fabric |
1.20.1 through 1.21.11, plus 26.1 and 26.1.1 |
| NeoForge |
1.20.1, 1.21.1, 1.21.10, 1.21.11, 26.1.2, 26.2, 26.3 |
Choose the file that matches both your loader and your exact Minecraft version. Each jar targets its own version range; do not mix a Fabric jar with NeoForge or the reverse.
Requirements
- Fabric: Fabric Loader and Fabric API.
- NeoForge: the matching NeoForge release; no extra dependency.
- Java 21 for the Fabric 1.20.1–1.21.11 jars and the NeoForge 1.21.x jars; the NeoForge 1.20.1 jar runs on Java 17. The 26.1 jars require Java 25.
- Server-side installation only.
Quick start
Stand where you want the board and run:
/leaderboard create quick play_time
That creates a board named play_time at your position, showing the top 10 players by total play time.
A named board with a custom row count and theme:
/leaderboard create preset miners diamonds_collected 10
/leaderboard settheme miners gold
A board built from a raw statistic path:
/leaderboard create path totems "minecraft:used/minecraft:totem_of_undying" 5
Quote paths that contain : or /.
Commands
All commands require permission level 2 (operator) or the server console. Creation and player-relative movement require a player.
| Command |
What it does |
/leaderboard create quick <preset> |
Create a board at your position, named after the preset |
/leaderboard create preset <name> <preset> [rows] |
Create a named board from a preset |
/leaderboard create path <name> <statistic_path> [rows] |
Create a named board from a raw statistic path |
/leaderboard create <name> <category> <stat_key> [rows] |
Create a board from a category and stat key |
/leaderboard remove <name> |
Delete a board by name |
/leaderboard remove nearest |
Delete the closest board |
/leaderboard rename <name> <new_name> |
Rename a board |
/leaderboard move <name> |
Move a board to your current position |
/leaderboard setpos <name> <pos> |
Move a board to absolute coordinates |
/leaderboard settop <name> <rows> |
Change how many players are shown (1–25) |
/leaderboard settheme <name> <theme> |
Change a board's theme |
/leaderboard setstat preset <name> <preset> |
Point a board at another preset |
/leaderboard setstat path <name> <statistic_path> |
Point a board at a raw statistic path |
/leaderboard setstat <name> <category> <stat_key> |
Point a board at a category and stat key |
/leaderboard info <name> |
Show statistic, position, row count and theme |
/leaderboard list |
List every active board |
/leaderboard presets [query] |
List or search presets |
/leaderboard themes |
List available themes |
/leaderboard search <query> |
Search presets by name |
/leaderboard refresh |
Refresh every board immediately |
/leaderboard reload |
Reload boards from the config file |
New boards are rejected when another board is within 1.5 blocks; the message recommends moving at least 2 blocks away.
Built-in presets
Run /leaderboard presets in game for the full list, or /leaderboard presets <query> to search it. Short aliases such as diamonds, wood and kills are accepted.
Time and survival: play_time, time_since_death, time_since_rest, deaths, games_left
Combat: mob_kills, player_kills, damage_dealt, damage_taken, zombie_kills, skeleton_kills, creeper_kills, spider_kills, enderman_kills, dragon_kills, wither_kills
Movement: distance_walked, distance_sprinted, distance_swum, distance_flown, jumps, elytra_uses
Gathering: diamonds_collected, iron_ingots_collected, gold_ingots_collected, emeralds_collected, redstone_collected, coal_collected, lapis_collected, copper_ingots_collected, netherite_scrap_collected
Mining: blocks_broken_total, ores_mined_total, diamond_ore_mined, iron_ore_mined, gold_ore_mined, obsidian_mined, ancient_debris_mined, logs_chopped
Crafting and usage: items_crafted_total, items_used_total, items_picked_up_total
Economy and fishing: villager_trades, fish_caught
Themes
| Theme |
Look |
clean |
Minimal centered rows with soft highlights (default) |
gold |
Warmer, premium network-style styling |
dark |
Sharper dark styling with centered rows |
compact |
Tighter rows for smaller spaces |
/leaderboard settheme spawn_board compact

Configuration and storage
Boards are saved in config/leaderboard_holograms.json in the server directory. Each board stores its name, statistic, dimension, position, row count and theme. Stop the server before editing the file, then start it again or run /leaderboard reload.
Automatic refresh runs every 5 minutes (6000 ticks). Boards read the live statistics of players who have played in that world; a fresh world with no player data shows no rows yet.
Custom statistics and modded statistics
Any statistic tracked by the vanilla statistics system can be displayed. Use /leaderboard create path or /leaderboard setstat path with a path such as:
minecraft:custom/minecraft:play_time
minecraft:mined/minecraft:deepslate_diamond_ore
minecraft:killed/minecraft:warden
minecraft:used/minecraft:ender_pearl
Statistics registered by other mods usually work through the same path format. The mod warns when a path is outside the common vanilla categories.
FAQ
Do players need the mod?
No. The mod is server-side; vanilla clients see the boards.
Does it work on Paper or a vanilla server?
No. It requires Fabric or NeoForge on the server.
Which file should I download?
Match the loader and the exact Minecraft version in the file name. Fabric and NeoForge builds are separate.
How many players can a board show?
Up to 25; 10 by default.
Will it lag the server?
Boards are display entities refreshed every 5 minutes, not every tick. A normal number of boards has negligible impact.
Why is a board empty?
Statistics are per player and per world. A new world has no statistics yet, and a board only reads players from its own dimension.
Can I show two boards with the same statistic?
Yes. Boards are addressed by name and keep independent positions, row counts and themes.
Can I move an existing world to another loader?
The board config is loader-independent, but test on a copy of the world first. Keep the same mod version family.
Source and support
Source code:
Bug reports, preset requests and questions: Discord v_eno or the GitHub issue tracker.
Licensed under the MIT License.
评论 0
登录后参与评分
还没有评论,来抢沙发吧