Class LeaderboardHologram

java.lang.Object
com.maximde.hologramlib.hologram.custom.LeaderboardHologram

public class LeaderboardHologram extends Object
  • Constructor Details

  • Method Details

    • validateId

      protected void validateId(String id)
    • setPlayerScore

      public void setPlayerScore(UUID uuid, String name, double score)
    • setAllScores

      public void setAllScores(Map<UUID,LeaderboardHologram.PlayerScore> data)
    • removePlayer

      public void removePlayer(UUID uuid)
    • hide

      public void hide(org.bukkit.entity.Player player)
    • show

      public void show(org.bukkit.entity.Player player)
    • update

      public void update()
      Updates the leaderboard display with current data Formats and displays the leaderboard entries according to the specified options, including special formatting for top 3 places and optional player head display
    • rotate

      @Experimental public LeaderboardHologram rotate(float x, float y)
    • setFixedRotation

      public LeaderboardHologram setFixedRotation()
    • teleport

      public LeaderboardHologram teleport(org.bukkit.Location location)
    • getLocation

      public org.bukkit.Location getLocation()
    • getAllTextHolograms

      public List<TextHologram> getAllTextHolograms()
    • getEntryHolograms

      public List<TextHologram> getEntryHolograms()