Your cart is empty
Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shoppingAll of them are ordinary Bukkit events in com.phoenixplugins.phoenixholograms.api.events. Every event but HologramsLoadEvent carries the hologram's id with getIdentifier().
| Event | Fired when | Also carries | Cancellable |
|---|---|---|---|
HologramClickEvent |
A player clicks a hologram, before any action runs |
getPlayer(), getPage() and getLine() counted from 0, isLeftClick()
|
Yes |
HologramCreateEvent |
A hologram is created | No | |
HologramEditEvent |
A hologram changes |
getChange(), the name of what changed |
No |
HologramDeleteEvent |
A hologram is deleted | No | |
HologramsLoadEvent |
The plugin has loaded every hologram | No |
Cancelling HologramClickEvent stops the click: no action runs and the cooldown does not start.
@EventHandler
public void onHologramClick(HologramClickEvent event) {
if (event.getIdentifier().equals("arena_join") && inMatch(event.getPlayer())) {
event.setCancelled(true);
}
}
Your guide to the docs
Ask me anything about our plugins. I know these docs inside out, check the latest versions and changelogs, and can read your server logs.
Try asking
Your cart is empty
Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping