
InfoHUD
在玩家的操作栏中显示坐标和时间。具备 Coordinates HUD 的全部功能以及更多特性。
兼容 Craftbukkit/Spigot/Paper 1.8+,但由于 NMS(非官方服务端代码)的变更,Craftbukkit 版本可能在每次更新后停止工作。
功能
显示当前坐标和时间。

以不同格式显示时间(展示村民作息时间表)。

在沙漠和雪地等明亮生物群系中自动切换到“深色模式”。

几乎所有设置均可调整(请参阅 config.yml)。
命令
玩家权限 (infohud.use):
/infohud <enable|disable> : 启用/禁用你自己的 InfoHUD。
/infohud coordinates <disabled|enabled> : 启用/禁用显示你的坐标。
/infohud time <disabled|currentTick|clock12|clock24|villagerSchedule> : 时间显示格式。
/infohud darkMode <disabled|enabled|auto> : 深色模式设置。
管理员权限 (infohud.admin):
/infohud messageUpdateDelay: 更改文本更新的频率(以刻为单位)。
/infohud reload: 重新加载设置(重载 config.yml)。
/infohud benchmark: 显示 InfoHUD 处理上一次更新所花费的时间。
/infohud brightBiomes <add|remove> <here|BIOME_NAME>: 添加/移除自动开启深色模式的生物群系。
权限
infohud.use 允许玩家启用/禁用 InfoHUD 并更改自己的设置(默认启用)。
infohud.admin 允许玩家更改插件设置。
config.yml
适用于所有玩家的设置。
infohudVersion: '1.X'
# 每次更新之间的间隔刻数。性能消耗极小,因此即使设置为 1 也不太可能出现任何性能问题。高于 20 的值可能导致消息淡出。
messageUpdateDelay: <number> {默认值:5}
# 降低此值可减少进入明亮生物群系后 InfoHUD 切换颜色之间的延迟。
# 自 MC 1.13 起对性能影响非常大。建议设为 20 以上。
biomeUpdateDelay: <number> {默认值:40}
# 分别用于明亮模式和深色模式的配色(大写)。 https://minecraft.gamepedia.com/Formatting_codes
colors:
bright1: GOLD
bright2: WHITE
dark1: DARK_AQUA
dark2: AQUA
# 将自动开启深色模式的生物群系。
# 可通过使用 https://minecraft.gamepedia.com/Biome#Biome_IDs、F3 菜单或 /infohud biome add 来查找
# 必须为大写。例如 DEEP_FROZEN_OCEAN
# 仅当前 MC 版本识别的生物群系才会被加载。来自旧版本/新版本的生物群系不会被加载,但会保留在文件中。
brightBiomes:
- DESERT
- BIOME_NAME
- ...
players.yml
玩家设置保存在单独的文件中。
infohudVersion: '1.X'
# 针对每个玩家的设置。可使用 https://namemc.com/ 获取 UUID。
playerConfig:
7445052d-632b-4aa1-8da8-44be2053bd5b:
coordinatesMode: <enabled | disabled>
timeMode: <disabled | currentTick | clock12 | clock24 | villagerSchedule>
darkMode: <disabled | enabled | auto>
Another-UUID:
coordinatesMode: enabled
timeMode: clock12
darkMode: auto
...
参见
本插件灵感来源于优秀的 CoordinatesHUD 数据包。你可以在 . 找到它。

InfoHUD
Display coordinates and time to the player's action bar. All the functionality of Coordinates HUD and more.
Compatible with Craftbukkit/Spigot/Paper 1.8+, although craftbukkit versions will probably stop working each update because of NMS changes.
Features
Display the current coordinates and time.

Display the time in different formats (villager schedule shown).

Automatically switch to 'dark mode' in brighter biomes such as deserts and snow biomes.

Nearly every setting can be adjusted (See config.yml).
Commands
For players (infohud.use):
/infohud <enable|disable> : Enable/Disable InfoHUD for yourself.
/infohud coordinates <disabled|enabled> : Enable/Disable showing your coordinates.
/infohud time <disabled|currentTick|clock12|clock24|villagerSchedule> : Time display format.
/infohud darkMode <disabled|enabled|auto> : Dark mode settings.
For admins (infohud.admin):
/infohud messageUpdateDelay: Change how quickly (ticks) the text is being updated.
/infohud reload: Reload settings (Reloads config.yml).
/infohud benchmark: Display how long InfoHUD took to process the last update.
/infohud brightBiomes <add|remove> <here|BIOME_NAME>: Add/Remove biomes where dark mode turns on automatically.
Permissions
infohud.use Allows player to enable/disable InfoHUD and change their own settings (enabled by default).
infohud.admin Allows player to change plugin settings.
config.yml
Settings that apply to every player.
infohudVersion: '1.X'
# Ticks between each update. Performance cost is tiny, so you are unlikely to run into any
# performance issues even if it is set to 1. Values above 20 can lead to the message fading.
messageUpdateDelay: <number> {Default:5}
# Lower to reduce the delay between entering a bright biome and InfoHUD changing colors.
# Very heavy performance impact since MC 1.13. Recommend above 20.
biomeUpdateDelay: <number> {Default:40}
# Colors used by the bright and dark modes respectively (UPPERCASE). https://minecraft.gamepedia.com/Formatting_codes
colors:
bright1: GOLD
bright2: WHITE
dark1: DARK_AQUA
dark2: AQUA
# Biomes where dark mode will turn on automatically.
# Find by using https://minecraft.gamepedia.com/Biome#Biome_IDs, the F3 menu or use /infohud biome add
# Must be in UPPERCASE. E.g. DEEP_FROZEN_OCEAN
# Only biomes in this list that are recognised by the current MC version will be loaded. Biomes from older/newer versions
# will not be loaded, but remain in the file.
brightBiomes:
- DESERT
- BIOME_NAME
- ...
players.yml
Player settings are saved on a separate file.
infohudVersion: '1.X'
# Settings on a per-player basis. https://namemc.com/ to get UUIDs.
playerConfig:
7445052d-632b-4aa1-8da8-44be2053bd5b:
coordinatesMode: <enabled | disabled>
timeMode: <disabled | currentTick | clock12 | clock24 | villagerSchedule>
darkMode: <disabled | enabled | auto>
Another-UUID:
coordinatesMode: enabled
timeMode: clock12
darkMode: auto
...
See also
This plugin is inspired by the excellent CoordinatesHUD datapack. Find it at .
评论 0
登录后参与评分
还没有评论,来抢沙发吧