CustomArgumentType
An argument type that wraps a native argument type.
The native type is sent to the client for client-side completions and syntax validation, while the server uses custom parsing logic to produce the parsed type.
Parameters
PARSED
The custom type produced by server-side parsing
NATIVE
The native type sent to the client
Properties
Functions
Link copied to clipboard
This is controlled client-side and can't be changed server-side.
Link copied to clipboard
open override fun <S> listSuggestions(context: CommandContext<S>, builder: SuggestionsBuilder): CompletableFuture<Suggestions>
Suggestions of the nativeType.
Link copied to clipboard
Whether native suggestions should be used.