summaryrefslogtreecommitdiff
path: root/docs/command.md
blob: 0958c8095fb2d33e41ee2550d5a47fbdcaa8ac95 (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
# command

[<-Back-to:World](database-world.md)

**The `command` table**

Holds help and security information for commands. This table does NOT create new commands, it only sets / overrides security and provides help.

**Structure**

| Field         | Type        | Attributes | Key | Null | Default | Extra | Comment |
|---------------|-------------|------------|-----|------|---------|-------|---------|
| [name][1]     | VARCHAR(50) | SIGNED     | PRI | NO   | NULL    |       |         |
| [security][2] | TINYINT  | UNSIGNED   |     | NO   | 0       |       |         |
| [help][3]     | longtext    | SIGNED     |     | YES  | NULL    |       |         |

[1]: #name
[2]: #security
[3]: #help

**Description of the fields**

### name

The name of the command.

### security

The security level required to use the command. Corresponds with account_access.gmlevel in the realm database.

### help

The help text displayed by the .help command.