Uses of Interface
org.bukkit.conversations.ConversationCanceller
Package
Description
Classes dedicated to facilitate direct player-to-plugin communication.
-
Uses of ConversationCanceller in org.bukkit.conversations
Modifier and TypeClassDescriptionclass
An ExactMatchConversationCanceller cancels a conversation if the user enters an exact input stringclass
An InactivityConversationCanceller will cancel aConversation
after a period of inactivity by the user.class
The ManuallyAbandonedConversationCanceller is only used as part of aConversationAbandonedEvent
to indicate that the conversation was manually abandoned by programmatically calling the abandon() method on it.Modifier and TypeFieldDescriptionprotected List<ConversationCanceller>
Conversation.cancellers
protected List<ConversationCanceller>
ConversationFactory.cancellers
Modifier and TypeMethodDescriptionConversationCanceller.clone()
Allows theConversationFactory
to duplicate this ConversationCanceller when creating a newConversation
.ExactMatchConversationCanceller.clone()
InactivityConversationCanceller.clone()
ManuallyAbandonedConversationCanceller.clone()
ConversationAbandonedEvent.getCanceller()
Gets the object that caused the conversation to be abandoned.Modifier and TypeMethodDescriptionConversation.getCancellers()
Gets the list ofConversationCanceller
sModifier and TypeMethodDescriptionConversationFactory.withConversationCanceller(@NotNull ConversationCanceller canceller)
Adds aConversationCanceller
to constructed conversations.ModifierConstructorDescriptionConversationAbandonedEvent(@NotNull Conversation conversation, @Nullable ConversationCanceller canceller)