Uptime

From OregonCore Wiki
Jump to: navigation, search

Back to world 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.

Schema Last Modified: TC1-1828 - Schema Verified: Rev 665


Structure

Field Type Attributes Key Null Default Extra Comment
starttime bigint(20) unsigned PRI NO 0
startstring varchar(64) utf8_general_ci NO NULL
uptime bigint(20) unsigned NO 0
maxplayers smallint(5) unsigned NO 0


Description of the fields

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.