Search in sources :

Example 1 with BukkitConnectionListener

use of me.lucko.luckperms.bukkit.listeners.BukkitConnectionListener in project LuckPerms by lucko.

the class LPBukkitPlugin method registerPlatformListeners.

@Override
protected void registerPlatformListeners() {
    this.connectionListener = new BukkitConnectionListener(this);
    this.bootstrap.getServer().getPluginManager().registerEvents(this.connectionListener, this.bootstrap);
    this.bootstrap.getServer().getPluginManager().registerEvents(new BukkitPlatformListener(this), this.bootstrap);
}
Also used : BukkitConnectionListener(me.lucko.luckperms.bukkit.listeners.BukkitConnectionListener) BukkitPlatformListener(me.lucko.luckperms.bukkit.listeners.BukkitPlatformListener)

Aggregations

BukkitConnectionListener (me.lucko.luckperms.bukkit.listeners.BukkitConnectionListener)1 BukkitPlatformListener (me.lucko.luckperms.bukkit.listeners.BukkitPlatformListener)1