Solved Get Offline Player Statistics

Discussion in 'Plugin Development' started by BlackScorpyon04, Mar 5, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    BlackScorpyon04

    Im trying to get a offline players statistics. i need the PLAY_ONE_TICK
    But getStatistic();
    isnt a thing for offlinePlayer
    Code:
    for (OfflinePlayer plr : Bukkit.getOfflinePlayers()) {
                playtimeList.put(plr.getName(), plr.getStatistic(Statistic.PLAY_ONE_TICK));
    }
     
  2. Online

    timtower Administrator Administrator Moderator

  3. Offline

    BlackScorpyon04

Thread Status:
Not open for further replies.

Share This Page