Class SaTabComplete

java.lang.Object
me.gigawartrex.smalladditions.commands.SaTabComplete
All Implemented Interfaces:
org.bukkit.command.TabCompleter

public class SaTabComplete extends Object implements org.bukkit.command.TabCompleter
Class for handling "/sa" command tab completions.
Author:
Paul Ferlitz
  • Constructor Details

    • SaTabComplete

      public SaTabComplete()
  • Method Details

    • onTabComplete

      public List<String> onTabComplete(org.bukkit.command.CommandSender sender, org.bukkit.command.Command cmd, String label, String[] args)
      Main method handling incoming command's tab completions.
      Specified by:
      onTabComplete in interface org.bukkit.command.TabCompleter
      Parameters:
      sender - the command sender
      cmd - the base command, e.g. "sa"
      label - N/A
      args - the following subcommands as an array
      Returns:
      a ArrayList<String> holding possible command options