blob: 8dd6dfabb7fff1b2829d8d734cdf6d249056f659 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# uptime
[<-Back-to:Auth](database-auth.md)
**The \`uptime\` table**
This table holds the server's uptime. The core 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][1] | INT | UNSIGNED | PRI | NO | | | |
| [starttime][2] | INT | UNSIGNED | PRI | NO | 0 | | |
| [uptime][3] | INT | UNSIGNED | | NO | 0 | | |
| [maxplayers][4] | SMALLINT | UNSIGNED | | NO | 0 | | |
| [revision][5] | VARCHAR(255) | SIGNED | | NO | AzerothCore | | |
[1]: #realmid
[2]: #starttime
[3]: #uptime
[4]: #maxplayers
[5]: #revision
**Description of the fields**
### realmid
The ID of the realm. See [realmlist.id](realmlist#id).
### starttime
The time when the server was started, in Unix time.
### uptime
The uptime of the server, in seconds.
### maxplayers
The maximum number of players connected.
### revision
The detailed revision of the worldserver.
|