Console Commands
Typed into the console window of the running server.
| Command | Syntax | Description |
|---|---|---|
| help | help | Displays a list of commands. Also available as ? and --usage. |
| stop | stop <reason> | Shows all players the specified reason (optional) and shuts down the server. |
| restart | restart | Restart the server and reconnect all players. |
| resstart | resstart <resource> | Start a resource. |
| resstop | resstop <resource> | Stop a resource. |
| resrestart | resrestart <resource> | Restart a resource. |
| kick | kick <playerid> | Disconnect a player with the specified serverID. |
| stats | stats | Print uptime, player count, tick times, network counters and the state of every resource to the console. |
info
The three res* commands take the full resource name including its
category folders, for example
resrestart gamemodes/freeroam.
tip
stats writes the same numbers the stats endpoint serves as JSON. Use the
command for a quick look, the endpoint for monitoring.