2020-10-31 08:55:27 +00:00
|
|
|
package me.totalfreedom.plex.handlers;
|
|
|
|
|
|
|
|
import com.google.common.collect.Lists;
|
|
|
|
import me.totalfreedom.plex.command.PlexCommand;
|
2020-11-02 20:50:51 +00:00
|
|
|
import me.totalfreedom.plex.command.impl.*;
|
2020-10-31 08:55:27 +00:00
|
|
|
import me.totalfreedom.plex.util.PlexLog;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
public class CommandHandler
|
|
|
|
{
|
|
|
|
|
|
|
|
private List<PlexCommand> commands = Lists.newArrayList();
|
|
|
|
|
|
|
|
public CommandHandler()
|
|
|
|
{
|
|
|
|
commands.add(new TestCMD());
|
|
|
|
commands.add(new PlexCMD());
|
2020-11-02 00:06:08 +00:00
|
|
|
commands.add(new FionnCMD());
|
|
|
|
commands.add(new WorldCMD());
|
2020-11-02 20:50:51 +00:00
|
|
|
commands.add(new OpAllCMD());
|
|
|
|
commands.add(new OpCMD());
|
2020-11-03 02:58:56 +00:00
|
|
|
commands.add(new FreezeCMD());
|
2020-10-31 08:55:27 +00:00
|
|
|
|
|
|
|
PlexLog.log(String.format("Registered %s commands!", commands.size()));
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|