Class TownyConversation

java.lang.Object
com.palmergames.bukkit.towny.conversation.TownyConversation
All Implemented Interfaces:
EventListener, org.bukkit.conversations.ConversationAbandonedListener, org.bukkit.conversations.ConversationPrefix
Direct Known Subclasses:
ResidentConversation, SetupConversation

public class TownyConversation extends Object implements org.bukkit.conversations.ConversationPrefix, org.bukkit.conversations.ConversationAbandonedListener
  • Field Details

  • Constructor Details

    • TownyConversation

      public TownyConversation()
  • Method Details

    • getPrefix

      @NotNull public @NotNull String getPrefix(@NotNull @NotNull org.bukkit.conversations.ConversationContext context)
      Specified by:
      getPrefix in interface org.bukkit.conversations.ConversationPrefix
    • getPlayer

      public org.bukkit.entity.Player getPlayer(@NotNull @NotNull org.bukkit.conversations.ConversationContext context)
    • getSender

      public org.bukkit.command.CommandSender getSender(@NotNull @NotNull org.bukkit.conversations.ConversationContext context)
    • runOnResponse

      public void runOnResponse(Consumer<Object> consumer)
    • conversationAbandoned

      public void conversationAbandoned(@NotNull @NotNull org.bukkit.conversations.ConversationAbandonedEvent event)
      Specified by:
      conversationAbandoned in interface org.bukkit.conversations.ConversationAbandonedListener