Using it

Resource pack and hosting

resource-pack:
  generate: true
  copy-to-nexo: true
  host:
    # auto = host it when the pack is not going into Nexo. true = always, false = never (merge the zip yourself).
    enabled: auto
    # The port of the built-in web server. It must be open to players (on a host: ask for an extra port).
    port: 8165
    # The address players reach that port on. Empty = the address they used to join the server.
    address: ""
    # true = players must accept the pack to play.
    required: false
    # The message on the pack screen (MiniMessage). Empty = Minecraft default.
    prompt: "<#F7D774>PinnaHud<#FFF8E7>: the gang panel on your screen."
  namespace: pinnahud

The pack is written again on every start and on /hud reload. Players already online get the new pack after a reload when PinnaHud hosts it.

One text shader at a time

Only one resource pack can change the text shader. If another pack also changes it, the panel shows at the top center instead of the corner.

Change namespace only if another pack already uses pinnahud.