Skip to content

Tags and Placeholders

DSH105 edited this page Apr 26, 2014 · 3 revisions

Tags can be used to dynamically insert information into a hologram based on the player viewing it. They can also be utilised on ANY type of hologram.

HoloAPI will detect if any of these tags are found in a holographic display and update it accordingly.

Tag Description
%name% Inserts the observer's name into the hologram
%time% Inserts the current system time into the hologram. Timezone offsets can be specified in the HoloAPI configuration file}
%mctime% Inserts the current Minecraft world time
%date:format% Inserts the date into the hologram, where format is a SimpleDateFormat string. e.g. `%date:hh:mm a z%
%displayname% Inserts the observer's display name into the hologram
%world% Inserts the world name of the hologram
%health% Inserts the observer's health into the hologram
%serveronline:server% Inserts the number of online players on a specific BungeeCord Server. Using ALL will count the total on all servers.
%playercount% Inserts the total online players
%maxplayers% Inserts the maximum number of players allowed on the server
%balance% Uses Vault to access and display the observer's balance
%rank% Uses vault to access and display the observer's rank
&s Acts like a ChatColor format. Text following this tag will change colour at a configurable rate. See this page for more information on configuring this option.

Note: Some of these may only appear in later releases of HoloAPI

Special characters can also be automatically placed into holograms by specifying certain short-codes. Information on this can be found here.

MultiColour ChatColor Format

HoloAPI also adds a new ChatColor format to easily create an colourful animation of text in any hologram. Add &s to any part of a hologram and HoloAPI will do the rest!

Clone this wiki locally