💾
Format & Colors
General formatting of hologram line content.
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>

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.
&fThis is a &btext line&f.
An Icon line displays a floating item, which can be any material, player head, PAPI placeholders, or modified NBT data.
#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.
#HEAD:
// d0by's head (1.13+, use SKULL_ITEM in lower versions):
#HEAD: PLAYER_HEAD (d0by)
// Grass block:
#HEAD: GRASS_BLOCK
#SMALLHEAD:
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.
#ENTITY: ENTITY_TYPE
#ENTITY: PIG
#ENTITY: AXOLOTL
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.
There are three methods to create player heads, all of which are shown in the examples below.
#ICON: PLAYER_HEAD (d0by)
This would display a different head to each player.
#ICON: PLAYER_HEAD (%player_name%)
You can use a Base64 string textures.
#ICON: PLAYER_HEAD (
eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODE2ZjAwNzNjNTg3MDNkOGQ0MWU1NWUwYTNhYmIwNDJiNzNmOGMxMDViYzQxYzJmMDJmZmUzM2YwMzgzY2YwYSJ9fX0=
)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.
Last modified 4mo ago