Skip to content

Commands

goflishMC edited this page Aug 19, 2023 · 13 revisions

When you add or edit the line of a hologram, you can use one of these options instead:

  • {empty} to make an empty, invisible line
  • ICON: :[data] to display a floating item

Each subcommand has an individual permission depending on its name. For example, the command /hd list requires the permission holographicdisplays.list. The main command /hd is accessible by everyone.

  • holographicdisplays.update
  • Receive update notifications on join if enabled in the configuration.

All the permissions combined, if your permissions plugin supports it.

  • holographicdisplays.*

Commands & Permissions


Main command of the plugin, short alias of /hologram. Shows info about it, the version and the developer.

  • /hd
  • Everyone has access to this command.

Shows the main commands of the plugin, hovering on the commands will show help for each one.

  • /hd help
  • holographicdisplays.help

Creates a new hologram with the given name at your location. This name is used in the other commands. Optional: add text to replace the default line.

  • /hd create [text]
  • holographicdisplays.create

Deletes a hologram.

  • /hd delete
  • holographicdisplays.delete

Lists all the existing holograms and their locations.

  • /hd list [page]
  • holographicdisplays.list

Lists all the near holograms in the given radius.

  • /hd near
  • holographicdisplays.near

Teleports you to the hologram.

  • /hd teleport
  • holographicdisplays.teleport

Aligns the first hologram to the second in the given axis. For example, y aligns two holograms vertically, moving them to the same height, xz horizontally, moving them to the same x/z position.

  • /hd align <x|y|z|xz>
  • holographicdisplays.align

Moves a hologram to your feet position.

  • /hd movehere
  • holographicdisplays.movehere

Lists all the possible commands to modify an existing hologram.

  • /hd edit
  • holographicdisplays.edit

Adds a line of text to a hologram.

  • /hd addline
  • holographicdisplays.addline

Removes the line (counting from top to bottom).

  • /hd removeline
  • holographicdisplays.removeline

Changes the line (counting from top to bottom).

  • /hd setline
  • holographicdisplays.setline

Inserts a line after the line (counting from top to bottom). If the number is 0, the line will be inserted at the top.

  • /hd insertline
  • holographicdisplays.insertline

Prints the content of a hologram with line numbers.

  • /hd info
  • holographicdisplays.info

Copies the content of the first hologram into the second one. After running the command they will be identical.

  • /hd copy
  • holographicdisplays.copy

Reads the lines from a text file. Create a file (for example logo.txt) and put it into the plugin's folder. Create a new hologram (for example named test) and then run /hd readtext test logo.txt to paste the text file into the hologram.

  • /hd readtext
  • holographicdisplays.readtext

Reads an image from the plugin's folder or from an URL (if the path starts with http://), with a given width (will be automatically resized, max width is 150 pixels). The symbol used will be taken from the configuration. Transparent backgrounds are supported, you can choose in the configuration what string should be used as space.

Use the flag -a to append the image to the end instead of replacing the contents of the hologram.

For an example on how to use this command read the basic tutorial.

  • /hd readimage [-a]
  • holographicdisplays.readimage

Reloads the config files and the saved holograms.

  • /hd reload
  • holographicdisplays.reload

Clone this wiki locally