-
Notifications
You must be signed in to change notification settings - Fork 16
Tags and Placeholders
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
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!
Feel like you can make HoloAPI better? Got something awesome to contribute? We're always looking for help! Feel free to place a fork in this repository and submit a pull request!
Setting up Images and Animations
Using the API - Step by Step Code Examples
Got something to share? Or just want to talk with the creators of HoloAPI? Come join us in IRC - #dsh105 @ irc.esper.net