Class SaTabComplete
java.lang.Object
me.gigawartrex.smalladditions.commands.SaTabComplete
- All Implemented Interfaces:
org.bukkit.command.TabCompleter
Class for handling "/sa" command tab completions.
- Author:
- Paul Ferlitz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiononTabComplete
(org.bukkit.command.CommandSender sender, org.bukkit.command.Command cmd, String label, String[] args) Main method handling incoming command's tab completions.
-
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 interfaceorg.bukkit.command.TabCompleter
- Parameters:
sender
- the command sendercmd
- the base command, e.g. "sa"label
- N/Aargs
- the following subcommands as an array- Returns:
- a
ArrayList<String>
holding possible command options
-