| Package | Description | 
|---|---|
| org.bukkit.conversations | Classes dedicated to facilitate direct player-to-plugin communication. | 
| Modifier and Type | Class | Description | 
|---|---|---|
| class  | ExactMatchConversationCanceller | An ExactMatchConversationCanceller cancels a conversation if the user
 enters an exact input string | 
| class  | InactivityConversationCanceller | An InactivityConversationCanceller will cancel a  Conversationafter
 a period of inactivity by the user. | 
| class  | ManuallyAbandonedConversationCanceller | The ManuallyAbandonedConversationCanceller is only used as part of a  ConversationAbandonedEventto indicate that the conversation was manually
 abandoned by programmatically calling the abandon() method on it. | 
| Modifier and Type | Field | Description | 
|---|---|---|
| protected List<ConversationCanceller> | Conversation. cancellers | |
| protected List<ConversationCanceller> | ConversationFactory. cancellers | 
| Modifier and Type | Method | Description | 
|---|---|---|
| @NotNull ConversationCanceller | ConversationCanceller. clone() | Allows the  ConversationFactoryto duplicate this
 ConversationCanceller when creating a newConversation. | 
| @NotNull ConversationCanceller | ExactMatchConversationCanceller. clone() | |
| @NotNull ConversationCanceller | InactivityConversationCanceller. clone() | |
| @NotNull ConversationCanceller | ManuallyAbandonedConversationCanceller. clone() | |
| @Nullable ConversationCanceller | ConversationAbandonedEvent. getCanceller() | Gets the object that caused the conversation to be abandoned. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| @NotNull List<ConversationCanceller> | Conversation. getCancellers() | Gets the list of  ConversationCancellers | 
| Modifier and Type | Method | Description | 
|---|---|---|
| @NotNull ConversationFactory | ConversationFactory. withConversationCanceller(@NotNull ConversationCanceller canceller) | Adds a  ConversationCancellerto constructed conversations. | 
| Constructor | Description | 
|---|---|
| ConversationAbandonedEvent(@NotNull Conversation conversation,
                          @Nullable ConversationCanceller canceller) | 
Copyright © 2020. All rights reserved.