use of de.t0biii.joinmusic.bungee.listener.PlayerJoin in project JoinMusic by T0biii.
the class JoinMusicBungee method onEnable.
@Override
public void onEnable() {
getProxy().registerChannel("JoinMusic");
getProxy().getPluginManager().registerListener(this, new PlayerJoin(this));
dealy = cm.getConfig().getInt("delay");
if (cm.getConfig().getBoolean("metrics")) {
Metrics metrics = new Metrics(this, 8760);
new bStatsCustom(this).customCharts(metrics);
}
getLogger().info("Plugin enabled!");
}
Aggregations