Interface PlayerStatistic


@NonExtendable public interface PlayerStatistic
  • Method Details

    • getDeaths

      int getDeaths()
      Returns:
      player's deaths
    • getDestroyedBeds

      int getDestroyedBeds()
      Returns:
      number of beds destroyed by this player
    • getKills

      int getKills()
      Returns:
      player's kills
    • getLoses

      int getLoses()
      Returns:
      player's loses
    • getName

      String getName()
      Returns:
      player's name
    • getScore

      int getScore()
      Returns:
      player's score
    • getUuid

      UUID getUuid()
      Returns:
      uuid of this player
    • getWins

      int getWins()
      Returns:
      number of wins
    • getKD

      double getKD()
      Returns:
      K/D ratio
    • getGames

      int getGames()
      Returns:
      number of played games
    • addDeaths

      void addDeaths(int deaths)
      Parameters:
      deaths - Number of new deaths
    • addDestroyedBeds

      void addDestroyedBeds(int destroyedBeds)
      Parameters:
      destroyedBeds - Number of new destroyed beds
    • addKills

      void addKills(int kills)
      Parameters:
      kills - Number of new kills
    • addLoses

      void addLoses(int loses)
      Parameters:
      loses - Number of new loses
    • addScore

      void addScore(int score)
      Parameters:
      score - Number of new score
    • addWins

      void addWins(int wins)
      Parameters:
      wins - Number of new wins