Command SF: Difference between revisions

From Project Skyfire
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
|}
|}
{{Back-to:World}}
{{Back-to:World}}
[[Category: SkyFire World database tables]]


<big>'''The `command` table'''</big>
<big>'''The `command` table'''</big>
Line 15: Line 14:
|'''Type'''
|'''Type'''
|'''Attribute'''
|'''Attribute'''
|'''Key'''
|'''Null'''
|'''Default'''
|'''Default'''
|'''Comment'''
|'''Comment'''
Line 21: Line 22:
|varchar(50)
|varchar(50)
|signed
|signed
|PRI
|NO
|
|
|
|Name of the command.
|-
|-
|[[#security|security]]
|[[#security|security]]
Line 28: Line 31:
|unsigned
|unsigned
|
|
|The minimum security level required to use the command.
|NO
|0
|
|-
|-
|[[#help|help]]
|[[#help|help]]
Line 34: Line 39:
|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.
[[DB:World|Return to world database structure]]

Latest revision as of 01:16, 9 January 2013

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.

Return to world database structure