feat(telemetry): add metrics

This commit is contained in:
ineanto 2023-12-11 13:02:32 +01:00
parent a3227dfb94
commit 9fc902aa75
3 changed files with 12 additions and 2 deletions

View file

@ -1,6 +1,7 @@
package xyz.ineanto.nicko;
import com.comphenix.protocol.utility.MinecraftVersion;
import org.bstats.bukkit.Metrics;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.command.PluginCommand;
@ -113,6 +114,7 @@ public class NickoBukkit extends JavaPlugin {
getServer().getPluginManager().registerEvents(new PlayerJoinListener(), this);
getServer().getPluginManager().registerEvents(new PlayerQuitListener(), this);
new Metrics(this, 20483);
}
getLogger().info("Nicko has been enabled.");