Package co.aikar.commands.annotation
Annotation Type Values
-
@Retention(RUNTIME) @Target({PARAMETER,ANNOTATION_TYPE}) public @interface Values
Specifies a list of values that the command input should be validated against, or else show an error. You may also useCommandCompletionhandler codes here to feed dynamic values and avoid repetition.