-
-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
I have been unable to find an implementation of the @AListArgument as the annotation equivalent of the ListArgument. I searched both the documentation and the (closed) issues but found no reference as to why this is missing.
Did I miss something? Is there a technical limitation as to why this annotation does not exist? And if it is not possible to implement, are there alternative ways to reach a similar result?
Expected code
public class AnnotationBasedCommand {
@Default
public static void execute(Player sender, @AListArgument(suggestions={"a", "b", "c"}, delimiter=" ", allowDuplicates=False) List<String> list) {
// Do stuff...
}
}Extra details
No response
willkroboth
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request