Difference between revisions of "Command SF"

From Project Skyfire
Jump to navigation Jump to search
m (Fixed.)
Line 15: Line 15:
 
|'''Type'''
 
|'''Type'''
 
|'''Attribute'''
 
|'''Attribute'''
 +
|'''Key'''
 +
|'''Null'''
 
|'''Default'''
 
|'''Default'''
 
|'''Comment'''
 
|'''Comment'''
Line 21: Line 23:
 
|varchar(50)
 
|varchar(50)
 
|signed
 
|signed
 +
|PRI
 +
|NO
 +
|
 
|
 
|
|Name of the command.
 
 
|-
 
|-
 
|[[#security|security]]
 
|[[#security|security]]
Line 28: Line 32:
 
|unsigned
 
|unsigned
 
|
 
|
|The minimum security level required to use the command.
+
|NO
 +
|0
 +
|
 
|-
 
|-
 
|[[#help|help]]
 
|[[#help|help]]
Line 34: Line 40:
 
|signed
 
|signed
 
|
 
|
|The in-game syntax for proper use of the command.
+
|
 +
|
 +
|
 
|}
 
|}
 +
 +
<br> <big>'''Description of the fields'''</big>
 +
 +
===name===
 +
 +
Name of the command.
 +
 +
===security===
 +
 +
The minimum security level required to use the command (1-4 (Player-GM)).
 +
 +
===help===
 +
 +
The in-game syntax for proper use of the command.

Revision as of 00:21, 18 September 2011

Back to world database list of tables.

The `command` table

This table holds the security levels for the various commands.


Structure

Field Type Attribute Key Null Default Comment
name varchar(50) signed PRI NO
security tinyint(3) unsigned NO 0
help longtext signed


Description of the fields

name

Name of the command.

security

The minimum security level required to use the command (1-4 (Player-GM)).

help

The in-game syntax for proper use of the command.