Package | Description |
---|---|
org.bukkit.conversations |
Classes dedicated to facilitate direct player-to-plugin communication.
|
Modifier and Type | Field | Description |
---|---|---|
protected Conversation |
InactivityConversationCanceller.conversation |
Modifier and Type | Method | Description |
---|---|---|
@NotNull Conversation |
ConversationFactory.buildConversation(@NotNull Conversable forWhom) |
Constructs a
Conversation in accordance with the defaults set
for this factory. |
Modifier and Type | Method | Description |
---|---|---|
void |
Conversable.abandonConversation(@NotNull Conversation conversation) |
Abandons an active conversation.
|
void |
Conversable.abandonConversation(@NotNull Conversation conversation,
@NotNull ConversationAbandonedEvent details) |
Abandons an active conversation.
|
boolean |
Conversable.beginConversation(@NotNull Conversation conversation) |
Enters into a dialog with a Conversation object.
|
protected void |
InactivityConversationCanceller.cancelling(@NotNull Conversation conversation) |
Subclasses of InactivityConversationCanceller can override this method
to take additional actions when the inactivity timer abandons the
conversation.
|
void |
ConversationCanceller.setConversation(@NotNull Conversation conversation) |
Sets the conversation this ConversationCanceller can optionally cancel.
|
void |
ExactMatchConversationCanceller.setConversation(@NotNull Conversation conversation) |
|
void |
InactivityConversationCanceller.setConversation(@NotNull Conversation conversation) |
|
void |
ManuallyAbandonedConversationCanceller.setConversation(@NotNull Conversation conversation) |
Constructor | Description |
---|---|
ConversationAbandonedEvent(@NotNull Conversation conversation) |
|
ConversationAbandonedEvent(@NotNull Conversation conversation,
@Nullable ConversationCanceller canceller) |
Copyright © 2020. All rights reserved.