/command oneand your help command to not have a subcommand like
/command, you set it as default.
/command onethe one is the subcommand.
List<String>then use the annotation to point it to the sub command you want to handle for. For completing a sub command annotated with
"default"as the target. Follow the example under:
ID. If the message
IDis not registered it'll simply display the
IDto the player.
null. ATENTION **- Because of returning
nullprimitive data types will not work, for example instead of
Integer, for optional parameters only though!
@Completionannotation, however it can only be used in the parameter. The difference of using Values instead of Completion is that it'll be checked and the only values allowed for that argument. For example if you set a tab completion to only have the Materials
OAK_WOODis a valid Material it'll return
nullas it is not part of the tab completion.