BedWars Level Head
BedWars Level Head 是经典模组 Levelhead 的一个轻量级简化分支,专为在 Hypixel 中显示玩家 BedWars Star(床战星)而重构,该星标会显示在玩家名字标签上方。
为了保持此版本的轻量化,原版模组的所有额外功能均已被移除。
特性
- 自动显示: 在大厅和预游戏等待区域中,于玩家头顶上方显示 BedWars 星标。
- 智能缓存: 缓存玩家统计数据以防止频繁调用 API 并降低速率限制的影响。
- 代理后端: 使用自定义代理后端处理请求,因此你无需拥有自己的 Hypixel API 密钥即可开始使用。
- 昵称检测: 通过代理服务识别玩家是否使用了“昵称”(Nick)。
- 自定义设置: 可更改标题文本、颜色(包括 Chroma/彩虹色)以及显示偏移量。
注意: 默认情况下,本模组会连接至代理服务器 (beeny.hackclub.app) 以获取统计数据。除非你选择禁用代理,否则你不需要申请 Hypixel API 密钥。
命令
通用
/levelhead
显示当前配置状态(已启用/已禁用、偏移量、标题)。
/levelhead gui
打开一个简单的 GUI 按钮以切换模组的开启或关闭。
/levelhead toggle
快速启用或禁用星标显示。
/levelhead whois <player>
手动查询特定玩家或 UUID 的 BedWars 数据、星标及昵称状态。
/levelhead status
显示技术诊断信息,如缓存大小、速率限制状态和代理连接健康状况。
自定义
/levelhead display header text <text>
更改星标上方的文本标签(默认:“BedWars Star”)。
/levelhead display header color <color>
更改标题文本的颜色(支持十六进制代码、RGB 或 Minecraft 颜色名称)。
/levelhead display header chroma <on|off>
切换标题文本的彩虹(Chroma)效果。
/levelhead display offset <value>
调整文本悬浮在玩家头顶的高度。
/levelhead display showself <on|off>
切换是否在你自己头顶上方显示你的统计数据。
API 与代理管理
/levelhead apikey <key>
手动设置你自己的 Hypixel API 密钥。仅在禁用代理时需要。
/levelhead apikey clear
移除存储的个人 API 密钥。
/levelhead proxy <on|off>
启用或禁用后端代理的使用。如果禁用,你必须提供自己的 API 密钥。
配置
对于高级用户,配置文件位于 .minecraft/config/ 文件夹中:
bedwars-level-head.cfg:包含一般设置,如你的 API 密钥、代理 URL 和缓存 TTL。
levelhead.json:存储显示相关的设置(颜色、偏移量、标题)。
注意:强烈建议使用游戏内的 /levelhead display 命令来修改视觉效果,而不是手动编辑 JSON 文件。
致谢与许可
本项目是原始 Levelhead 模组(由 Sk1er LLC 创建)的一个分支,并根据 GNU General Public License v3 许可证授权。如果没有他们的奠基性工作,本模组将不复存在。
- 原作者: Sk1er LLC
- 后端与分支开发: beenycool
- 数据来源: 由公开 Hypixel API 提供支持。
BedWars Level Head
BedWars Level Head is a lightweight, simplified fork of the classic Levelhead mod, rebuilt specifically to display a player's BedWars Star above their nametag on Hypixel.
All extra features from the original mod have been removed to keep this version lightweight.
Features
- Automatic Display: Shows BedWars stars above player heads in lobbies and pre-game waiting areas.
- Smart Caching: Caches player stats to prevent spamming the API and reduce rate limits.
- Proxy Backend: Uses a custom proxy backend to handle requests, meaning you do not need your own Hypixel API key to get started.
- Nick Detection: Identifies if a player is "nicked" via the proxy service.
- Customization: Change header text, colors (including Chroma/Rainbow), and display offsets.
Note: By default, this mod connects to a proxy server (beeny.hackclub.app) to fetch stats. You do not need to request a Hypixel API key unless you choose to disable the proxy.
Commands
General
/levelhead
Shows the current configuration status (Enabled/Disabled, Offset, Header).
/levelhead gui
Opens a simple GUI button to toggle the mod on or off.
/levelhead toggle
Quickly enables or disables the level display.
/levelhead whois <player>
Manually look up the BedWars stats, star, and nick status of a specific player or UUID.
/levelhead status
Displays technical diagnostics, such as cache size, rate limit status, and proxy connection health.
Customization
/levelhead display header text <text>
Change the text label above the star (Default: "BedWars Star").
/levelhead display header color <color>
Change the color of the header text (supports hex codes, RGB, or Minecraft color names).
/levelhead display header chroma <on|off>
Toggles the rainbow (chroma) effect for the header text.
/levelhead display offset <value>
Adjusts how high the text floats above the player's head.
/levelhead display showself <on|off>
Toggle whether you see your own stats above your head.
API & Proxy Management
/levelhead apikey <key>
Manually set your own Hypixel API key. Only required if you disable the proxy.
/levelhead apikey clear
Removes your stored personal API key.
/levelhead proxy <on|off>
Enables or disables the usage of the backend proxy. If disabled, you must provide your own API key.
Configuration
For advanced users, configuration files are located in your .minecraft/config/ folder:
bedwars-level-head.cfg: Contains general settings like your API key, proxy URL, and cache TTL.
levelhead.json: Stores display-specific settings (colors, offsets, headers).
Note: It is highly recommended to use the in-game /levelhead display commands to modify visuals rather than editing the JSON manually.
Credits & License
This project is a fork of the original Levelhead mod created by Sk1er LLC and is licensed under the GNU General Public License v3. This mod would not exist without their foundational work.
- Original Author: Sk1er LLC
- Backend & Fork: beenycool
- Data: Powered by the public Hypixel API.
评论 0
登录后参与评分
还没有评论,来抢沙发吧