ChatInputUtil

public final class ChatInputUtil implements Listener

Utility for getting chat input from players.

Constructors

Link copied to clipboard
public void ChatInputUtil(Plugin plugin, DialogUtil dialogUtil, MessageUtil messageUtil)

Functions

Link copied to clipboard
public void getInput(Player player, Component prompt, Consumer<String> callback, String key, Component title)
public void getInput(Player player, Component prompt, Consumer<String> callback, String key, Component title, String defaultValue)
"The util means, the dialog/chat thingy, not to be confused"
Link copied to clipboard
public void getYesNo(Player player, Consumer<String> callback, String key, Component title)
Link copied to clipboard
public void onChat(AsyncChatEvent event)
Link copied to clipboard
public void onTabComplete(TabCompleteEvent event)