Adds support for PlaceholderAPI to RandomByte's holograms.
5

HologramsPlus

HologramPlus is an extension of RandomByte’s holograms that lets you add placeholders to your holograms.

Installation

Download HologramsPlus-1.0.0.jar. Download holograms-3.1.5.jar. Download PlaceholderAPI-4.4.jar.

Usage

  1. Create your hologram in the same way you do always, and use any placeholder you need (but pay attention to this). Example: /holograms create Hello there! Currently there are %server_online% players connected.
  2. Register the newly created hologram, by standing within 10 blocks from the entity, using the command /hologramsplus select enable and selecting what you want to modify.
  3. Profit! Now your hologram will be updated every tot seconds (according to your config), with the new placeholders.
  4. If for any reason you want to disable the placeholders of an hologram, simply run the command /hologramsplus select disable and choose the desired hologram.

Restrictions

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.

Commands

CommandPermissionUsage
/hologramsplus select <enable/disable>hologramsplus.command.selectSee usage.
/hologramsplus refreshhologramsplus.command.refreshForces to refresh all the placeholders.

Category: Admin Tools

Published on Jul 4, 2018

views

stars

watchers

total downloads

Licensed under GNU General Public License (GPL)

Promoted Versions

Pages

Members