Interface IGenHolo


public interface IGenHolo
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This must be called when disabling the generator IGenerator.disable()
    Get language iso associated with this hologram.
    void
    Set tier hologram display text.
    void
    Set timer hologram display text.
    void
    Hide hologram for all players using a different language than this hologram.
    void
    updateForPlayer(org.bukkit.entity.Player p, String lang)
    Hide hologram for target player if is using a different language.
  • Method Details

    • setTimerName

      void setTimerName(String timer)
      Set timer hologram display text.
    • setTierName

      void setTierName(String tier)
      Set tier hologram display text.
    • getIso

      String getIso()
      Get language iso associated with this hologram.
    • updateForPlayer

      void updateForPlayer(org.bukkit.entity.Player p, String lang)
      Hide hologram for target player if is using a different language. Add your generator to an arena and it will automatically call this when required.
      Parameters:
      p - The player who should not see this hologram.
      lang - Player's language.
    • updateForAll

      void updateForAll()
      Hide hologram for all players using a different language than this hologram.
    • destroy

      void destroy()
      This must be called when disabling the generator IGenerator.disable()