BanRecord
An address ban, from bans.list.
Definition
Section titled “Definition”type BanRecord = Readonly<{ id: string; address: string; reason: string; createdAtUnixSeconds: number; expiresAtUnixSeconds: number | null;}>;Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
id |
string |
The ban’s ID, for bans.remove. |
address |
string |
The banned network address. |
reason |
string |
What the player was told. |
createdAtUnixSeconds |
number |
When it was made. |
expiresAtUnixSeconds |
number or null |
When it ends; null never. |
Related
Section titled “Related”players.banAddress: ban a player’s address