Class AdvancedCoreTabCompleteHandler

java.lang.Object
com.bencodez.advancedcore.api.command.AdvancedCoreTabCompleteHandler

public class AdvancedCoreTabCompleteHandler extends Object
Handles tab completion for AdvancedCore commands.
  • Constructor Details

    • AdvancedCoreTabCompleteHandler

      public AdvancedCoreTabCompleteHandler()
  • Method Details

    • getInstance

      public static AdvancedCoreTabCompleteHandler getInstance()
      Gets the singleton instance.
      Returns:
      the tab complete handler instance
    • getTabCompleteOptions

      public ArrayList<String> getTabCompleteOptions(ArrayList<CommandHandler> handles, org.bukkit.command.CommandSender sender, String[] args, int argNum)
      Gets tab complete options for a command.
      Parameters:
      handles - the command handlers
      sender - the command sender
      args - the command arguments
      argNum - the argument number
      Returns:
      list of tab complete options