Annotation Type 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
-
Element Details
-
value
@NonNull String valueName of the suggestions provider. This should be the same as the name specified in your command arguments- Returns:
- Suggestions provider name
-