Class BookManager

java.lang.Object
org.kingdoms.managers.book.BookManager
All Implemented Interfaces:
org.bukkit.event.Listener

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

    • BookManager

      public BookManager()
  • Method Details

    • handle

      public static void handle(org.bukkit.entity.Player player, BookSession session, List<String> pages, String title)
    • getSession

      public static BookSession getSession(org.bukkit.entity.Player player)
    • removeSession

      public static BookSession removeSession(org.bukkit.entity.Player player)
    • removeAll

      public static void removeAll()
    • removeBook

      public static BookSession removeBook(org.bukkit.entity.Player player)
    • onBookSign

      public void onBookSign(org.bukkit.event.player.PlayerEditBookEvent event)
    • onKingdomLeave

      public void onKingdomLeave(KingdomLeaveEvent event)
    • onItemSwap

      public void onItemSwap(org.bukkit.event.player.PlayerSwapHandItemsEvent event)
    • onBookDrop

      public void onBookDrop(org.bukkit.event.player.PlayerDropItemEvent event)
    • onLeave

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

      public void onDeath(org.bukkit.event.entity.PlayerDeathEvent event)
    • onBookItemMove

      public void onBookItemMove(org.bukkit.event.inventory.InventoryClickEvent event)