Links
💾

Format & Colors

General formatting of hologram line content.

Hologram Line Types

DecentHolograms supports various types of content for hologram lines, including text, items, and entities. If the content is not text, the type must be defined in the line's content using the following format.
#<type>: <content>

Text

A text line allows you to enter any text, including PAPI placeholders, colors and animations. You can use this type of line to display dynamic and personalized information to players.

Example text line:

&fThis is a &btext line&f.

Icon

An Icon line displays a floating item, which can be any material, player head, PAPI placeholders, or modified NBT data.

Format:

#ICON: MATERIAL[:DATA_VALUE] [(skull_texture)] [{NBT}]
Of course, you don't have to enter all of the parameters. Here are a few examples:
// Red Wool (<1.13):
#ICON: WOOL:14
// Light Blue Leather Chestplate:
#ICON: LEATHER_CHESTPLATE {display:{color:3847130}}
// d0by's head (1.13+, use SKULL_ITEM in lower versions):
#ICON: PLAYER_HEAD (d0by)
Head lines are displayed as a helmet of normal-size armor stand.
Format is the same as format for Icons except that you start with:
#HEAD:

Examples:

// d0by's head (1.13+, use SKULL_ITEM in lower versions):
#HEAD: PLAYER_HEAD (d0by)
// Grass block:
#HEAD: GRASS_BLOCK

Small Head

The same thing as Head but on a small armor stand.
#SMALLHEAD:

Entity

Yes, you can even display entities. All entity types can be found here. Not all entity types will work on all versions, it depends on your server version.

Format:

#ENTITY: ENTITY_TYPE

Examples:

#ENTITY: PIG
#ENTITY: AXOLOTL

Additional Information

It's important to note that certain materials and entity types may only be available on specific server versions. For example, using the Entity Type AXOLOTL on a 1.8 server will not work. Be sure to check the compatibility of the materials and entity types you wish to use with your server version.

Player Heads

There are three methods to create player heads, all of which are shown in the examples below.

Player Name:

#ICON: PLAYER_HEAD (d0by)

PAPI Placeholder:

This would display a different head to each player.
#ICON: PLAYER_HEAD (%player_name%)

Texture:

You can use a Base64 string textures.
#ICON: PLAYER_HEAD (eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODE2ZjAwNzNjNTg3MDNkOGQ0MWU1NWUwYTNhYmIwNDJiNzNmOGMxMDViYzQxYzJmMDJmZmUzM2YwMzgzY2YwYSJ9fX0=)

Notes

For server versions below 1.13, please use the SKULL_ITEM material instead of PLAYER_HEAD when creating player head holograms.
Please note that the examples provided below use the ICON line type, but the same methods can also be used with the HEAD and SMALLHEAD line types.