Configuration

Complete guide to configuring config.yaml and language.yaml.

Main Configuration (config.yaml)

General Settings

enabled: true
tick-speed: 2
update-interval-ticks: 20
background-opacity: 0.6
panel-spacing: 5
disabled-worlds: []
OptionTypeDefaultDescription
enabledBooleantrueMaster switch for the HUD system
tick-speedInteger2Scheduler period in ticks for HUD updates
update-interval-ticksInteger20Default refresh interval for element content (-1 on elements uses this)
background-opacityDouble0.6Opacity of panel backgrounds (0.0โ€“1.0)
panel-spacingInteger5Vertical spacing between panels that share the same anchor
disabled-worldsList[]World names where the HUD is not shown

Resource Pack

resource-pack:
  mode: auto
  public-url: ""
  bind-host: "0.0.0.0"
  port: 8163
  public-host: ""
  pack-format: 34
  folder-path: ""
  folder-file-name: "minehud.zip"
  required: false
OptionTypeDefaultDescription
modeString"auto"Pack backend: auto, standalone, nexo, folder, external
public-urlString""Public download URL; empty = auto (standalone) or host-managed (Nexo)
bind-hostString"0.0.0.0"HTTP bind address for standalone hosting
portInteger8163HTTP port for standalone hosting
public-hostString""Hostname/IP players use to download the pack; empty = server IP or localhost
pack-formatInteger34pack.mcmeta format for standalone/folder packs (34 = 1.21.x)
folder-pathString""Target directory for folder mode (e.g. Oraxen external packs)
folder-file-nameString"minehud.zip"Output zip name for folder mode
requiredBooleanfalseForce clients to accept the pack (standalone dispatch only)

See Resource Pack for backend details.

Editor Bridge

editor-bridge:
  enabled: true
  editor-base-url: "https://hud.mncd.pl"
  api-base-url: "https://hud.mncd.pl/api"
  ws-base-url: "wss://hud.mncd.pl/api"
  timeout-seconds: 15
OptionTypeDefaultDescription
enabledBooleantrueEnable /minehud editor sessions
editor-base-urlString"https://hud.mncd.pl"Browser UI base URL (no trailing slash)
api-base-urlString"https://hud.mncd.pl/api"Relay HTTP API base URL
ws-base-urlString"wss://hud.mncd.pl/api"Relay WebSocket base URL
timeout-secondsInteger15HTTP timeout for session create/upload

See Online Editor for local and production setups.

Glyph Heights

Optional height overrides for Nexo glyphs used in HUD content (<glyph:id>):

glyph-heights:
  example_emoji: 10

If omitted, glyphs use the default rendered height.

HUDs

HUD layouts live under the huds map. Each key is a HUD id:

huds:
  main:
    permission: ""
    condition: null
    panels:
      top-bar:
        anchor: TOP
        layout: ROW
        offset-x: 0
        offset-y: 5
        # ...
OptionTypeDefaultDescription
permissionString""Permission required to see this HUD (empty = everyone)
conditionObject / nullnullOptional visibility condition (see Panels & Layout)
panelsMapโ€”Named panels that make up the HUD

Default generated layout includes a main HUD with a top bar and a right sidebar. Full panel, line, and element options are documented in Panels & Layout.

Example default panels

huds:
  main:
    permission: ""
    condition: null
    panels:
      top-bar:
        anchor: TOP
        layout: ROW
        offset-x: 0
        offset-y: 5
        layer: 0
        opacity: 1.0
        background: true
        padding: 4
        padding-y: 0
        gap: 3
        align: center
        line-spacing: 13
        permission: ""
        condition: null
        lines:
          info:
            content: ""
            elements:
              player:
                content: "<font:small><white>%player_name% <gray>%player_ping%<dark_gray>ms</font>"
              server:
                content: "<font:small><white>%server_online%<dark_gray>/<gray>%server_max_players% <green>%server_tps_1% <gray>TPS</font>"
              coords:
                content: "<font:small><gray>%player_x% %player_y% %player_z%</font>"
      sidebar:
        anchor: RIGHT
        layout: COLUMN
        offset-x: -5
        offset-y: 0
        background: true
        gap: 0
        align: right
        lines:
          health:
            content: "<font:small><red>HP <white>%player_health%<dark_gray>/<gray>%player_max_health%</font>"
          hunger:
            content: "<font:small><gold>FOOD <white>%player_food_level%<dark_gray>/<gray>20</font>"
          balance:
            content: "<font:small><yellow>$ <white>%vault_eco_balance_formatted%</font>"
          xp:
            content: "<font:small><green>LVL <white>%player_level%</font>"
          world:
            content: "<font:small><aqua>%player_world%</font>"

Language (language.yaml)

All messages use MiniMessage. Placeholders:

PlaceholderUsed in
{url}Editor link message
{error}Editor open failure message
hud-enabled: "<green>HUD zostaล‚ wล‚ฤ…czony."
hud-disabled: "<red>HUD zostaล‚ wyล‚ฤ…czony."
config-reloaded: "<green>Konfiguracja HUD zostaล‚a przeล‚adowana."
soft-reload-success: "<green>HUD przeล‚adowany bez regeneracji resource packa."
soft-reload-pack-change-required: "<yellow>Zmiany wymagajฤ… regeneracji resource packa. Uลผyj /minehud reload."
soft-reload-no-baseline: "<red>Brak wygenerowanego resource packa jako punktu odniesienia. Uลผyj /minehud reload."
editor-disabled: "<red>Edytor online jest wyล‚ฤ…czony (editor-bridge.enabled=false)."
editor-opening: "<gray>Tworzenie sesji edytora mineHudโ€ฆ"
editor-link: "<green>Edytor mineHud: <click:open_url:'{url}'><underlined><aqua>{url}</aqua></underlined></click>"
editor-hint: "<gray>Otwรณrz link (hostowane przez mineCodes), edytuj i kliknij <white>Zapisz na serwerze</white>."
editor-open-failed: "<red>Nie udaล‚o siฤ™ otworzyฤ‡ edytora: <white>{error}</white>"
KeyDescription
hud-enabledSent after enabling HUD with /minehud toggle
hud-disabledSent after disabling HUD with /minehud toggle
config-reloadedSent after /minehud reload
soft-reload-successSoft reload completed without pack regen
soft-reload-pack-change-requiredSoft reload refused โ€” full reload required
soft-reload-no-baselineSoft reload refused โ€” no pack baseline yet
editor-disabledEditor bridge is off
editor-openingSession creation started
editor-linkClickable editor URL ({url})
editor-hintHint after the editor link
editor-open-failedSession creation failed ({error})

Text Formatting

HUD content supports:

  • MiniMessage color and style tags (<red>, <white>, <bold>, โ€ฆ)
  • <font:small>...</font> โ€” compact HUD font (recommended for dense panels)
  • PlaceholderAPI โ€” %player_name%, %vault_eco_balance_formatted%, etc.
  • Nexo glyphs โ€” <glyph:glyph_id> when using the Nexo backend

Tip: Prefer wrapping status lines in <font:small> for a cleaner boss-bar look and correct background metrics.