use of com.alessiodp.parties.velocity.listeners.VelocityChatListener in project Parties by AlessioDP.
the class VelocityPartiesPlugin method registerListeners.
@Override
protected void registerListeners() {
getLoggerManager().logDebug(Constants.DEBUG_PLUGIN_REGISTERING, true);
ADPVelocityBootstrap plugin = (ADPVelocityBootstrap) getBootstrap();
EventManager em = plugin.getServer().getEventManager();
em.register(plugin, new VelocityChatListener(this));
em.register(plugin, new VelocityFollowListener(this));
em.register(plugin, new VelocityJoinLeaveListener(this));
}
Aggregations