Interface Leaderboard
public interface Leaderboard
-
Method Details
-
getTop
- 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
List<LeaderboardValue> 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
-