Close GUI
Forcibly closes any open GUI for a player.
This action closes whatever GUI the player currently has open, returning them to their normal gameplay view.
Configuration
- Target: The
Playerwhose GUI will be closed.
Use Cases
- Automatically closing a shop menu after a purchase is made.
- Forcing a class selection screen to close when a round timer starts.
- A security measure to close inventories if a player enters a restricted area.