Class WhisperTabCompleter
java.lang.Object
com.github.mafelp.minecraft.tabCompleters.WhisperTabCompleter
- All Implemented Interfaces:
- org.bukkit.command.TabCompleter
The method that handles all the tab completion for the /whisper and /dcmsg commands.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiononTabComplete(@NotNull org.bukkit.command.CommandSender sender, @NotNull org.bukkit.command.Command cmd, @NotNull String alias, @NotNull String[] args)The Method that handles the getting of of the results.
- 
Constructor Details- 
WhisperTabCompleterpublic WhisperTabCompleter()
 
- 
- 
Method Details- 
onTabCompletepublic List<String> onTabComplete(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull org.bukkit.command.Command cmd, @NotNull @NotNull String alias, @NotNull @NotNull String[] args)The Method that handles the getting of of the results.- Specified by:
- onTabCompletein interface- org.bukkit.command.TabCompleter
- Parameters:
- sender- The sender that is typing the command.
- cmd- The command that the sender is trying to type.
- alias- The first argument of the command, which also can be an alias.
- args- The arguments that are provided until now.
- Returns:
- A list of available results for this command.
 
 
-