Annotation Type Suggestions
-
@Target(METHOD) @Retention(RUNTIME) public @interface Suggestions
This annotation allows you to create annotated methods that behave like suggestions providers. The method must have this exact signature:﹫Suggestions("name") public List<String> methodName(CommandContext<YourSender> sender, String input) { }
- Since:
- 1.3.0
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description @NonNull java.lang.String
value
Name of the suggestions provider.
-