feat(telemetry): add metrics
This commit is contained in:
parent
a3227dfb94
commit
9fc902aa75
3 changed files with 12 additions and 2 deletions
|
@ -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.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue