2020-10-31 08:55:27 +00:00
|
|
|
package me.totalfreedom.plex.handlers;
|
|
|
|
|
|
|
|
import com.google.common.collect.Lists;
|
2020-11-06 01:29:38 +00:00
|
|
|
import java.util.List;
|
2020-10-31 08:55:27 +00:00
|
|
|
import me.totalfreedom.plex.command.PlexCommand;
|
2020-11-10 02:47:03 +00:00
|
|
|
import me.totalfreedom.plex.command.impl.*;
|
2020-10-31 08:55:27 +00:00
|
|
|
import me.totalfreedom.plex.util.PlexLog;
|
|
|
|
|
|
|
|
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-11-05 13:40:48 +00:00
|
|
|
commands.add(new NameHistoryCMD());
|
2020-11-05 21:17:14 +00:00
|
|
|
commands.add(new AdminCMD());
|
2020-11-06 03:50:16 +00:00
|
|
|
commands.add(new AdventureCMD());
|
|
|
|
commands.add(new CreativeCMD());
|
|
|
|
commands.add(new SurvivalCMD());
|
|
|
|
commands.add(new SpectatorCMD());
|
2020-11-10 02:47:03 +00:00
|
|
|
commands.add(new BanCMD());
|
2020-11-10 04:08:37 +00:00
|
|
|
commands.add(new PunishmentsCMD());
|
2020-10-31 08:55:27 +00:00
|
|
|
PlexLog.log(String.format("Registered %s commands!", commands.size()));
|
|
|
|
}
|
|
|
|
}
|