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 Link icon

  • Constructor Details Link icon

    • TownyConversation Link icon

      public TownyConversation()
  • Method Details Link icon

    • getPrefix Link icon

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

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

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

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

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