rojo/.cursor/rules/roblox/reference/engine/enums/PlayerExitReason.yaml
2026-02-02 12:08:47 -06:00

34 lines
967 B
YAML

# This file is automatically generated. Please don't edit it manually.
# To submit a bug report on the content, see
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
name: PlayerExitReason
type: enum
summary: |
An enum that specifies the reason for **Players.PlayerRemoving** signal.
description: |
Second argument in `Class.Players.PlayerRemoving`. Helps identify whether a
kick was caused by the Roblox platform or the Creator.
code_samples: []
tags: []
deprecation_message: ''
items:
- name: Unknown
summary: |
Catch-all for all other disconnect reasons.
value: 0
tags: []
deprecation_message: ''
- name: PlatformKick
summary: |
User was kicked by Roblox systems, such as being blocked while in a
Private Server.
value: 1
tags: []
deprecation_message: ''
- name: CreatorKick
summary: |
Creator called **Player:Kick()**
value: 2
tags: []
deprecation_message: ''