Annotation Interface SubCommand
Declares a subcommand on a type or method, with optional attachment mode and
suggestion-permission behavior.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe format of the node/argument to attach this subcommand to.boolean
-
Element Details
-
value
String[] value- Returns:
- The names of subcommands
-
-
-
skipSuggestionsChecks
boolean skipSuggestionsChecks- Returns:
- Whether to skip permission checks during auto-completion.
- Default:
- false
-
attachTo
String attachToThe format of the node/argument to attach this subcommand to. If empty, attaches to the parent command.- Returns:
- the format of the node/argument to attach this subcommand to, or empty to attach to the parent command
- Default:
- ""
-