Console commands can be executed either using an RCon tool, directly from the server console GUI, a server configuration file, or (if a resource is allowed by ACE) the ExecuteCommand function.
Adding a custom RCon command can be done using the RegisterCommand function on the
server, or the (legacy)
Starts the resource specified in the argument, if it was stopped.
Stops the resource specified in the argument, if it was started.
Restarts the resource specified in the argument, if it was started. If it wasn't, starts the resource specified in the argument.
Restarts the resource specified in the argument, if it was started.
Rescans the resources folder and loads all __resource.lua files in them, making new resources available to start using start.
Shows a list of players with their primary identifier, server ID, name, endpoint, and ping.
A console variable that specifies the maximum amount of clients that the server can normally have, as an integer from 1 to 64.
A boolean variable that, if true, hides player IP addresses from public reports output by the server.
A string variable that contains the server host name.
Variance is how likely the user's id will change for a given provider (i.e. ‘steam’, ‘ip’, or ‘ros’).
A console variable as an integer from 1-5 (default 1); from least to most likely to change.
Trust is how unlikely it is for the user's identity to be spoofed by a malicious client.
A console variable as an integer from 1-5 (default 5); from least to most trustworthy (5 being a method such as external three-way authentication).
clientkick [id] [reason]
Kicks the client with the specified server ID (as seen in status) from the server, for the stated reason.
clientkick 43 You're a superstitious idiot!
Sends a message in the chat as console.
say Hi, everybody!
Loads a specfied icon and sets it as the server icon. The icon needs to be a 96x96 PNG file.
add_ace [principal] [object] [allow|deny]
Adds an access control entry to the server's access control list.
add_ace group.admin command.potato allow add_ace identifier.steam:110000112345678 command.apple deny
add_principal [child_principal] [parent_principal]
Sets a principal to inherit from another principal.
# makes identifier.steam:110000112345678 inherit from group.admin add_principal identifier.steam:110000112345678 group.admin
remove_ace [principal] [object] [allow|deny]
Removes a specified ACE from the server's access control list.
remove_ace identifier.steam:110000112345678 command.apple deny
remove_principal [child_principal] [parent_principal]
Removes a specified principal inheritance entry.
remove_principal identifier.steam:110000112345678 group.admin
test_ace [principal] [object]
Tests if a principal is allowed or denied access to a given object.
test_ace group.admin command.adminstuff