use of org.cubeengine.module.chat.command.AfkCommand in project modules-extra by CubeEngine.
the class Chat method onEnable.
@Listener
public void onEnable(GamePreInitializationEvent event) {
AfkCommand afkCmd = new AfkCommand(this, config.autoAfk.after.toMillis(), config.autoAfk.check.toMillis(), bc, tm, em);
cm.addCommands(this, afkCmd);
cm.addCommands(this, new ChatCommands(this, i18n, bc, afkCmd));
}
Aggregations