Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.conversations.PlayerNamePrompt Class Referenceabstract
Inheritance diagram for org.bukkit.conversations.PlayerNamePrompt:
org.bukkit.conversations.ValidatingPrompt org.bukkit.conversations.Prompt

Public Member Functions

 PlayerNamePrompt (Plugin plugin)
 
- Public Member Functions inherited from org.bukkit.conversations.ValidatingPrompt
Prompt acceptInput (ConversationContext context, String input)
 
boolean blocksForInput (ConversationContext context)
 
- Public Member Functions inherited from org.bukkit.conversations.Prompt
String getPromptText (ConversationContext context)
 

Protected Member Functions

boolean isInputValid (ConversationContext context, String input)
 
Prompt acceptValidatedInput (ConversationContext context, String input)
 
abstract Prompt acceptValidatedInput (ConversationContext context, Player input)
 
- Protected Member Functions inherited from org.bukkit.conversations.ValidatingPrompt
abstract boolean isInputValid (ConversationContext context, String input)
 
abstract Prompt acceptValidatedInput (ConversationContext context, String input)
 
String getFailedValidationText (ConversationContext context, String invalidInput)
 

Additional Inherited Members

- Static Public Attributes inherited from org.bukkit.conversations.Prompt
static final Prompt END_OF_CONVERSATION = null
 

Detailed Description

PlayerNamePrompt is the base class for any prompt that requires the player to enter another player's name.

Definition at line 10 of file PlayerNamePrompt.java.

Member Function Documentation

abstract Prompt org.bukkit.conversations.PlayerNamePrompt.acceptValidatedInput ( ConversationContext  context,
Player  input 
)
abstractprotected

Override this method to perform some action with the user's player name response.

Parameters
contextContext information about the conversation.
inputThe user's player name response.
Returns
The next Prompt in the prompt graph.

The documentation for this class was generated from the following file: