BanHistoryPages
Returned by Players:GetBanHistoryAsync to view the entire ban and unban history of any UserId.
This class is not replicated. Its interface does not cross the network boundary.
This class is not creatable. Instances of this class cannot be created with Instance.new.
Memory category | Instances |
---|
Member index 0
Description
BanHistoryPages is returned by Players:GetBanHistoryAsync(). This instance allows an experience to view the entire ban and unban history of any player within the experience's universe.
The items within BanHistoryPages are tables with the following fields:
Name | Type | Description |
---|---|---|
DisplayReason | string | The DisplayReason that was shown to the user |
PrivateReason | string | The PrivateReason that was sent with this ban. |
StartTime | string | The time that this ban was applied in ISO 8601 format. |
Duration | number | The length of the ban in seconds. If it is a permanent ban, it will be -1 . |
Ban | boolean | If the action was a ban, it will be true . If the action was an unban, it will be false . |
PlaceId | number | The place in which a ban or unban was explicitly updated. This field is -1 if the action was applied on the universe level. |
History 1
- 625 Add BanHistoryPages