diff options
Diffstat (limited to 'docs/command.md')
| -rw-r--r-- | docs/command.md | 90 |
1 files changed, 25 insertions, 65 deletions
diff --git a/docs/command.md b/docs/command.md index fd7adfc..3505a5b 100644 --- a/docs/command.md +++ b/docs/command.md @@ -1,73 +1,33 @@ -[Database Structure](Database-Structure) > [World-Database](World-Database) > [command](command) +# command -<p><strong>The `command` table</strong></p> +[<-Back-to:World](database-world.md) -<p>Holds help and security information for commands. This table does NOT create new commands, it only sets / overrides security and provides help.</p> +**The `command` table** -<p><strong>Structure</strong></p> +Holds help and security information for commands. This table does NOT create new commands, it only sets / overrides security and provides help. -<table> -<colgroup> -<col width="12%" /> -<col width="12%" /> -<col width="12%" /> -<col width="12%" /> -<col width="12%" /> -<col width="12%" /> -<col width="12%" /> -<col width="12%" /> -</colgroup> -<tbody> -<tr class="odd"> -<td><p><strong>Field</strong></p></td> -<td><p><strong>Type</strong></p></td> -<td><p><strong>Attributes</strong></p></td> -<td><p><strong>Key</strong></p></td> -<td><p><strong>Null</strong></p></td> -<td><p><strong>Default</strong></p></td> -<td><p><strong>Extra</strong></p></td> -<td><p><strong>Comment</strong></p></td> -</tr> -<tr class="even"> -<td><p>name</p></td> -<td><p>varchar(50)</p></td> -<td><p>signed</p></td> -<td><p>PRI</p></td> -<td><p>NO</p></td> -<td><p>NULL</p></td> -<td><p></p></td> -<td><p></p></td> -</tr> -<tr class="odd"> -<td><p>security</p></td> -<td><p>tinyint(3)</p></td> -<td><p>unsigned</p></td> -<td><p></p></td> -<td><p>NO</p></td> -<td><p>0</p></td> -<td><p></p></td> -<td><p></p></td> -</tr> -<tr class="odd"> -<td><p>help</p></td> -<td><p>longtext</p></td> -<td><p>signed</p></td> -<td><p></p></td> -<td><p>YES</p></td> -<td><p>NULL</p></td> -<td><p></p></td> -<td><p></p></td> -</tr> -</tbody> -</table> +**Structure** -<p><strong>Description of the fields</strong></p> +| Field | Type | Attributes | Key | Null | Default | Extra | Comment | +|---------------|-------------|------------|-----|------|---------|-------|---------| +| [name][1] | varchar(50) | signed | PRI | NO | NULL | | | +| [security][2] | tinyint(3) | unsigned | | NO | 0 | | | +| [help][3] | longtext | signed | | YES | NULL | | | -<h3>name</h3> -<p>The name of the command.</p> +[1]: #name +[2]: #security +[3]: #help -<h3>security</h3> -<p>The security level required to use the command. Corresponds with account_access.gmlevel in the realm database.</p> +**Description of the fields** -<h3>help</h3> -<p>The help text displayed by the .help command.</p> +### 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. |
