Annotation Interface AutoRegisterCommand
Annotation to mark a class for automatic command registration.
Use the
AutoCommandRegistrar to register commands annotated with this.-
Optional Element Summary
Optional Elements
-
Element Details
-
command
String commandThe command to register.- Default:
""
-
commands
String[] commandsThe commands to register.- Default:
{}
-
name
String nameDeprecated.Usecommand()orcommands()for actual command registration.The name of the command handler. NOT the actual command string, but a speaking name for the handler.- Default:
""
-
aliases
String[] aliasesAliases for the command.- Default:
{}
-
description
String descriptionDescription of the command.- Default:
"__UNSET__"
-
usage
String usageUsage information for the command.- Default:
"__UNSET__"
-
permission
String permissionPermission required to execute the command.- Default:
"__UNSET__"
-
command()orcommands()for actual command registration.