Class PlayerStats

java.lang.Object
eu.bedwarsia.bedsumo.api.PlayerStats

public class PlayerStats extends Object
Represents the persistent historical statistics of a player loaded from the database.
  • Constructor Details

    • PlayerStats

      public PlayerStats(UUID uuid, String username, int kills, int deaths, int bedsPlaced, int bedsExploded, int bedsExplodedByOthers, int longestKillStreak, int totalKnockbackInflicted, int totalKnockbackReceived, long totalPlayTime, int bedsAutoRemoved, double totalDistanceTraveled)
  • Method Details

    • getUuid

      public UUID getUuid()
    • getUsername

      public String getUsername()
    • getKills

      public int getKills()
    • getDeaths

      public int getDeaths()
    • getBedsPlaced

      public int getBedsPlaced()
    • getBedsExploded

      public int getBedsExploded()
    • getBedsExplodedByOthers

      public int getBedsExplodedByOthers()
    • getLongestKillStreak

      public int getLongestKillStreak()
    • getTotalKnockbackInflicted

      public int getTotalKnockbackInflicted()
    • getTotalKnockbackReceived

      public int getTotalKnockbackReceived()
    • getTotalPlayTime

      public long getTotalPlayTime()
    • getBedsAutoRemoved

      public int getBedsAutoRemoved()
    • getTotalDistanceTraveled

      public double getTotalDistanceTraveled()