Package net.lewmc.essence.tabcompleter
Class WarpTabCompleter
java.lang.Object
net.lewmc.essence.tabcompleter.WarpTabCompleter
- All Implemented Interfaces:
org.bukkit.command.TabCompleter
Tab completer for the /warp command.
-
Constructor Summary
ConstructorDescriptionWarpTabCompleter
(Essence plugin) Constructor for the WarpTabCompleter class. -
Method Summary
Modifier and TypeMethodDescriptiononTabComplete
(org.bukkit.command.CommandSender sender, org.bukkit.command.Command cde, String arg, String[] args) Tab completer for the /warp command.
-
Constructor Details
-
WarpTabCompleter
Constructor for the WarpTabCompleter class.- Parameters:
plugin
- Essence - Reference to the main Essence class.
-
-
Method Details
-
onTabComplete
public List<String> onTabComplete(@NotNull org.bukkit.command.CommandSender sender, @NotNull org.bukkit.command.Command cde, @NotNull String arg, String[] args) Tab completer for the /warp command.- Specified by:
onTabComplete
in interfaceorg.bukkit.command.TabCompleter
- Parameters:
sender
- CommandSender - The command executor.cde
- Command - The command.arg
- String - Command argument.args
- String[] - Command arguments.- Returns:
- ArrayList - List of command autocomplete options.
-