Skip to main content

Console Commands

Typed into the console window of the running server.

CommandSyntaxDescription
helphelpDisplays a list of commands. Also available as ? and --usage.
stopstop <reason>Shows all players the specified reason (optional) and shuts down the server.
restartrestartRestart the server and reconnect all players. Settings and addons stay as they were, to change them stop the server and start it again.
resstartresstart <resource>Start a resource.
resstopresstop <resource>Stop a resource.
resrestartresrestart <resource>Restart a resource.
kickkick <playerid>Disconnect a player with the specified serverID.
statsstatsPrint 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.