Skip to main content

Server Commands

Server commands are typed in the server's console window. Use them to manage resources and players while the server is running. Command names are not case-sensitive.

Scripts can't add or call console commands. To start and stop resources from a script, see Resources (server).

Available Commands​

Server Control​

CommandAliasesDescription
stopx, exitShuts the server down (stop with no resource name)
helph, ?Shows the list of commands

Resource Management​

CommandAliasesParametersDescriptionExample
startload<resource_name>Starts a resourcestart my_script
stopunload<resource_name>Stops only that resourcestop my_script
restartreload<resource_name>Stops and starts a resource again, picking up changed files. Players download the changes and restart it toorestart my_script
listlsLists every resource and its status (running, stopped, starting)list

Starting a resource rescans the resources folder, so new resources and changed files are picked up without restarting the server.

Player Management​

CommandParametersDescriptionExample
kick<steam_id> [reason]Kicks the player with that Steam ID. The reason is the rest of the linekick 76561198000000000 Spamming
ban<steam_id>Adds the Steam ID to the ban list and kicks the player if they're connectedban 76561198000000000
unban<steam_id>Removes the Steam ID from the ban listunban 76561198000000000