Class TabCompletion
java.lang.Object
de.redstoneworld.redutilities.player.TabCompletion
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Collection<? super String>>
TcopyPartialMatches
(@NotNull String token, @NotNull Iterable<String> originals, T collection) Method for creating tab completion on BungeeCord side.
-
Constructor Details
-
TabCompletion
public TabCompletion()
-
-
Method Details
-
copyPartialMatches
@NotNull public static <T extends Collection<? super String>> T copyPartialMatches(@NotNull @NotNull String token, @NotNull @NotNull Iterable<String> originals, @NotNull T collection) throws UnsupportedOperationException, IllegalArgumentException Method for creating tab completion on BungeeCord side. On Bukkit side the existing methode "org.bukkit.util.StringUtil" should be used.
-