Multi Select Argument Type
class MultiSelectArgumentType<T : Any>(typeName: String, all: Iterable<T>, predicate: (T) -> Boolean, nameOf: (T) -> String) : ArgumentType<Set<T>>
Comma-separated multi-select argument, parsing to a Set of validated values.
Mirrors the legacy values/enumChoices parameter presets (e.g. .hide hide killaura,scaffold): the whole comma-separated token is validated and every name is matched case-insensitively.
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
open override fun <S> listSuggestions(context: CommandContext<S>, builder: SuggestionsBuilder): CompletableFuture<Suggestions>