Skip to content

BanRecord

An address ban, from bans.list.

type BanRecord = Readonly<{
id: string; address: string; reason: string; createdAtUnixSeconds: number; expiresAtUnixSeconds: number | null;
}>;
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.