DB:Auth:uptime
From TrinityCore Wiki
|
Back to auth database list of tables.
The `uptime` table
This table holds the server's uptime. Trinity will automatically update the latest entry's value until it crashes and a new record is added.
Structure
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
| realmid | int(11) | unsigned | PRI | NO | |||
| starttime | bigint(20) | unsigned | PRI | NO | 0 | ||
| startstring | varchar(64) | signed | NO | ||||
| uptime | bigint(20) | unsigned | NO | 0 | |||
| maxplayers | smallint(5) | unsigned | NO | 0 | |||
| revision | varchar(255) | signed | NO | TrinityCore |
Description of the fields
realmid
The ID of the realm. See realmlist.id
starttime
The time when the server was started, in Unix time.
startstring
The time when the server started, formated as a readable string.
uptime
The uptime of the server, in seconds.
maxplayers
The maximum number of players connected.
revision
The detailed revision of the worldserver