Back-to:Characters
<big>The `channels` table</big>
Information and settings for ingame, player-based chatchannels (not affecting the default system channels)
<big>Structure</big>
Field | Type | Attributes | Key | Null | Default | Extra | Comment |
varchar(128) | signed | PRI | NO |
|
|
| |
int(10) | unsigned | PRI | NO |
|
|
| |
tinyint(3) | unsigned |
| NO | 1 |
|
| |
tinyint(3) | unsigned |
| NO | 1 |
|
| |
varchar(32) | signed |
| YES | NULL |
|
| |
text | signed |
| YES |
|
|
| |
int(10) | unsigned |
| NO |
|
|
|
<big>Description of the fields</big>
m_name
Channel name
Name of the channel
m_team
<team id> Allow access to channel from specified player faction ID
For multirace channels, two (or more) separate entries must exist with the EXACT same settings for all fields apart from this (it needs a different <team id>)
Horde -> 67
Alliance -> 469
m_announce
Channel announce (0/1)
0 = Channel join/part actions will not be sent
1 = Channel join/part actions will be sent
m_ownership
Channel ownership (0/1)
0 = No one will ever be an owner.
1 = Ownership is the first person in the channel.
m_password
- Channel password
*Empty, or a standard string-based password (no spaces allowed)
h3. BannedList
Channel banlist_'
_
List of banned player names, separated by spaces''
last_used
Used for automated cleaning of unused channels from database. Time is in unixtime.