90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Coords HUD

Requires Fabric API Available on GitLab Available on Modrinth

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!

Text above the player's hotbar, showing coordinates, a compass direction, and the current time.

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.

Project members

fennifith

Member

Details

Licensed LGPL-3.0-only
Published 10 months ago
Updated 2 months ago