Package com.tomkeuper.bedwars.api
Interface BedWars.IStats
- Enclosing interface:
BedWars
public static interface BedWars.IStats
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the player's beds destroyed.int
Get the player's total deaths.int
Get the player's total final deaths.int
Get the player's total final kills.Get the player's first play date.int
Get the player's games played.int
Get the player's regular kills.Get the player's last play date.int
Get the player's total looses.int
Get the player's total kills.int
Get the player's total wins.
-
Method Details
-
getPlayerFirstPlay
Get the player's first play date. You get data from the local cache.- Parameters:
p
- The UUID of the player.- Returns:
- The timestamp of the player's first play date.
-
getPlayerLastPlay
Get the player's last play date. You get data from the local cache.- Parameters:
p
- The UUID of the player.- Returns:
- The timestamp of the player's last play date.
-
getPlayerWins
Get the player's total wins. You get data from the local cache.- Parameters:
p
- The UUID of the player.- Returns:
- The total number of wins for the player.
-
getPlayerKills
Get the player's regular kills. You get data from the local cache.- Parameters:
p
- The UUID of the player.- Returns:
- The number of regular kills for the player.
-
getPlayerTotalKills
Get the player's total kills. Regular kills + final kills. You get data from the local cache.- Parameters:
p
- The UUID of the player.- Returns:
- The total number of kills for the player.
-
getPlayerFinalKills
Get the player's total final kills. You get data from the local cache.- Parameters:
p
- The UUID of the player.- Returns:
- The total number of final kills for the player.
-
getPlayerLoses
Get the player's total looses. You get data from the local cache.- Parameters:
p
- The UUID of the player.- Returns:
- The total number of losses for the player.
-
getPlayerDeaths
Get the player's total deaths. You get data from the local cache.- Parameters:
p
- The UUID of the player.- Returns:
- The total number of deaths for the player.
-
getPlayerFinalDeaths
Get the player's total final deaths. You get data from the local cache.- Parameters:
p
- The UUID of the player.- Returns:
- The total number of final deaths for the player.
-
getPlayerBedsDestroyed
Get the player's beds destroyed. You get data from the local cache.- Parameters:
p
- The UUID of the player.- Returns:
- The number of beds destroyed by the player.
-
getPlayerGamesPlayed
Get the player's games played. You get data from the local cache.- Parameters:
p
- The UUID of the player.- Returns:
- The number of games played by the player.
-