🖥
Setup
This page covers general usage and editing of holograms, including instructions on how to create, modify and manage them.
DecentHolograms is a plugin specifically designed for server administrators and as such, it simplifies permissions by requiring only one permission node, 'dh.admin', to access all of its features and functionality.
dh.admin
With a wide range of commands, effectively utilizing this plugin may require a basic understanding of some general rules. This will be helpful to work with the commands effectively.
Parenthesis only specify the type of an argument, they are not part of the final command.
Parenthesis | Meaning |
---|---|
<> | Required argument. |
[] | Optional argument. |
{} | List of possible values. |
The majority of commands and sub-commands feature tab-completion functionality, which can be used to quickly type commands and determine valid values for arguments.
This tutorial provides a basic guide for editing holograms, including instructions for creating and modifying them. For a complete list of commands, please refer to this page.
Creating a hologram is easy, simply use the command specified below to get started.
/dh create <name> [initial content]
TIP! By default, the hologram will spawn with a single line that reads "Blank Line." You can change the default line content in the config.yml file or specify the content in the command as shown in the example provided.
/dh line add <hologram> <page> <content>
/dh line set <hologram> <page> <line> <content>
/dh line remove <hologram> <page> <line>
Our holograms support multiple pages, allowing you to add additional content and navigate between them easily.
/dh page add <hologram>
/dh page remove <hologram> <page>
/dh page switch <hologram> <page>
Here is an example of how to create a new hologram with multiple lines and pages using the available commands.
/dh create example

/dh line set example 1 1 &3&lDECENT HOLOGRAMS
/dh line add example 1 &fHologram plugin

You can have as many pages as you'd like.
/dh page add example
/dh page switch example 2

To allow players to navigate between pages, you can simply do this:
/dh page addaction example 1 RIGHT NEXT_PAGE
/dh page addaction example 2 LEFT PREV_PAGE
By setting up appropriate click actions, players can navigate between the pages by right-clicking the first page to switch to the next page, and left-clicking the second page to switch back to the first one.
/dh page addaction example 2 RIGHT PAGE:1
That concludes the basic overview of how to use DecentHolograms. The plugin offers many more advanced features and functionality, all of which can be found in the command reference page. If you need any assistance, please don't hesitate to reach out to us on our Discord channel.
Last modified 8mo ago