Package org.kingdoms.managers.book
Class BookManager
java.lang.Object
org.kingdoms.managers.book.BookManager
- All Implemented Interfaces:
org.bukkit.event.Listener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BookSessiongetSession(org.bukkit.entity.Player player) static voidhandle(org.bukkit.entity.Player player, BookSession session, List<String> pages, String title) voidonBookDrop(org.bukkit.event.player.PlayerDropItemEvent event) voidonBookItemMove(org.bukkit.event.inventory.InventoryClickEvent event) voidonBookSign(org.bukkit.event.player.PlayerEditBookEvent event) voidonDeath(org.bukkit.event.entity.PlayerDeathEvent event) voidonItemSwap(org.bukkit.event.player.PlayerSwapHandItemsEvent event) voidonKingdomLeave(KingdomLeaveEvent event) voidonLeave(org.bukkit.event.player.PlayerQuitEvent event) static voidstatic BookSessionremoveBook(org.bukkit.entity.Player player) static BookSessionremoveSession(org.bukkit.entity.Player player)
-
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
-
removeSession
-
removeAll
public static void removeAll() -
removeBook
-
onBookSign
public void onBookSign(org.bukkit.event.player.PlayerEditBookEvent event) -
onKingdomLeave
-
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)
-