Skip to main content

room.ban_user

Generated from spec/protocol.yaml. Do not edit by hand.

Overview

  • ID: 1477
  • Header: ROOM_BAN_GIVE
  • Direction: Client to Server (c2s)
  • Realm: Room
  • Phase: session
  • Since: nitro-1.6.6
  • Summary: Ban a user from the room

Payload fields

FieldTypeRequiredDescription
userIdint32requiredID of the user to ban.
roomIdint32requiredID of the room.
lengthstringrequiredBan duration: RWUAM_BAN_USER_DAY, RWUAM_BAN_USER_HOUR, or RWUAM_BAN_USER_PERM.

Behavior

Sender

Sent when a room rights holder bans a user. The duration determines whether the ban is temporary or permanent.

Receiver

The server removes the user from the room and records the ban. Confirmed in GLADIATOR.

Notes

  • No additional notes