Plex/src/main/java/dev/plex/handlers/CommandHandler.java

37 lines
1.1 KiB
Java
Raw Normal View History

2021-01-03 07:21:15 +00:00
package dev.plex.handlers;
import com.google.common.collect.Lists;
2021-01-03 07:21:15 +00:00
import dev.plex.command.PlexCommand;
2022-01-04 03:04:39 +00:00
import dev.plex.command.impl.*;
2021-01-03 07:21:15 +00:00
import dev.plex.util.PlexLog;
2022-01-04 03:04:39 +00:00
import java.util.List;
public class CommandHandler
{
public CommandHandler()
{
2021-06-20 08:02:07 +00:00
List<PlexCommand> commands = Lists.newArrayList();
2020-11-05 21:17:14 +00:00
commands.add(new AdminCMD());
2022-01-04 03:04:39 +00:00
commands.add(new AdminworldCMD());
commands.add(new AdventureCMD());
commands.add(new BanCMD());
2022-01-04 03:04:39 +00:00
commands.add(new CreativeCMD());
commands.add(new FionnCMD());
2021-06-20 08:02:07 +00:00
commands.add(new FlatlandsCMD());
2022-01-04 03:04:39 +00:00
commands.add(new FreezeCMD());
2021-06-20 08:02:07 +00:00
commands.add(new MasterbuilderworldCMD());
2022-01-04 03:04:39 +00:00
commands.add(new NameHistoryCMD());
commands.add(new OpAllCMD());
commands.add(new OpCMD());
commands.add(new PlexCMD());
commands.add(new PunishmentsCMD());
commands.add(new RankCMD());
commands.add(new SpectatorCMD());
commands.add(new SurvivalCMD());
commands.add(new TestCMD());
commands.add(new WorldCMD());
PlexLog.log(String.format("Registered %s commands!", commands.size()));
}
}