MenuCloseReason
Namespace Mc.Scripting · Kind enum
public enum MenuCloseReason : byteWhy a plugin menu was closed for a player.
Members
Section titled “Members”| Name | Value | Description |
|---|---|---|
Player |
0 | The player closed it (Escape, the inventory key) or the client sent a close. |
Plugin |
1 | A plugin called Menu.Close. |
Unload |
2 | The plugin that owns the menu unloaded or reloaded. |
Quit |
3 | The player left the server. |
Replaced |
4 | Another container was opened for the player. |
Invalid |
5 | The server closed it (death, dimension change, the menu no longer valid). |