Plugin-sided version that runs on the Bukkit/Spigot server to collect statistics.