channels
Information and settings for ingame, player-based chat channels (not affecting the default system channels)
Structure
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| name | varchar(128) | PRI | NO | ||||
| team | int | unsigned | PRI | NO | |||
| announce | tinyint | unsigned | NO | 1 | |||
| ownership | tinyint | unsigned | NO | 1 | |||
| password | varchar(32) | YES | NULL | ||||
| bannedList | text | YES | NULL | ||||
| lastUsed | int | unsigned | NO | ||||
Description of fields
name
Name of the channel.
team
Allow access to channel from specified player faction. Faction ID, but only the two are in use:
- 67: Horde
- 469: Alliance
If config setting AllowTwoSide.Interaction.Channel is enabled, the Alliance channel is used for both and team is ignored.
announce
Toggle if join/leave actions are announced to the channel.
- 0: do not announce
- 1: send announce
ownership
Toggle if the channel can be owned.
- 0: can not be owned.
- 1: owned by the first player to join.
password
Channel password
Empty, or a standard string-based password (no spaces allowed)
bannedList
Channel banlist
List of banned player names, separated by spaces
lastUsed
Used for automated cleaning of unused channels from database. Time is in unixtime.
