Line Commands
All line management commands are under /mh line. Lines are the individual content entries within a hologram page.
Adding & Removing Lines
add
Appends a new line to the end of the specified page.
| Parameter | Description |
|---|---|
hologram |
Hologram name |
page |
Page number (1-indexed) |
content |
Line content (optional, defaults to config defaultText) |
Examples:
/mh line add welcome 1 &aHello World
/mh line add welcome 1 #ICON:DIAMOND
/mh line add welcome 1 #HEAD:Notch
/mh line add welcome 1 #ENTITY:minecraft:pig
/mh line add welcome 1 #PLAYER:Notch
insert
Inserts a new line at the specified position, pushing existing lines down.
Example:
remove
Removes a line from the page. Remaining lines shift up to fill the gap.
set
Replaces the content of an existing line.
Example:
swap
Swaps the positions of two lines on the same page.
Line Properties
height
Sets the vertical spacing for a line. Range: 0.0-5.0.
| Line Type | Default Height |
|---|---|
| Text | 0.3 |
| Icon | 0.6 |
| Head | 0.75 |
| Small Head | 0.6 |
| Entity | 1.0 |
| Player | 2.0 |
Setting a line's height affects the spacing below that line (or above, if downOrigin is true). A height of 0 makes the line overlap with the next.
Example:
offsetx / offsetz
/mh line offsetx <hologram> <page> <line> <offset>
/mh line offsetz <hologram> <page> <line> <offset>
Sets a horizontal offset for a line relative to the hologram's center. Range: -10.0 to 10.0.
Use this to create side-by-side layouts or shift individual lines.
Example:
setfacing
Sets the rotation angle for a specific line, overriding the hologram-level facing. Angle in degrees (0-360).
Set to -1 to inherit the hologram's facing.
setscale
Sets the scale of an entity or player line. Range: 0.01-64.0. Works for #ENTITY: and #PLAYER: lines.
Warning
Entity/NPC scaling requires the entityScaleAttribute to be configured in config.json. This attribute must be provided by an installed mod (e.g., Vault Hunters provides the_vault:generic.size_scale). If the attribute is not configured or the providing mod is not installed, this command will fail.
setpermission
Sets a permission required to see this specific line. Other lines on the same page remain visible.
Examples:
Omitting the permission argument clears the requirement.
addflag / removeflag
/mh line addflag <hologram> <page> <line> <flag>
/mh line removeflag <hologram> <page> <line> <flag>
Add or remove flags on a specific line.
Player Line Options
These commands only apply to #PLAYER: lines and will return an error on other line types.
forcedlook
Enables or disables Taterzens' FORCED_LOOK movement mode for a player line. When enabled, the NPC continuously rotates to face the nearest player.
When disabled (default), the NPC stands still facing its spawn direction. Changes apply immediately to a live NPC without requiring a restart.
Information
info
Displays all properties of a line in chat with clickable elements to edit each property.
Shows: content, type, height, offsets, facing (non-PLAYER lines), scale (ENTITY and PLAYER lines), forced look toggle (PLAYER lines only), permission, and flags.