summaryrefslogtreecommitdiff
path: root/docs/account_muted.md
blob: 0d0cae04f8958e5e383b6e76911582d25789d4d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# account\_muted

**The \`account\_muted\` table**


This table contains account IDs whose characters are assigned a ban chat (mute).


GM-Command: **.mute [$playerName] $timeInMinutes [$reason]**.

Disable chat messaging for any character from account of character $playerName (or currently selected) at $timeInMinutes minutes. Player can be offline.

**Structure**

| Field                       | Type         |  Key | Null | Default | Extra | Comment |
|-----------------------------|--------------|------|------|---------|-------|---------|
| [guid](#guid)               | int(10)      |  PRI | NO   | 0       |       |Global Unique Identifier|
| [mutedate](#mutedate)       | int(10)      |  PRI | NO   | 0       |       |         |
| [mutetime](#mutetime)       | int(10)      |      | NO   | 0       |       |         |
| [mutedby](#mutedby)         | varchar(50)  |      | NO   | 0       |       |         |
| [mutereason](#mutereason)   | varchar(255) |      | NO   | 0       |       |         |

### Description of the fields

### guid

ID of muted account, taken from muted character. All characters on this account will be muted for [mutetime](#mutetime).

### mutedate

The date then mute started. Used UNIX timestamp.

### mutetime

Mute duration in minutes.

### mutedby

Nickname of GM/moderator who issued the mute.

#### mutereason

Text field with description of mute's reason.