Search in sources :

Example 1 with PlayerJoin

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!");
}
Also used : PlayerJoin(de.t0biii.joinmusic.bungee.listener.PlayerJoin) Metrics(org.bstats.bungeecord.Metrics) de.t0biii.joinmusic.bungee.domain.bStatsCustom(de.t0biii.joinmusic.bungee.domain.bStatsCustom)

Aggregations

de.t0biii.joinmusic.bungee.domain.bStatsCustom (de.t0biii.joinmusic.bungee.domain.bStatsCustom)1 PlayerJoin (de.t0biii.joinmusic.bungee.listener.PlayerJoin)1 Metrics (org.bstats.bungeecord.Metrics)1