| Package | Description | 
|---|---|
| org.bukkit.conversations | Classes dedicated to facilitate direct player-to-plugin communication. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BooleanPromptBooleanPrompt is the base class for any prompt that requires a boolean
 response from the user. | 
| class  | FixedSetPromptFixedSetPrompt is the base class for any prompt that requires a fixed set
 response from the user. | 
| class  | MessagePromptMessagePrompt is the base class for any prompt that only displays a message
 to the user and requires no input. | 
| class  | NumericPromptNumericPrompt is the base class for any prompt that requires a  Numberresponse from the user. | 
| class  | PlayerNamePromptPlayerNamePrompt is the base class for any prompt that requires the player
 to enter another player's name. | 
| class  | RegexPromptRegexPrompt is the base class for any prompt that requires an input
 validated by a regular expression. | 
| class  | StringPromptStringPrompt is the base class for any prompt that accepts an arbitrary
 string from the user. | 
| class  | ValidatingPromptValidatingPrompt is the base class for any prompt that requires validation. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Prompt | Conversation. currentPrompt | 
| static Prompt | Prompt. END_OF_CONVERSATIONA convenience constant for indicating the end of a conversation. | 
| protected Prompt | ConversationFactory. firstPrompt | 
| Modifier and Type | Method and Description | 
|---|---|
| Prompt | MessagePrompt. acceptInput(ConversationContext context,
           String input)Accepts and ignores any user input, returning the next prompt in the
 prompt graph instead. | 
| Prompt | Prompt. acceptInput(ConversationContext context,
           String input)Accepts and processes input from the user. | 
| Prompt | ValidatingPrompt. acceptInput(ConversationContext context,
           String input)Accepts and processes input from the user and validates it. | 
| protected abstract Prompt | BooleanPrompt. acceptValidatedInput(ConversationContext context,
                    boolean input)Override this method to perform some action with the user's boolean
 response. | 
| protected abstract Prompt | NumericPrompt. acceptValidatedInput(ConversationContext context,
                    Number input)Override this method to perform some action with the user's integer
 response. | 
| protected abstract Prompt | PlayerNamePrompt. acceptValidatedInput(ConversationContext context,
                    Player input)Override this method to perform some action with the user's player name
 response. | 
| protected Prompt | BooleanPrompt. acceptValidatedInput(ConversationContext context,
                    String input) | 
| protected Prompt | NumericPrompt. acceptValidatedInput(ConversationContext context,
                    String input) | 
| protected Prompt | PlayerNamePrompt. acceptValidatedInput(ConversationContext context,
                    String input) | 
| protected abstract Prompt | ValidatingPrompt. acceptValidatedInput(ConversationContext context,
                    String input)Override this method to accept and processes the validated input from
 the user. | 
| protected abstract Prompt | MessagePrompt. getNextPrompt(ConversationContext context)Override this method to return the next prompt in the prompt graph. | 
| Modifier and Type | Method and Description | 
|---|---|
| ConversationFactory | ConversationFactory. withFirstPrompt(Prompt firstPrompt)Sets the first prompt to use in all generated conversations. | 
| Constructor and Description | 
|---|
| Conversation(Plugin plugin,
            Conversable forWhom,
            Prompt firstPrompt)Initializes a new Conversation. | 
| Conversation(Plugin plugin,
            Conversable forWhom,
            Prompt firstPrompt,
            Map<Object,Object> initialSessionData)Initializes a new Conversation. | 
Copyright © 2015. All rights reserved.