Get the server metrics.
GET/metrics
To get the server metrics.
Request
Responses
- 200
- 400
- 401
The server metrics.
- application/json
- Schema
- Example (from schema)
Schema
serverfps integer
The server FPS.
currentplayernum integer
The number of current players.
serverframetime number
Server frame time (ms)
maxplayernum integer
The maximum number of players.
uptime integer
The server uptime of seconds.
{
"serverfps": 57,
"currentplayernum": 10,
"serverframetime": 16.7671,
"maxplayernum": 32,
"uptime": 3600
}
Request error.
Unauthorized.
Loading...