Class AdminCommands

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

public final class AdminCommands extends CommandCategory
  • Constructor Details

    • AdminCommands

      public AdminCommands()
  • Method Details

    • mainCommand

      @Command(name="whackme", aliases="wm", fallbackPrefix="thewhackme", usage="/whackme help", desc="Main command of the Whack Me.") public void mainCommand(Arguments arguments)
    • reloadCommand

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

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

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

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