Class ExactMatchConversationCanceller

java.lang.Object
org.bukkit.conversations.ExactMatchConversationCanceller
All Implemented Interfaces:
Cloneable, ConversationCanceller

@Deprecated(forRemoval=true) public class ExactMatchConversationCanceller extends Object implements ConversationCanceller
Deprecated, for removal: This API element is subject to removal in a future version.
The conversation API has been deprecated for removal. This system does not support component based messages and has been slowly losing functionality over the years as Minecraft has changed that this API can not adapt to. It is recommended you instead manually listen to the AsyncChatEvent or alternatively using Dialog to get user input.
An ExactMatchConversationCanceller cancels a conversation if the user enters an exact input string
  • Constructor Details

    • ExactMatchConversationCanceller

      public ExactMatchConversationCanceller(@NotNull @NotNull String escapeSequence)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Builds an ExactMatchConversationCanceller.
      Parameters:
      escapeSequence - The string that, if entered by the user, will cancel the conversation.
  • Method Details