Roblox UtilitiesDevlHub Roblox Documentation

Class

BanHistoryPages

NotCreatableNotReplicated
Inherits
Pages › Instance › Object
Memory category
Instances

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 Pages 3
Properties (1)

IsFinished

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed