InfoHUD

InfoHUD

15.4k Downloads

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.

Compiled against Spigot 1.9.4 and JDK 11. Does not support CraftBukkit after 1.20.1, please use Spigot, Paper, etc.

Download & Installation

Download on Modrinth
Download on curseforge
Download on spigotmc

Drag InfoHUD-1.XX.jar in the serverDirectory/plugins folder. The plugin should work for all versions 1.8+.

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

For versions 1.2 and lower, see here. As of version 1.5, player configuration have been moved to players.yml.

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 since version 1.5.

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 https://vanillatweaks.net/picker/datapacks/.

Compiling

Requires a JDK and Maven on your system. In the project's root directory run:

mvn package

The compiled jar will be in target/