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
Conversation after
a period of inactivity by the user. |
class |
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. |
Modifier and Type | Field | Description |
---|---|---|
protected java.util.List<ConversationCanceller> |
Conversation.cancellers |
|
protected java.util.List<ConversationCanceller> |
ConversationFactory.cancellers |
Modifier and Type | Method | Description |
---|---|---|
ConversationCanceller |
ConversationCanceller.clone() |
Allows the
ConversationFactory to duplicate this
ConversationCanceller when creating a new Conversation . |
ConversationCanceller |
ExactMatchConversationCanceller.clone() |
|
ConversationCanceller |
InactivityConversationCanceller.clone() |
|
ConversationCanceller |
ManuallyAbandonedConversationCanceller.clone() |
|
ConversationCanceller |
ConversationAbandonedEvent.getCanceller() |
Gets the object that caused the conversation to be abandoned.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.List<ConversationCanceller> |
Conversation.getCancellers() |
Gets the list of
ConversationCanceller s |
Modifier and Type | Method | Description |
---|---|---|
ConversationFactory |
ConversationFactory.withConversationCanceller(ConversationCanceller canceller) |
Adds a
ConversationCanceller to constructed conversations. |
Constructor | Description |
---|---|
ConversationAbandonedEvent(Conversation conversation,
ConversationCanceller canceller) |
Copyright © 2018. All rights reserved.