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 BukkitGUIListener
init
(org.bukkit.plugin.Plugin plugin) Register the listenerstatic BukkitGUIListener
init
(org.bukkit.plugin.Plugin plugin, org.bukkit.event.EventPriority clickPriority, org.bukkit.event.EventPriority dragPriority, org.bukkit.event.EventPriority openPriority, org.bukkit.event.EventPriority closePriority) Register the listener
-
Method Details
-
init
public static BukkitGUIListener init(org.bukkit.plugin.Plugin plugin, org.bukkit.event.EventPriority clickPriority, org.bukkit.event.EventPriority dragPriority, org.bukkit.event.EventPriority openPriority, org.bukkit.event.EventPriority closePriority) Register the listener- Parameters:
plugin
- the pluginclickPriority
- the priority of the click eventdragPriority
- the priority of the drag eventopenPriority
- the priority of the open eventclosePriority
- the priority of the close event
-
init
Register the listener- Parameters:
plugin
- the plugin
-