public static interface TabCompleteEvent.Command extends TabCompleteEvent
TabCompleteEvent.Chat, TabCompleteEvent.Command| Modifier and Type | Method and Description |
|---|---|
String |
getArguments()
Gets the arguments as a string.
|
String |
getCommand()
Gets the command as a string, without any sort of command prefix.
|
getOriginalTabCompletions, getRawMessage, getTabCompletions, getTargetPos, isUsingBlockgetCause, getContext, getSourceisCancelled, setCancelledString getCommand()
For example, if the message was /example bob 3 -f,
then the command would be example.
String getArguments()
For example, if the message was /example bob 3 -f,
then the arguments would be bob 3 -f.