# 程序包 org.bukkit.conversations

package org.bukkit.conversations
致力于简化玩家与插件的直接通信的类(玩家与插件的对话，典型的场景比如操作的确认、提供插件所需数据).

- 相关程序包
  程序包
  说明
  org.bukkit
  Bukkit API的顶级程序包, 包含通用的API类和接口.
- 类
  说明
  BooleanPrompt
  BooleanPrompt是那些需要用户判断操作是与否的提示的基类.
  Conversable
  The Conversable interface is used to indicate objects that can have conversations.
  Conversation
  The Conversation class is responsible for tracking the current state of a conversation, displaying prompts to the user, and dispatching the user's response to the appropriate place.
  Conversation.ConversationState
  ConversationAbandonedEvent
  ConversationAbandonedEvent包含一个被终止的会话的细节信息.
  ConversationAbandonedListener
  ConversationCanceller
  ConversationCanceller可以用来终止一个活跃的`Conversation`.
  ConversationContext
  A ConversationContext provides continuity between nodes in the prompt graph by giving the developer access to the subject of the conversation and a generic map for storing values that are shared between all `Prompt` invocations.
  ConversationFactory
  A ConversationFactory is responsible for creating a `Conversation` from a predefined template.
  ConversationPrefix
  A ConversationPrefix implementation prepends all output from the conversation to the player.
  ExactMatchConversationCanceller
  An ExactMatchConversationCanceller cancels a conversation if the user enters an exact input string
  FixedSetPrompt
  FixedSetPrompt is the base class for any prompt that requires a fixed set response from the user.
  InactivityConversationCanceller
  An InactivityConversationCanceller will cancel a `Conversation` after a period of inactivity by the user.
  ManuallyAbandonedConversationCanceller
  The ManuallyAbandonedConversationCanceller is only used as part of a `ConversationAbandonedEvent` to indicate that the conversation was manually abandoned by programmatically calling the abandon() method on it.
  MessagePrompt
  MessagePrompt is the base class for any prompt that only displays a message to the user and requires no input.
  NullConversationPrefix
  NullConversationPrefix is a `ConversationPrefix` implementation that displays nothing in front of conversation output.
  NumericPrompt
  NumericPrompt is the base class for any prompt that requires a `Number` response from the user.
  PlayerNamePrompt
  PlayerNamePrompt is the base class for any prompt that requires the player to enter another player's name.
  PluginNameConversationPrefix
  PluginNameConversationPrefix is a `ConversationPrefix` implementation that displays the plugin name in front of conversation output.
  Prompt
  A Prompt is the main constituent of a `Conversation`.
  RegexPrompt
  RegexPrompt is the base class for any prompt that requires an input validated by a regular expression.
  StringPrompt
  StringPrompt is the base class for any prompt that accepts an arbitrary string from the user.
  ValidatingPrompt
  ValidatingPrompt is the base class for any prompt that requires validation.