Class ChatInputManager

java.lang.Object
org.kingdoms.managers.chat.ChatInputManager
All Implemented Interfaces:
org.bukkit.event.Listener

public final class ChatInputManager extends Object implements org.bukkit.event.Listener
  • Constructor Details

    • ChatInputManager

      public ChatInputManager()
  • Method Details

    • startConversation

      public static boolean startConversation(org.bukkit.entity.Player player, ChatInputHandler<?> handler)
    • endAllConversations

      public static void endAllConversations()
    • isConversing

      public static boolean isConversing(org.bukkit.entity.Player player)
    • endConversation

      public static boolean endConversation(org.bukkit.entity.Player player)
    • awaitInput

      public static <V> CompletableFuture<V> awaitInput(org.bukkit.entity.Player player, Function<String,V> supplier)
    • onInput

      public void onInput(org.bukkit.event.player.AsyncPlayerChatEvent event)
    • onCancel

      public void onCancel(org.bukkit.event.player.PlayerCommandPreprocessEvent event)
      https://hub.spigotmc.org/jira/browse/SPIGOT-7130
    • createAnvilInputs

      public static org.kingdoms.gui.InteractiveGUI createAnvilInputs(org.bukkit.entity.Player player, Messenger question)
    • onLeave

      public void onLeave(org.bukkit.event.player.PlayerQuitEvent event)
    • onDamage

      public void onDamage(org.bukkit.event.entity.EntityDamageEvent event)
    • onMove

      public void onMove(org.bukkit.event.player.PlayerMoveEvent event)