Skip to content

CloseReason

Not yet Enum

Specifies the reason for the experience server shutdown.

Not implemented in Nova

This enum is missing from Nova. Scripts that reference it will fail.

Description

Specifies the reason for the experience server shutdown. This enum value is the first parameter passed to functions bound by BindToClose().

The DeveloperShutdown value must always be passed to functions bound by BindToClose() when they're called in Studio.

Items

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

Roblox reference: CloseReason