Class AccountTabCompleter

java.lang.Object
com.github.mafelp.minecraft.tabCompleters.AccountTabCompleter
All Implemented Interfaces:
org.bukkit.command.TabCompleter

public class AccountTabCompleter extends Object implements org.bukkit.command.TabCompleter
The method that handles all the tab completion for the /account commands
  • Constructor Details

    • AccountTabCompleter

      public AccountTabCompleter()
  • Method Details

    • onTabComplete

      public List<String> onTabComplete(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull org.bukkit.command.Command cmd, @NotNull @NotNull String alias, @NotNull @NotNull String[] args)
      The Method that handles the getting of of the results.
      Specified by:
      onTabComplete in interface org.bukkit.command.TabCompleter
      Parameters:
      sender - The sender that is typing the command.
      cmd - The command that the sender is trying to type.
      alias - The first argument of the command, which also can be an alias.
      args - The arguments that are provided until now.
      Returns:
      A list of available results for this command.