Gui Close Event
class GuiCloseEvent(val player: Player, val gui: GuiBuilder, val event: InventoryCloseEvent) : EventCustom
Represents an event triggered when a GUI is closed by a player.
This event is fired when a player closes the GUI. It contains information about the player who closed the GUI, the GUI itself, and the original InventoryCloseEvent.
Parameters
player
The player who closed the GUI.
gui
The GuiBuilder that represents the GUI being closed.
event
The original InventoryCloseEvent that triggered this event.