Annotation Interface Info
This interface holds the information for each command. This annotation defines the command's name, description,
usage, and aliases. Commands must have this annotation present to be registered with the handler.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
name
String nameTechnically, this is the only required value you must supply yourself. However, it is HIGHLY recommended you supply the other optional values as well, for better customization of your command.- Returns:
- The command's name.
-
-
-
description
String descriptionBy default, this is set to "This is the default command description."- Returns:
- The command's description.
- Default:
- "This is the default command description."
-
usage
String usageBy default, this is set to "/<command>"- Returns:
- The command's usage.
- Default:
- "/<command>"
-
aliases
String[] aliasesBy default, this returns an empty array.- Returns:
- The command's aliases.
- Default:
- {}
-