# Enum.CloseReason

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/CloseReason/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/CloseReason

Specifies the reason for the experience server shutdown.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Unknown` | 0 | The server shut down for an unknown reason. |
| `RobloxMaintenance` | 1 | The server shut down for maintenance. |
| `DeveloperShutdown` | 2 | The experience developer has shut down the server, or functions bound by `BindToClose()` have been called inside Studio. |
| `DeveloperUpdate` | 3 | The experience developer has migrated the server to a new place version. |
| `ServerEmpty` | 4 | The last player has left and the experience is empty. |
| `OutOfMemory` | 5 | The experience has hit the memory limit for the game server. |
| `Moderation` | 6 | The server was shut down because the experience or place was taken down for moderation. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [DataModel](https://rapi.sleaze.dev/classes/DataModel.md): event parameter `ServerRestartScheduled`
