From 54752e468846cd7861b52bc7738e4a732ebfb561 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Sun, 9 Jun 2019 19:19:50 +0200 Subject: Fix command page and add GM command page (#58) --- docs/command.md | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 71 insertions(+), 5 deletions(-) (limited to 'docs/command.md') diff --git a/docs/command.md b/docs/command.md index b0f3b36..f3bdf7e 100644 --- a/docs/command.md +++ b/docs/command.md @@ -1,7 +1,73 @@ [Database Structure](Database-Structure) > [World-Database](World-Database) > [command](command) -Column | Type | Description ---- | --- | --- -Name | varchar(50) | -Security | tinyint(3) unsigned | -Help | longtext | +
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 |
+varchar(50) |
+signed |
+PRI |
+NO |
+NULL |
++ | + |
security |
+tinyint(3) |
+unsigned |
++ | NO |
+0 |
++ | + |
help |
+longtext |
+signed |
++ | YES |
+NULL |
++ | + |
Description of the fields
+ +The name of the command.
+ +The security level required to use the command. Corresponds with account_access.gmlevel in the realm database.
+ +The help text displayed by the .help command.
-- cgit