Skip to main content

index/interfaces/UserBannedEvent.md

WebSocket event USER_BANNED

Sent to the banned user's sockets and, with userAddress added, to the overseer room. The backend omits reason and expiresAt when there are none (it does not send null).

Since​

5.5.0

Properties​

PropertyTypeDescription
expiresAt?stringExpiration timestamp (ISO 8601); absent for a permanent ban
isGlobalbooleanWhether this is a global ban
isPermanentbooleanWhether this is a permanent ban
reason?stringBan reason
tokenNamestring | nullToken name (null for global ban)
userAddress?stringBanned user's address: present on the overseer room's copy only