Uses of Class
tech.guilhermekaua.spigotboot.core.spigot.conversation.ChatPrompt
Packages that use ChatPrompt
-
Uses of ChatPrompt in tech.guilhermekaua.spigotboot.core.spigot.conversation
Methods in tech.guilhermekaua.spigotboot.core.spigot.conversation that return ChatPromptModifier and TypeMethodDescriptionChatPrompt.async()Run the callback inline on the async chat thread instead of hopping to the main/region thread.ChatPrompt.firstPrompt(String markup) A message sent to the player the moment the conversation starts.ChatPrompt.onEnd(BiConsumer<org.bukkit.entity.Player, EndReason> onEnd) Sets a hook that runs when the conversation ends for any reason.Sets a hook that runs, with the player, when the inactivity timeout elapses, just beforeonEnd.Inactivity timeout: if the player sends no message within this window the conversation ends withEndReason.TIMEOUT.static @NotNull ChatPromptChatUtils.with(@NotNull org.bukkit.entity.Player player)