sockchat:s2c:channel-user-add
Table of Contents
S2C Packet 5.0: Channel User Add
Informs the client that a user has joined the channel.
Please note that this only occurs if the user uses /join to move to the current channel. If they joined by connecting, S2C Packet 1.#: User Add will be issued instead.
Format
Index | Type | Description |
---|---|---|
0 | 5 | Channel User Event packet ID |
1 | 0 | Channel User Add packet ID |
2 | string | ID of the user that joined the channel |
3 | user name | Name of the user that joined the channel |
4 | colour | Display colour of the user that joined the channel |
5 | user perms | Permissions for the user that joined the channel |
6 | string | Message ID associated with this event |
Examples
User with ID 32 has joined the current channel:
5\t0\t32\tszy\t#7353c4\t7\f1\f0\f1\f2\t39989747251190
See Also
- S2C Packet 5.1: Channel User Remove - User has left the channel.
- S2C Packet 5.2: Channel User Switch - Client is being switched.
- /join - Joins a channel.
sockchat/s2c/channel-user-add.txt · Last modified: 2025/04/20 01:40 by flash