Class AdminCommands

java.lang.Object
dev.despical.kotl.commands.CommandCategory
dev.despical.kotl.commands.AdminCommands

public final class AdminCommands extends CommandCategory
  • Constructor Details

    • AdminCommands

      public AdminCommands()
  • Method Details

    • createCommand

      @Command(name="kotl.create", permission="kotl.admin.create", usage="/kotl create <id>", desc="Creates a new arena with default configuration", max=1, senderType=PLAYER) public void createCommand(dev.despical.commandframework.CommandArguments arguments)
    • deleteCommand

      @Command(name="kotl.delete", permission="kotl.admin.delete", usage="/kotl delete <arena>", desc="Deletes arena with the current configuration", min=1) public void deleteCommand(dev.despical.commandframework.CommandArguments arguments)
    • editCommand

      @Command(name="kotl.edit", permission="kotl.admin.edit", usage="/kotl edit <arena>", desc="Opens the arena editor", min=1, senderType=PLAYER) public void editCommand(dev.despical.commandframework.CommandArguments arguments)
    • reloadCommand

      @Command(name="kotl.reload", permission="kotl.admin.reload", usage="/kotl reload", desc="Reloads all configuration and stops arenas") public void reloadCommand(dev.despical.commandframework.CommandArguments arguments)
    • helpCommand

      @Command(name="kotl.help", usage="/kotl help", desc="Displays a list of available commands along with their descriptions.", permission="kotl.admin.help") public void helpCommand(dev.despical.commandframework.CommandArguments arguments)
    • listCommand

      @Command(name="kotl.list", permission="kotl.admin.list", usage="/kotl list", desc="Shows all of the existing arenas") public void listCommand(dev.despical.commandframework.CommandArguments arguments)
    • kickCommand

      @Command(name="kotl.kick", permission="kotl.admin.kick", usage="/kotl kick <player>", desc="Kicks specified player if they\'re playing", min=1) public void kickCommand(dev.despical.commandframework.CommandArguments arguments)
    • versionCommand

      @Command(name="kotl.version", usage="/kotl version", desc="Displays detailed information about the plugin and server environment.", permission="kotl.admin.version", senderType=PLAYER) public void versionCommand(dev.despical.commandframework.CommandArguments arguments)