Skip to content

Hologram Pages

General usage and editing of hologram pages

Arguments

Parenthesis are used to indicate arguments. They are not required in the actual command you use!

Parenthesis Meaning
<> Indicates a required argument.
[] Indicates a optional argument.
{} Gives a list of possible options, separated by |.

Commands

Aliases: page, p

Command help

For a list of all available subcommands run the following command:

/dh p help


/dh p actions <hologram> <page> <clickType> [listPage]

View actions set on the specified Click type in page of a hologram.

  • <hologram> - Name of the hologram.
  • <page> - Index of the page.
  • <clickType> - Click type.
  • [listPage] - Optional page in the list to move to.

/dh p add <hologram> [content]

Aliases: append

Add a new page into hologram.


/dh p addaction <hologram> <page> <clickType> <action>

Adds the specified <action> for the specified <clickType> to a hologram page.

  • <hologram> - Name of the hologram.
  • <page> - Index of the page.
  • <clickType> - Click type that triggers this action.
  • <action> - Action to trigger.

/dh p clearactions <hologram> <page> <clickType>

Clears <page> of all Actions specified for <clickType>.

  • <hologram> - Name of the hologram.
  • <page> - Index of the page.
  • <clickType> - Click type.

/dh p insert <hologram> <page> [content]

Insert a new page into hologram.

  • <hologram> - Name of the hologram.
  • <page> - Position of the page to insert the new one before.
  • [content] - Optional Content of the first line in the new page. Defaults to the defaults.text config option.

/dh p remove <hologram> <page>

Aliases: del, delete, rem

Remove a page from hologram.

  • <hologram> - Name of the hologram.
  • <page> - Index of the page to remove.

/dh p removeaction <hologram> <page> <clickType> <index>

Aliases: remaction

Removes an Action for <clickType> from <page>.

  • <hologram> - Name of the hologram.
  • <page> - Index of the page.
  • <clickType> - Click type that triggers this action.
  • <index> - Index of the action in the list.

/dh p swap <hologram> <page1> <page2>

Swaps <page1> with <page2>.

  • <hologram> - Name of the hologram.
  • <page1> - Index of the first page.
  • <page2> - Index of the second page.

/dh p switch <hologram> <page> [player]

Aliases: go, view

Switch to another page in a hologram.

  • <hologram> - Name of the hologram.
  • <page> - Index of the page to view.
  • [player] - Optional player to switch the page for. Defaults to command executor if not set.