Class: ServerBan

ServerBan

new ServerBan()

ServerBan is defining the structure of informations returned when looking for server bans.

Properties:
Name Type Description
server Server

Server of the ban.

user User

Banned user.

username string

Nickname used by the user when he was banned.

requestorUser User

Ban requestor user.

requestorUsername string

Nickname used by the ban requestor when the banned occured.

statusTimestamp number

Timestamp of the ban.

reason string

Reason of the ban, set by the requestor.

isIpBan boolean

True if this is an ip ban.

maskedIPAddress string

Partially hidden IP Address of the banned user if it's an IP Ban.

Source: