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
Permission: dh.command.pages

Command help

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

/dh p help


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

Permission: dh.command.pages.actions

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
Permission: dh.command.pages.add

Add a new page into hologram.


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

Permission: dh.command.pages.addaction

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>

Permission: dh.command.pages.clearactions

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]

Permission: dh.command.pages.insert

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
Permission: dh.command.pages.remove

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
Permission: dh.command.pages.removeaction

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>

Permission: dh.command.pages.swap

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
Permission: dh.command.pages.switch

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.