Skip to content

For server owners

SpGerg edited this page Sep 10, 2023 · 1 revision

Config example

custom_hud:
  is_enabled: true
  debug: false
  elements:
    Left:
      0:
      - lines:
        - '<color=Red>D</color>og and hot-dog'
        - 'D<color=Red>o</color>g and hot-dog'
        - 'Do<color=Red>g</color> and hot-dog'
        id: 0
      1:
      - lines:
        - 'Dog <color=Red>a</color>nd hot-dog'
        - 'Dog a<color=Red>n</color>d hot-dog'
        - 'Dog an<color=Red>d</color> hot-dog'
        id: 0
      2:
      - lines:
        - 'Dog and <color=Red>h</color>ot-<color=Red>d</color>og'
        - 'Dog and h<color=Red>o</color>t-d<color=Red>o</color>g'
        - 'Dog and ho<color=Red>t</color>-do<color=Red>g</color>'
        id: 0
  update_rate_in_seconds: 1

After elements select align type (Left, Right, Center, None).

After that you write the id of the element (in ascending order), if you have elements with the same id, then the last element will replace the first element.

After id you write lines, in the video you can see how the line will change. You can specify the update time in UpdateRate (in seconds, minimum value 0.51).

Done!

Config example

custom_hud:
  is_enabled: true
  debug: false
  elements:
    Left:
      0:
      - lines:
        - '<color=Red>D</color>og and hot-dog'
        - 'D<color=Red>o</color>g and hot-dog'
        - 'Do<color=Red>g</color> and hot-dog'
        id: 0
      1:
      - lines:
        - 'Dog <color=Red>a</color>nd hot-dog'
        - 'Dog a<color=Red>n</color>d hot-dog'
        - 'Dog an<color=Red>d</color> hot-dog'
        id: 0
      2:
      - lines:
        - 'Dog and <color=Red>h</color>ot-<color=Red>d</color>og'
        - 'Dog and h<color=Red>o</color>t-d<color=Red>o</color>g'
        - 'Dog and ho<color=Red>t</color>-do<color=Red>g</color>'
        id: 0
  update_rate_in_seconds: 1

After elements select align type (Left, Right, Center, None).

After that you write the id of the element (in ascending order), if you have elements with the same id, then the last element will replace the first element.

After id you write lines, in the video you can see how the line will change. You can specify the update time in UpdateRate (in seconds, minimum value 0.51).

Done!

Clone this wiki locally