Hologram Flags
Flags modify how a hologram or individual line behaves. They can be set at the hologram level (affects all lines) or on specific lines.
Available Flags
| Flag | Effect |
|---|---|
DISABLE_PLACEHOLDERS |
Prevents {...} placeholder resolution. Text like {player} shows literally. |
DISABLE_UPDATING |
Stops the periodic update cycle. Placeholders and animations freeze at their last state. |
DISABLE_ANIMATIONS |
Prevents {#ANIM:...} and &u animation processing. Animation syntax shows literally. |
DISABLE_ACTIONS |
Prevents click actions from executing. Clicks are silently ignored. |
Setting Flags
On a Hologram
/mh hologram addflag myHolo DISABLE_PLACEHOLDERS
/mh hologram removeflag myHolo DISABLE_PLACEHOLDERS
Hologram-level flags affect all lines on all pages.
On a Line
Line-level flags only affect that specific line.
Use Cases
Static Holograms
If a hologram has no dynamic content (no placeholders or animations), add DISABLE_UPDATING to skip the update cycle entirely. This saves a tiny amount of processing per tick.
Display Literal Braces
If you need to show literal {text} in a hologram without it being interpreted as a placeholder:
Prevent Interaction
Disable click actions on a hologram (e.g., temporarily):
Lectern Holograms
Player-created lectern holograms automatically have DISABLE_PLACEHOLDERS and DISABLE_ANIMATIONS forced on for security reasons. This cannot be changed by players.
Viewing Flags
Use /mh hologram info <name> to see which flags are active on a hologram.
Use /mh line info <holo> <page> <line> to see flags on a specific line.