Interface Leaderboard


public interface Leaderboard
  • Method Details

    • getTop

      List<LeaderboardValue> getTop(int amount)
      Parameters:
      amount - the amount of places it should attempt to get
      Returns:
      A list of LeaderboardValues up to the specified amount.
    • getPlace

      int getPlace(org.bukkit.OfflinePlayer player)
      Parameters:
      player - The player your trying to get the place for
      Returns:
      The player's place in the leaderboard
    • getList

      Returns:
      The raw list of the leaderboard
    • getDisplayname

      String getDisplayname()
      Returns:
      the displayname of the leaderboard
    • getId

      String getId()
      Returns:
      the id of the leaderboard