Interface PlayerStatistic


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
    • getCurrentDeaths

      @Deprecated default int getCurrentDeaths()
      Deprecated.
      See Also:
    • setCurrentDeaths

      @Deprecated default void setCurrentDeaths(int currentDeaths)
      Deprecated.
      See Also:
    • getCurrentDestroyedBeds

      @Deprecated default int getCurrentDestroyedBeds()
      Deprecated.
      See Also:
    • setCurrentDestroyedBeds

      @Deprecated default void setCurrentDestroyedBeds(int currentDestroyedBeds)
      Deprecated.
      See Also:
    • getCurrentKills

      @Deprecated default int getCurrentKills()
      Deprecated.
      See Also:
    • setCurrentKills

      @Deprecated default void setCurrentKills(int currentKills)
      Deprecated.
      See Also:
    • getCurrentLoses

      @Deprecated default int getCurrentLoses()
      Deprecated.
      See Also:
    • setCurrentLoses

      @Deprecated default void setCurrentLoses(int currentLoses)
      Deprecated.
      See Also:
    • getCurrentScore

      @Deprecated default int getCurrentScore()
      Deprecated.
      See Also:
    • setCurrentScore

      @Deprecated default void setCurrentScore(int currentScore)
      Deprecated.
      See Also:
    • getCurrentWins

      @Deprecated default int getCurrentWins()
      Deprecated.
      See Also:
    • setCurrentWins

      @Deprecated default void setCurrentWins(int currentWins)
      Deprecated.
      See Also:
    • getCurrentKD

      @Deprecated default double getCurrentKD()
      Deprecated.
      See Also:
    • getCurrentGames

      @Deprecated default int getCurrentGames()
      Deprecated.
      See Also: