Plugin
, TabExecutor
JavaPlugin
, PluginBase
public interface TabCompleter
Modifier and Type | Method | Description |
---|---|---|
java.util.List<java.lang.String> |
onTabComplete(CommandSender sender,
Command command,
java.lang.String alias,
java.lang.String[] args) |
Requests a list of possible completions for a command argument.
|
java.util.List<java.lang.String> onTabComplete(CommandSender sender, Command command, java.lang.String alias, java.lang.String[] args)
sender
- Source of the command. For players tab-completing a
command inside of a command block, this will be the player, not
the command block.command
- Command which was executedalias
- The alias usedargs
- The arguments passed to the command, including final
partial argument to be completed and command labelCopyright © 2018. All rights reserved.