Skip to content

Page Commands

All page management commands are under /mh page. Pages are containers for lines — each hologram has at least one page.

Managing Pages

add

/mh page add <hologram> [content]

Adds a new page to the hologram. Optionally provide content for the first line.

Examples:

/mh page add welcome
/mh page add welcome &bWelcome to page 2!

insert

/mh page insert <hologram> <page> <content>

Inserts a new page at the specified position, shifting existing pages.

remove

/mh page remove <hologram> <page>

Removes a page. Every hologram must have at least one page, so you cannot remove the last page.

swap

/mh page swap <hologram> <page1> <page2>

Swaps two pages.

switch

/mh page switch <hologram> <page> [player]

Switches the visible page for yourself or a specific player.

Examples:

/mh page switch welcome 2
/mh page switch welcome 1 Steve

Page Info

info

/mh page info <hologram> <page>

Displays all lines on a page with interactive controls:

  • [i] — View line info
  • Up/Down arrows — Swap line with adjacent line
  • X — Remove line

This is the primary way to manage lines on a page. After any line edit command, this view is automatically re-displayed.

Click Actions

Actions are per-page and trigger when a player clicks the hologram while viewing that page.

addaction

/mh page addaction <hologram> <page> <clickType> <action>

Adds a click action to a page.

Parameter Values
clickType LEFT, RIGHT, SHIFT_LEFT, SHIFT_RIGHT
action Action string (see Click Actions)

Examples:

/mh page addaction myHolo 1 RIGHT MESSAGE:&aYou clicked!
/mh page addaction myHolo 1 RIGHT NEXT_PAGE
/mh page addaction myHolo 1 LEFT COMMAND:/spawn
/mh page addaction myHolo 1 SHIFT_RIGHT TELEPORT:minecraft:overworld:0:65:0

removeaction

/mh page removeaction <hologram> <page> <clickType> <index>

Removes a specific action by its index (1-indexed). Use the actions command to see indices.

clearactions

/mh page clearactions <hologram> <page> <clickType>

Removes all actions of a specific click type from a page.

actions

/mh page actions <hologram> <page> <clickType>

Lists all actions for a specific click type on a page, showing their index and content.

Example output:

Actions for 'myHolo' page 1 (RIGHT):
  1. MESSAGE:&aYou clicked!
  2. SOUND:minecraft:entity.experience_orb.pickup:1.0:1.0
  3. NEXT_PAGE