player gui close event spigot code example Example: Spigot API inventory close @EventHandler public void onInventoryClose(InventoryCloseEvent e) { }