inventory_close — Events

on inventory_closeorg.bukkit.event.inventory.InventoryCloseEvent
Inventory1.0.0

Description

Fires when a player closes an inventory.

Variables

player
Player
org.bukkit.entity.Player
NullableYes

The player who closed the inventory, or null if the viewer is not a player (unlikely)

inventory
Inventory
org.bukkit.inventory.Inventory
NullableNo

The top inventory that was closed

name
String
java.lang.String
NullableYes

The Lumen inventory name, or null if not a Lumen inventory

title
String
java.lang.String
NullableNo

The display title of the inventory

Examples

on inventory_close:

Related (Inventory)