Class AdminCommands

java.lang.Object
dev.despical.tntrun.command.CommandCategory
dev.despical.tntrun.command.AdminCommands

public final class AdminCommands extends CommandCategory
  • Constructor Details

    • AdminCommands

      public AdminCommands()
  • Method Details

    • mainCommand

      @Command(name="tntrun", aliases="tr", fallbackPrefix="thetntrun", permission="tntrun.command.help", usage="/tntrun help", desc="Main command of the TNT Run.") public void mainCommand(Arguments arguments)
    • reloadCommand

      @Command(name="tntrun.reload", aliases="tr.reload", permission="tntrun.admin.reload", usage="/%label% reload", desc="Reloads configuration files.") public void reloadCommand(Arguments arguments)
    • stopCommand

      @Command(name="tntrun.stop", aliases="tr.stop", permission="tntrun.admin.stop", usage="/%label% stop [arena]", desc="Stops the current or specified arena game.", max=1) public void stopCommand(Arguments arguments)
    • startCommand

      @Command(name="tntrun.start", aliases="tr.start", permission="tntrun.admin.start", usage="/%label% start [arena]", desc="Starts the current or specified arena game.", max=1) public void startCommand(Arguments arguments)
    • helpCommand

      @Command(name="tntrun.help", aliases="tr.help", permission="tntrun.command.help", usage="/%label% help") public void helpCommand(Arguments arguments)
    • kickCommand

      @Command(name="tntrun.kick", aliases="tr.kick", permission="tntrun.admin.kick", usage="/%label% kick <player>", desc="Removes a player from game and teleports them to the arena's end location.", min=1, max=1, senderType=PLAYER) public void kickCommand(Arguments arguments)