CubeCraft 等级与排名
在游戏中的名牌上查看玩家的 CubeCraft 等级,并在标签页列表中以彩色条显示其 排名 —— 利用 CubeCraft 直接暴露给客户端的信息。
⚠️ 非官方。 并非由 CubeCraft 制作、认可或支持。该模组主要读取服务器已发送给客户端的信息,并使用自动执行的
/who命令来填充未知玩家的数据 —— 详见下方的 工作原理。
功能说明
- ?️ 名牌上的等级 —
PlayerName [Lv. 127],在游戏中位于玩家头顶上方。 - ? 标签页列表中的排名条 — 每个条目旁有一个小彩色条 (▌):灰色代表 Stone,白色代表 Iron,青色代表 Diamond,紫色代表 Obsidian。
- ⚡ 在大厅中几乎瞬间知晓。 本地数据库会记住你之前遇到的每一位玩家,因此当你加入时,他们的等级和排名会立即显示。对于模组尚不知晓的玩家,一旦大厅稳定下来,它可以自动使用 CubeCraft 的
/who命令。 - ?️ 完整的游戏内设置界面 — 无需编辑配置文件(当然如果需要也可以编辑)。可以实时切换所有选项、重命名排名、重新着色条形、调整可见性等。
- ? 完全可配置的可见性 — 选择名牌格式(
[Lv. 127]、[127]、Lv. 127、自定义);可选择是否在名牌上也显示排名,以及在标签页列表中显示等级。
截图


工作原理
CubeCraft 已通过正常的客户端可见数据和命令提供了此模组显示的信息:
- 在 CubeCraft 自己的玩家列表聊天消息中 悬停玩家名字 会显示一个包含其姓名、等级和排名的工具提示。该工具提示是一个标准的 Minecraft 悬停事件;本模组读取此信息。
- 服务器已经推送到你客户端的 标签页列表 和 记分板团队数据 也携带了排名信息,这就是为什么排名通常在加入后一秒钟内就会显示的原因。
- 对于等级仍未知的玩家,模组可以在加入大厅后自动执行一次 CubeCraft 普通的
/who命令。CubeCraft 返回的响应包含与你手动输入/who所看到的相同玩家信息。 - 本地磁盘缓存 (
config/lvl_rank-players.json) 会记住关于每位玩家的学习结果,以便你在下次访问时能立即识别回归玩家 —— 此文件永远不会离开你的计算机,也不会上传到任何地方。
此处不使用 CubeCraft API、排行榜抓取、网站查询或第三方数据库。玩家信息直接来自你连接期间 CubeCraft 发送的数据。
它永远不会做什么
- ❌ 向服务器发送 任何 自定义网络数据包。
- ❌ 代替你点击、移动或操作。
- ❌ 查询 CubeCraft 的网站、API 或任何第三方服务。
- ❌ 影响移动、战斗、攻击距离、瞄准、击退或冷却时间。
- ❌ 揭示隐形/隐藏的玩家或穿透墙壁渲染名牌。
- ❌ 在非 CubeCraft 服务器上执行任何操作 —— 模组通过地址检测连接,在其他所有地方(包括单人游戏)保持完全 inactive。
唯一的自动服务器交互是下文描述的 /who 命令。
自动 /who —— 默认启用
自动 /who 默认启用,以便无需等待有人在聊天中说话即可填充未知玩家的等级。
加入大厅后,模组会等待局势稳定,如果仍有大量玩家等级未知,则运行一次 CubeCraft 正常的 /who 命令。它使用与你在原版聊天框中输入命令时相同的聊天命令数据包,并且每次执行时都会打印一行本地日志,让你始终知道它已发生。
虽然 /who 是任何玩家都可以手动输入的普通 CubeCraft 命令,但根据服务器的规则,自动发送命令可能会被区别对待。如果你希望模组保持完全被动,可以随时在设置界面中禁用 Send /who automatically(自动发送 /who)。
自动行为经过刻意保守设计:加入后等待约 5 秒,等待玩家数量停止变化,仅在至少 3 名玩家等级未知时才触发,且每个大厅最多发送 一次,无论你怎么切换大厅,两次发送之间强制至少间隔 2 分钟。所有这些值均可在设置界面中调整。
配置
通过你喜欢的方式打开它:
- 在聊天中输入
/cubeinfo config - 绑定(默认未绑定)按键,位于 选项 → 控制 → CubeCraft Level & Rank 下
- 如果你安装了 Mod Menu,在其列表中点击此模组旁边的 Configure(配置)按钮
在那里,你可以启用或禁用自动 /who,重命名或重新着色任何排名(实时颜色样本会显示你正在输入的内容),调整名牌仍然显示等级的距离,选择谁能看到什么,以及清除本地缓存/数据库以重新开始。所有内容也保存在 config/lvl_rank.json 中,如果你想的话也可以手动编辑。
有用命令
所有 /cubeinfo 命令均为客户端-side —— 这些命令都不会发送到服务器。
| 命令 | 作用 |
|---|---|
/cubeinfo status |
连接状态、缓存大小、活动设置 |
/cubeinfo config |
打开设置界面 |
/cubeinfo config ranks |
直接跳转到排名名称和颜色 |
/cubeinfo cache |
列出当前已知的所有玩家及其等级和排名 |
/cubeinfo db |
本地持久化数据库的大小和位置 |
/cubeinfo glyphs |
查看配置的排名,并标记 CubeCraft 后续添加的任何内容 |
/cubeinfo debug on |
详细日志记录,仅用于故障排除 —— 默认关闭 |
需求
| Minecraft | 1.21.6 - 1.21.11 |
| Fabric Loader | ≥ 0.19.3 |
| Fabric API | 必需 |
| Mod Menu | 可选 — 添加“配置”按钮 |
| 运行环境 | 仅限客户端。 将其添加到服务器无效;其他玩家无需安装。 |
限制说明,如实告知
- 玩家的等级/排名只有在 CubeCraft 向你的客户端提供该信息后才能显示——无论是通过现有的客户端可见数据还是对
/who命令的响应。如果 CubeCraft 不提供关于某玩家的信息,本模组无法凭空捏造或独立查询。 - 排名 名称 和 颜色 是本模组自行决定的(Stone/Iron/Diamond/Obsidian,并选择了便于辨识的颜色),并非 CubeCraft 传输的内容——CubeCraft 仅发送一个内部字符代码。如果 CubeCraft 新增了一个排名,在你(或未来的更新)为其命名之前,它将显示为普通的灰色条。
Bug
视觉错误。减缓设置速度。这些视觉错误是由于斜杠命令发送过快导致的。更改设置使其变慢即可修复。

许可与源码
本项目采用开源 MIT 许可证。
联系方式
Discord: IDreamAboutYou2
CubeCraft Level & Rank
See a player's CubeCraft level on their in-world nametag and their rank as a coloured bar in the tab list — using information CubeCraft exposes directly to your client.
⚠️ Unofficial. Not made, endorsed, or supported by CubeCraft. The mod primarily reads information the server already sends to your client, with an automatic
/whocommand used to fill in unknown players — see How it works below.
What it does
- ?️ Levels on nametags —
PlayerName [Lv. 127], in-world, above their head. - ? Rank bars in the tab list — a small coloured bar (▌) next to each entry: grey for Stone, white for Iron, aqua for Diamond, purple for Obsidian.
- ⚡ Known almost instantly in the lobby. A local database remembers every player you've met
before, so their level and rank show up the moment you join. For players the mod doesn't know yet,
it can automatically use CubeCraft's
/whocommand once the lobby has settled. - ?️ Full in-game settings screen — no config file editing required (though it's there if you want it). Toggle everything, rename ranks, recolour bars, adjust visibility, all live.
- ? Fully configurable visibility — choose the nametag format (
[Lv. 127],[127],Lv. 127, your own); optionally show the rank on nametags too, and the level in the tab list.
Screenshots


How it works
CubeCraft already exposes the information this mod displays through normal client-visible data and commands:
- Hovering a player's name in CubeCraft's own player-list chat message shows a tooltip with their name, level, and rank. That tooltip is a normal Minecraft hover event; this mod reads it.
- The tab list and scoreboard team data the server already pushes to your client also carry rank information, which is why ranks often show up within a second of joining.
- For players whose levels are still unknown, the mod can automatically run CubeCraft's ordinary
/whocommand once after joining a lobby. The response CubeCraft sends back contains the same player information you'd see if you typed/whoyourself. - A local, on-disk cache (
config/lvl_rank-players.json) remembers what's been learned about each player, so returning players are recognised instantly on your next visit — this file never leaves your computer and nothing is ever uploaded anywhere.
Nothing here uses a CubeCraft API, leaderboard scrape, website query, or third-party database. Player information comes directly from CubeCraft while you're connected.
What it will never do
- ❌ Send any custom network packet to the server.
- ❌ Click, move, or act on your behalf.
- ❌ Query CubeCraft's website, an API, or any third-party service.
- ❌ Touch movement, combat, reach, aim, knockback, or cooldowns.
- ❌ Reveal invisible/hidden players or render nametags through walls.
- ❌ Do anything at all on a server that isn't CubeCraft — the mod detects the connection by address and stays completely inactive everywhere else, singleplayer included.
The only automatic server interaction is the /who command described below.
Automatic /who — enabled by default
Automatic /who is enabled by default so unknown player levels can be filled in without waiting
for someone to talk in chat.
After joining a lobby, the mod waits for things to settle and then runs CubeCraft's normal /who
command once if enough players are still unknown. It uses the identical chat-command packet the
vanilla chat box sends when you type the command yourself, and it prints a local line each time so
you always know it happened.
Although /who is an ordinary CubeCraft command any player can type manually, automatically sending
commands may be treated differently under a server's rules. If you'd rather keep the mod completely
passive, Send /who automatically can be disabled at any time in the settings screen.
The automatic behaviour is deliberately conservative: it waits ~5 seconds after joining, waits for the player count to stop changing, only fires when at least 3 players have unknown levels, sends at most once per lobby, and enforces a 2-minute floor between sends no matter how much you lobby-hop. Every one of those values is adjustable in the settings screen.
Configuration
Open it however you like:
- Type
/cubeinfo configin chat - Bind the (unbound by default) keybind under Options → Controls → CubeCraft Level & Rank
- If you have Mod Menu installed, click Configure next to this mod in its list
From there you can enable or disable automatic /who, rename or recolour any rank (a live colour
swatch shows you what you're typing), adjust how far away nametags still show a level, pick who sees
what, and clear the local cache/database if you ever want a clean slate. Everything also lives in
config/lvl_rank.json, hand-editable if you'd rather.
Useful commands
All /cubeinfo commands are client-side — none of these are ever sent to the server.
| Command | Does |
|---|---|
/cubeinfo status |
Connection state, cache size, active settings |
/cubeinfo config |
Open the settings screen |
/cubeinfo config ranks |
Jump straight to rank names & colours |
/cubeinfo cache |
List everyone currently known, with level and rank |
/cubeinfo db |
Size and location of the local, persistent database |
/cubeinfo glyphs |
See which ranks are configured, and flag any CubeCraft adds later |
/cubeinfo debug on |
Verbose logging, for troubleshooting only — off by default |
Requirements
| Minecraft | 1.21.6 - 1.21.11 |
| Fabric Loader | ≥ 0.19.3 |
| Fabric API | required |
| Mod Menu | optional — adds a Configure button |
| Environment | Client-side only. Adding it to a server does nothing; other players don't need it. |
Limitations, honestly stated
- A player's level/rank can only be shown once CubeCraft has provided that information to your
client — either through existing client-visible data or the response to
/who. If CubeCraft does not provide information about a player, the mod cannot invent or independently look it up. - Rank names and colours are this mod's own choices (Stone/Iron/Diamond/Obsidian with colours picked for legibility), not something CubeCraft transmits — CubeCraft only sends an internal glyph code. If CubeCraft adds a new rank, it shows up as a plain grey bar until you (or a future update) name it.
Bugs
Visual bugs. Slow down the settings. The visual bugs are caused by the slash command being sent too fast. Change the settings for them to be slower.

License & source
The project is under the open-source MIT license.
Contact
Discord: IDreamAboutYou2
下载 CubeCraft Level + Rank
下载 CubeCraft Level + Rank
下载 CubeCraft Level + Rank
下载 CubeCraft Level + Rank
下载 CubeCraft Level + Rank
下载 CubeCraft Level + Rank
下载 CubeCraft Level + Rank
下载 CubeCraft Level + Rank
下载 CubeCraft Level + Rank
下载 CubeCraft Level + Rank
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧