Uses of Interface
de.marcely.bedwars.api.player.PlayerStatSet
Package
Description
Classes dedicated to fetching, updating, and saving player data/properties/stats in MBedwars.
DO NOT USE: These classes are for internal use only, and may change at any time.
-
Uses of PlayerStatSet in de.marcely.bedwars.api.player
Modifier and TypeFieldDescriptionstatic final PlayerStatSet
DefaultPlayerStatSet.BEDS_DESTROYED
static final PlayerStatSet
DefaultPlayerStatSet.BEDS_LOST
static final PlayerStatSet
DefaultPlayerStatSet.DEATHS
static final PlayerStatSet
DefaultPlayerStatSet.FINAL_DEATHS
static final PlayerStatSet
DefaultPlayerStatSet.FINAL_K_D
static final PlayerStatSet
DefaultPlayerStatSet.FINAL_KILLS
static final PlayerStatSet
DefaultPlayerStatSet.K_D
static final PlayerStatSet
DefaultPlayerStatSet.KILL_STREAK
static final PlayerStatSet
DefaultPlayerStatSet.KILLS
static final PlayerStatSet
DefaultPlayerStatSet.LOSES
static final PlayerStatSet
DefaultPlayerStatSet.PLAY_TIME
static final PlayerStatSet
DefaultPlayerStatSet.RANK
static final PlayerStatSet
DefaultPlayerStatSet.ROUNDS_PLAYED
static final PlayerStatSet
DefaultPlayerStatSet.TOP_KILL_STREAK
static final PlayerStatSet
DefaultPlayerStatSet.TOP_WIN_STREAK
static final PlayerStatSet
DefaultPlayerStatSet.W_L
static final PlayerStatSet
DefaultPlayerStatSet.WIN_STREAK
static final PlayerStatSet
DefaultPlayerStatSet.WINS
Modifier and TypeMethodDescriptionLeaderboardFetchResult.getStatSet()
Get the stat set that was used to order the players.@Nullable PlayerStatSet
PlayerDataAPI.getStatsSet
(String id) Returns the stats set with the given id.Modifier and TypeMethodDescriptionPlayerDataAPI.getRegisteredStatSets()
Returns all registered data sets for stats.PlayerDataAPI.getStatsDataSet
(String id) Searches for the data set with that id and returns it.Modifier and TypeMethodDescriptionvoid
PlayerDataAPI.fetchLeaderboard
(PlayerStatSet statSet, int minRank, int maxRank, Consumer<LeaderboardFetchResult> callback) Fetches players at the given ranks at the leaderboard.void
PlayerDataAPI.fetchLeaderboardPosition
(UUID playerUUID, PlayerStatSet statSet, Consumer<Integer> callback) Fetches the position of a player on the leaderboard.default void
PlayerDataAPI.fetchLeaderboardPosition
(OfflinePlayer player, PlayerStatSet statSet, Consumer<Integer> callback) Fetches the position of a player on the leaderboard.void
PlayerDataAPI.registerStatSet
(PlayerStatSet dataSet) Tries to register this data set and make it display everywhere in the plugin.boolean
PlayerDataAPI.unregisterStatSet
(PlayerStatSet dataSet) Tries to register this data set.ModifierConstructorDescriptionLeaderboardFetchResult
(PlayerStatSet statSet, int minRank, int maxRank, PlayerStats[] stats, PlayerProperties[] properties) -
Uses of PlayerStatSet in de.marcely.bedwars.api.unsafe
Modifier and TypeMethodDescriptionabstract PlayerStatSet
InitBedwarsAPILayer.getDefaultPlayerStatSet
(String id) Deprecated.@Nullable PlayerStatSet
PlayerStatsDataSetTypeWrapper.getHandle()
Deprecated.