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