Search in sources :

Example 1 with SignPlayerListener

use of com.earth2me.essentials.signs.SignPlayerListener in project Essentials by drtshock.

the class Essentials method registerListeners.

private void registerListeners(PluginManager pm) {
    HandlerList.unregisterAll(this);
    if (getSettings().isDebug()) {
        LOGGER.log(Level.INFO, "Registering Listeners");
    }
    final EssentialsPluginListener pluginListener = new EssentialsPluginListener(this);
    pm.registerEvents(pluginListener, this);
    confList.add(pluginListener);
    final EssentialsPlayerListener playerListener = new EssentialsPlayerListener(this);
    pm.registerEvents(playerListener, this);
    final EssentialsBlockListener blockListener = new EssentialsBlockListener(this);
    pm.registerEvents(blockListener, this);
    final SignBlockListener signBlockListener = new SignBlockListener(this);
    pm.registerEvents(signBlockListener, this);
    final SignPlayerListener signPlayerListener = new SignPlayerListener(this);
    pm.registerEvents(signPlayerListener, this);
    final SignEntityListener signEntityListener = new SignEntityListener(this);
    pm.registerEvents(signEntityListener, this);
    final EssentialsEntityListener entityListener = new EssentialsEntityListener(this);
    pm.registerEvents(entityListener, this);
    final EssentialsWorldListener worldListener = new EssentialsWorldListener(this);
    pm.registerEvents(worldListener, this);
    final EssentialsServerListener serverListener = new EssentialsServerListener(this);
    pm.registerEvents(serverListener, this);
    pm.registerEvents(tntListener, this);
    jails.resetListener();
}
Also used : SignBlockListener(com.earth2me.essentials.signs.SignBlockListener) SignEntityListener(com.earth2me.essentials.signs.SignEntityListener) SignPlayerListener(com.earth2me.essentials.signs.SignPlayerListener)

Aggregations

SignBlockListener (com.earth2me.essentials.signs.SignBlockListener)1 SignEntityListener (com.earth2me.essentials.signs.SignEntityListener)1 SignPlayerListener (com.earth2me.essentials.signs.SignPlayerListener)1