The `channels_rights` table
Table Structure
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| name | VARCHAR(128) | SIGNED | PRI | NO | |||
| flags | INT | UNSIGNED | NO | ||||
| speakdelay | INT | UNSIGNED | NO | ||||
| joinmessage | VARCHAR(255) | SIGNED | NO | '' | |||
| delaymessage | VARCHAR(255) | SIGNED | NO | '' | |||
| moderators | TEXT | SIGNED | YES |
Description of the fields
Name of the channel the rights apply to.
| Flag | Name | Description |
|---|---|---|
| 1 | CHANNEL_RIGHT_FORCE_NO_ANNOUNCEMENTS | Join and leave announcements are turned off. |
| 2 | CHANNEL_RIGHT_FORCE_ANNOUNCEMENTS | Join and leave announcements are turned on. |
| 4 | CHANNEL_RIGHT_NO_OWNERSHIP | The channel has no owner. |
| 8 | CHANNEL_RIGHT_CANT_SPEAK | Only moderators can speak. |
| 16 | CHANNEL_RIGHT_CANT_BAN | Nobody can be banned from the channel. |
| 32 | CHANNEL_RIGHT_CANT_KICK | Nobody can be kicked from the channel. |
| 64 | CHANNEL_RIGHT_CANT_MUTE | Nobody can be muted in the channel. |
| 128 | CHANNEL_RIGHT_CANT_CHANGE_PASSWORD | The password can not be changed. |
| 256 | CHANNEL_RIGHT_DONT_PRESERVE | The channel is not saved to the database. |
Loaded by the core, but not used.
Message sent to a player when they join the channel.
Loaded by the core, but not used.
Account IDs, separated by spaces, that are always moderators of the channel.