Class ExactMatchConversationCanceller

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

public class ExactMatchConversationCanceller extends Object implements ConversationCanceller
An ExactMatchConversationCanceller cancels a conversation if the user enters an exact input string
  • Constructor Details

    • ExactMatchConversationCanceller

      public ExactMatchConversationCanceller(@NotNull String escapeSequence)
      Builds an ExactMatchConversationCanceller.
      Parameters:
      escapeSequence - The string that, if entered by the user, will cancel the conversation.
  • Method Details