Using it

Holograms

A hologram is floating text, with optional art above it. They are defined in holograms.yml and created in game.

  1. Stand where it should float and run /mchub holo create (id) [text] (or /mchub admin > Holograms > Create here).
  2. Add lines with /mchub holo addline (id) (text), change them with setline, remove with removeline.
  3. Optional art: /mchub holo image (id) cards/survival shows your pack card art pack/cards/survival.png (only players with the pack see it), or /mchub holo image (id) DIAMOND_SWORD shows an item to everyone. none removes it.
holograms:
  parkour-top:
    world: world
    x: 25.5
    y: -57.3
    z: 0.5
    scale: 1.1
    lines:
      - "<gold><bold>PARKOUR TOP 3"
      - "<accent>1. <text>{parkour_lobby_top_1}"
      - "<accent>2. <text>{parkour_lobby_top_2}"
    image: GOLDEN_BOOTS
    view-range: 40
    background: true

Lines accept MiniMessage, the theme tags and the global placeholders, and a line that is exactly {servers} becomes one line per server card. The text is the same for everybody, so per-player placeholders such as {player} are not available. Text refreshes every holograms.update-ticks (20) so counts stay live. The entities are removed when the plugin stops. Other commands: move, tp, scale, list, delete.

Direction and billboard#

Holograms are stationary by default: they stay where they are and face the direction in yaw (0 = readable from the south, 90 = from the west, 180 = from the north, 270 = from the east). A hologram you create with /mchub holo create faces back at you, snapped to 45 degrees. To make them turn towards each player instead, set holograms.billboard to center (or vertical).

holograms:
  billboard: fixed   # fixed | vertical | center

# holograms.yml
parkour-top:
  y: -59.3
  yaw: 90