Holograms over NPCs
An NPC can carry text over it: a name, a rank, a "click me". This uses FancyHolograms, which must be installed.
Commands
| Command | Does |
|---|---|
/abb hologram <id> enable / disable | Turns it on or off |
/abb hologram <id> text <text> | Sets the whole text |
/abb hologram <id> addline <text> | Adds a line at the end |
/abb hologram <id> setline <n> <text> | Changes line n |
/abb hologram <id> insertbefore <n> <text> | Adds a line before line n |
/abb hologram <id> insertafter <n> <text> | Adds a line after line n |
/abb hologram <id> removeline <n> | Removes line n |
/abb hologram <id> clear | Removes every line |
/abb hologram <id> offset <value> | Height over the NPC |
/abb hologram <id> scale <value> | Size |
/abb hologram <id> background <colour> | transparent, #RRGGBB, #AARRGGBB or a colour name |
/abb hologram <id> billboard <mode> | CENTER, FIXED, HORIZONTAL, VERTICAL |
/abb hologram <id> alignment <alignment> | LEFT, CENTER, RIGHT |
/abb hologram <id> rotate <yaw> / rotatepitch <pitch> | Turns it |
/abb hologram <id> shadow true|false | Text shadow |
/abb hologram <id> seethrough true|false | Seen through blocks |
/abb hologram <id> brightness <block> <sky> | Its light, 0 to 15 each, or -1 |
/abb hologram <id> viewdistance <blocks> | How far it is seen |
/abb hologram <id> updateinterval <ticks> | How often its placeholders refresh |
Defaults for new NPCs
config.yml, under defaults.hologram: whether new NPCs have one, its height, billboard, shadow, background, alignment, scale and rotation.
HologramBB
For holograms with animations and reactions per player, use HologramBB and place one over the NPC.