Package org.bukkit.conversations
Class MessagePrompt
java.lang.Object
org.bukkit.conversations.MessagePrompt
public abstract class MessagePrompt extends Object implements Prompt
MessagePrompt is the base class for any prompt that only displays a message
 to the user and requires no input.
- 
Field Summary
- 
Constructor SummaryConstructors Constructor Description MessagePrompt()
- 
Method SummaryModifier and Type Method Description PromptacceptInput(ConversationContext context, String input)Accepts and ignores any user input, returning the next prompt in the prompt graph instead.booleanblocksForInput(ConversationContext context)Message prompts never wait for user input before continuing.protected abstract PromptgetNextPrompt(ConversationContext context)Override this method to return the next prompt in the prompt graph.
- 
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.
 
- 
acceptInputAccepts 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.
 
- 
getNextPromptOverride 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.
 
 
-