Annotation Interface Description
This annotation specifies the description of a command. The command description is collected into the
CommandInfo. By default, the annotation should contain a translation key, that is resolved in the runtime. If
this is not the case the translatable() option has to be false.- Since:
- 4.0
- See Also:
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanGets if the provided description is a translation key, that needs to be resolved at runtime.
-
Element Details
-
value
String valueGets the description for all commands of a class which is annotated with this annotation.- Returns:
- the description.
-
translatable
boolean translatableGets if the provided description is a translation key, that needs to be resolved at runtime.- Returns:
- if the provided description is a translation key, that needs to be resolved at runtime.
- Default:
true
-