Package org.bukkit.conversations
Class MessagePrompt
java.lang.Object
org.bukkit.conversations.MessagePrompt
MessagePrompt is the base class for any prompt that only displays a message
 to the user and requires no input.
- 
Field SummaryFields inherited from interface org.bukkit.conversations.PromptEND_OF_CONVERSATION
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionacceptInput(@NotNull ConversationContext context, @Nullable String input) Accepts and ignores any user input, returning the next prompt in the prompt graph instead.booleanblocksForInput(@NotNull ConversationContext context) Message prompts never wait for user input before continuing.getNextPrompt(@NotNull ConversationContext context) Override this method to return the next prompt in the prompt graph.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.conversations.PromptgetPromptText
- 
Constructor Details- 
MessagePromptpublic MessagePrompt()
 
- 
- 
Method Details- 
blocksForInputMessage prompts never wait for user input before continuing.- Specified by:
- blocksForInputin interface- Prompt
- Parameters:
- context- Context information about the conversation.
- Returns:
- Always false.
 
- 
acceptInput@Nullable public @Nullable Prompt acceptInput(@NotNull @NotNull ConversationContext context, @Nullable @Nullable String input) Accepts and ignores any user input, returning the next prompt in the prompt graph instead.- Specified by:
- acceptInputin interface- Prompt
- Parameters:
- context- Context information about the conversation.
- input- Ignored.
- Returns:
- The next prompt in the prompt graph.
 
- 
getNextPrompt@Nullable protected abstract @Nullable Prompt getNextPrompt(@NotNull @NotNull ConversationContext context) Override this method to return the next prompt in the prompt graph.- Parameters:
- context- Context information about the conversation.
- Returns:
- The next prompt in the prompt graph.
 
 
-