Class TeamTabCompleter

java.lang.Object
net.lewmc.essence.tabcompleter.TeamTabCompleter
All Implemented Interfaces:
org.bukkit.command.TabCompleter

public class TeamTabCompleter extends Object implements org.bukkit.command.TabCompleter
Tab completer for the /team command.
  • Constructor Details

    • TeamTabCompleter

      public TeamTabCompleter()
  • Method Details

    • onTabComplete

      public List<String> onTabComplete(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull org.bukkit.command.Command cde, @NotNull @NotNull String arg, String[] args)
      Tab completer for the /team command.
      Specified by:
      onTabComplete in interface org.bukkit.command.TabCompleter
      Parameters:
      sender - CommandSender - The command executor.
      cde - Command - The command.
      arg - String - Command argument.
      args - String[] - Command arguments.
      Returns:
      ArrayList - List of command autocomplete options.