Class
BanHistoryPages
NotCreatableNotReplicated
Returned by Players:GetBanHistoryAsync to view the entire ban and
unban history of any UserId.
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. |
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild