Coords HUD
这是一个小型服务端模组,用于向玩家提供快速且可配置的 HUD 文本。它与来自 Vanilla Tweaks 的“Coordinates HUD”数据包非常相似!

它旨在提供一些相对于数据包的改进:
- 允许使用 Placeholder API 自定义服务器或玩家特定的 HUD 消息
- 将数据存储在配置/db 文件中,而不是包含在世界存档中
- 对于大型服务器更高效,避免昂贵的处理并减少发送的数据包
这个模组主要是为了让 Minecraft BINGO 的玩家不需要在每次服务器重启到新世界时重新运行 /trigger ch_toggle 命令。通过占位符进行自定义是一个很好的优势。
虽然性能改进对大型服务器很有好处,但对于大多数玩家来说,差异可能并不明显。如果你不使用此模组的额外功能,我建议使用数据包以获得更好的兼容性。
⌨️ 命令
/coordshud 切换 HUD 是否启用
/coordshud format <text> 更改用于 HUD 的文本格式
? 配置
在首次启动时,模组会在 ./config/coords-hud/... 创建其配置文件。无需初始设置即可使用模组;它应该开箱即用。
"isEnabledByDefault" (默认值: true) - 新玩家是否默认启用 HUD。
"formatDefault" - 默认的 HUD 文本格式,采用 Raw JSON text format 语法。
Coords HUD
This is a small server-side mod to provide fast and configurable HUD text to players. It's very similar to the "Coordinates HUD" datapack from Vanilla Tweaks!

It aims to provide some small improvements over the datapack:
- Allows custom server or player-specific HUD messages, using the Placeholder API
- Stores data in a config/db file, rather than including it in the world save
- More efficient for large servers, avoiding expensive processing and reducing sent packets
This was primarily built so that Minecraft BINGO players don't need to re-run the /trigger ch_toggle command every time the server restarts with a new world. The customization with placeholders is a nice advantage.
While the performance improvements are good for large servers, the difference should not be noticeable for most players. If you aren't using the extra functionality in this mod, I'd recommend sticking with the datapack for better compatibility.
⌨️ Commands
/coordshud toggles whether the HUD is enabled
/coordshud format <text> changes the text format used for the HUD
? Configuration
On the first startup, the mod will create its config files in ./config/coords-hud/... No initial setup is needed to use the mod; it should run out of the box.
"isEnabledByDefault" (default: true) - Whether the HUD is enabled by default for new players.
"formatDefault" - The default HUD text format, in Raw JSON text format syntax.
评论 0
登录后参与评分
还没有评论,来抢沙发吧