public interface TabCompleter
Modifier and Type | Method and Description |
---|---|
List<String> |
onTabComplete(CommandSender sender,
Command command,
String alias,
String[] args)
Requests a list of possible completions for a command argument.
|
default List<String> |
onTabComplete(CommandSender sender,
Command command,
String alias,
String[] args,
Location location) |
List<String> onTabComplete(CommandSender sender, Command command, String alias, String[] args)
sender
- Source of the commandcommand
- Command which was executedalias
- The alias usedargs
- The arguments passed to the command, including final
partial argument to be completed and command labelCopyright © 2022. All rights reserved.