Replace mcstats with bstats

This commit is contained in:
ZeroEpoch1969
2018-07-27 00:31:18 -07:00
parent 45a10a871f
commit c0e16ee9c7
3 changed files with 670 additions and 863 deletions

View File

@ -32,7 +32,7 @@ import org.bukkit.Bukkit;
import org.bukkit.generator.ChunkGenerator;
import org.bukkit.plugin.Plugin;
import org.bukkit.scheduler.BukkitRunnable;
import org.mcstats.Metrics;
import org.bstats.Metrics;
import org.spigotmc.SpigotConfig;
import java.io.File;
@ -237,16 +237,8 @@ public class TotalFreedomMod extends AeroPlugin<TotalFreedomMod>
timer.update();
FLog.info("Version " + pluginVersion + " for " + ServerInterface.COMPILE_NMS_VERSION + " enabled in " + timer.getTotal() + "ms");
// Metrics @ http://mcstats.org/plugin/TotalFreedomMod
try
{
final Metrics metrics = new Metrics(plugin);
metrics.start();
}
catch (IOException ex)
{
FLog.warning("Failed to submit metrics data: " + ex.getMessage());
}
// Metrics @ https://bstats.org/plugin/bukkit/TotalFreedomMod
new Metrics(this);
// Add spawnpoints later - https://github.com/TotalFreedom/TotalFreedomMod/issues/438
new BukkitRunnable()