@Nullable List<String> onTabComplete(@NotNull CommandSender sender, @NotNull Command command, @NotNull String alias, @NotNull 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 executed
alias- The alias used
args- The arguments passed to the command, including final partial argument to be completed and command label
Copyright © 2019. All rights reserved.