Uses of Interface
org.bukkit.conversations.Prompt
-
Packages that use Prompt Package Description org.bukkit.conversations Classes dedicated to facilitate direct player-to-plugin communication. -
-
Uses of Prompt in org.bukkit.conversations
Classes in org.bukkit.conversations that implement Prompt Modifier and Type Class Description classBooleanPromptBooleanPrompt is the base class for any prompt that requires a boolean response from the user.classFixedSetPromptFixedSetPrompt is the base class for any prompt that requires a fixed set response from the user.classMessagePromptMessagePrompt is the base class for any prompt that only displays a message to the user and requires no input.classNumericPromptNumericPrompt is the base class for any prompt that requires aNumberresponse from the user.classPlayerNamePromptPlayerNamePrompt is the base class for any prompt that requires the player to enter another player's name.classRegexPromptRegexPrompt is the base class for any prompt that requires an input validated by a regular expression.classStringPromptStringPrompt is the base class for any prompt that accepts an arbitrary string from the user.classValidatingPromptValidatingPrompt is the base class for any prompt that requires validation.Fields in org.bukkit.conversations declared as Prompt Modifier and Type Field Description protected PromptConversation. currentPromptstatic PromptPrompt. END_OF_CONVERSATIONA convenience constant for indicating the end of a conversation.protected PromptConversationFactory. firstPromptMethods in org.bukkit.conversations that return Prompt Modifier and Type Method Description @Nullable PromptMessagePrompt. acceptInput(@NotNull ConversationContext context, @Nullable String input)Accepts and ignores any user input, returning the next prompt in the prompt graph instead.@Nullable PromptPrompt. acceptInput(@NotNull ConversationContext context, @Nullable String input)Accepts and processes input from the user.@Nullable PromptValidatingPrompt. acceptInput(@NotNull ConversationContext context, @Nullable String input)Accepts and processes input from the user and validates it.protected abstract @Nullable PromptBooleanPrompt. acceptValidatedInput(@NotNull ConversationContext context, boolean input)Override this method to perform some action with the user's boolean response.protected @Nullable PromptBooleanPrompt. acceptValidatedInput(@NotNull ConversationContext context, @NotNull String input)protected abstract @Nullable PromptNumericPrompt. acceptValidatedInput(@NotNull ConversationContext context, @NotNull Number input)Override this method to perform some action with the user's integer response.protected @Nullable PromptNumericPrompt. acceptValidatedInput(@NotNull ConversationContext context, @NotNull String input)protected @Nullable PromptPlayerNamePrompt. acceptValidatedInput(@NotNull ConversationContext context, @NotNull String input)protected abstract @Nullable PromptPlayerNamePrompt. acceptValidatedInput(@NotNull ConversationContext context, @NotNull Player input)Override this method to perform some action with the user's player name response.protected abstract @Nullable PromptValidatingPrompt. acceptValidatedInput(@NotNull ConversationContext context, @NotNull String input)Override this method to accept and processes the validated input from the user.protected abstract @Nullable PromptMessagePrompt. getNextPrompt(@NotNull ConversationContext context)Override this method to return the next prompt in the prompt graph.Methods in org.bukkit.conversations with parameters of type Prompt Modifier and Type Method Description @NotNull ConversationFactoryConversationFactory. withFirstPrompt(@Nullable Prompt firstPrompt)Sets the first prompt to use in all generated conversations.Constructors in org.bukkit.conversations with parameters of type Prompt Constructor Description Conversation(@Nullable Plugin plugin, @NotNull Conversable forWhom, @Nullable Prompt firstPrompt)Initializes a new Conversation.Conversation(@Nullable Plugin plugin, @NotNull Conversable forWhom, @Nullable Prompt firstPrompt, @NotNull Map<Object,Object> initialSessionData)Initializes a new Conversation.
-