Package me.hsgamer.hscore.bukkit.gui
Class BukkitGUIListener
java.lang.Object
me.hsgamer.hscore.bukkit.gui.BukkitGUIListener
- All Implemented Interfaces:
org.bukkit.event.Listener
The Listener for
BukkitGUIHolder and BukkitGUIDisplay.
Need to register this for others to work.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidinit(org.bukkit.plugin.Plugin plugin) Register the listenervoidonInventoryClick(org.bukkit.event.inventory.InventoryClickEvent event) voidonInventoryClose(org.bukkit.event.inventory.InventoryCloseEvent event) voidonInventoryDrag(org.bukkit.event.inventory.InventoryDragEvent event) voidonInventoryOpen(org.bukkit.event.inventory.InventoryOpenEvent event) voidonPluginDisable(org.bukkit.event.server.PluginDisableEvent event)
-
Method Details
-
init
public static void init(org.bukkit.plugin.Plugin plugin) Register the listener- Parameters:
plugin- the plugin
-
onInventoryDrag
public void onInventoryDrag(org.bukkit.event.inventory.InventoryDragEvent event) -
onInventoryClick
public void onInventoryClick(org.bukkit.event.inventory.InventoryClickEvent event) -
onInventoryOpen
public void onInventoryOpen(org.bukkit.event.inventory.InventoryOpenEvent event) -
onInventoryClose
public void onInventoryClose(org.bukkit.event.inventory.InventoryCloseEvent event) -
onPluginDisable
public void onPluginDisable(org.bukkit.event.server.PluginDisableEvent event)
-