Interface ITabCompleterHelper

All Known Subinterfaces:
ICommand

public interface ITabCompleterHelper
A simple tab completer helper for tab completion.
  • Method Details

    • tabComplete

      default List<String> tabComplete(String arg, List<String> subCommands)
      Gets the tab complete for the argument.
      Parameters:
      arg - The argument.
      subCommands - The sub commands.
      Returns:
      The tab completes.
    • playerNames

      @NotNull default @NotNull List<String> playerNames()
      Gets a list of all player names.
      Returns:
      The list of all player names.