Package dev.despical.kotl.commands
Class AdminCommands
java.lang.Object
dev.despical.kotl.commands.CommandCategory
dev.despical.kotl.commands.AdminCommands
-
Field Summary
Fields inherited from class dev.despical.kotl.commands.CommandCategory
arenaRegistry, chatManager, plugin -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateCommand(dev.despical.commandframework.CommandArguments arguments) voiddeleteCommand(dev.despical.commandframework.CommandArguments arguments) voideditCommand(dev.despical.commandframework.CommandArguments arguments) voidhelpCommand(dev.despical.commandframework.CommandArguments arguments) voidkickCommand(dev.despical.commandframework.CommandArguments arguments) voidlistCommand(dev.despical.commandframework.CommandArguments arguments) voidreloadCommand(dev.despical.commandframework.CommandArguments arguments) voidversionCommand(dev.despical.commandframework.CommandArguments arguments)
-
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)
-