HologramPlus is an extension of RandomByte’s holograms that lets you add placeholders to your holograms.
- Create your hologram in the same way you do always, and use any placeholder you need (but pay attention to this).
/holograms create Hello there! Currently there are %server_online% players connected.
- Register the newly created hologram, by standing within 10 blocks from the entity, using the command
/hologramsplus select enableand selecting what you want to modify.
- Profit! Now your hologram will be updated every tot seconds (according to your config), with the new placeholders.
- If for any reason you want to disable the placeholders of an hologram, simply run the command
/hologramsplus select disableand choose the desired hologram.
Due to the nature of the holograms, they cannot let a player being the source of the placeholders. In other words this mean that the number of placeholders actually available are restricted to the ones that don’t rely on players. Some examples can be found here, here, and here.
I’m not saying there’s no way of actually achieving the use of subjects in the holograms, because technically there are a couple of ways. The first is by sending different packets per player, but it’s way over the original function of this plugin. The second is by parsing the placeholders using the nearest player, which isn’t such a bad idea, but it can be achieved relatively easy by other placeholders. If you’re interested in seeing it, let me know, I could implement that if people keeps to ask.
|Forces to refresh all the placeholders.|