Skip to content
/SLASHPLAY

How to set up RCON on a GMod server

Type rcon_password "a-long-random-string" in the server console or server.cfg. Anyone with it can run any server command remotely.

rcon_password

Sets the password for remote console (RCON) access to the server.

rcon_password <password>

Examples

rcon_password "a-long-random-string"

Enable RCON with a strong password.

Arguments

passwordRequired
RCON password.

On SLASHPLAY

The Console tab refuses it, because the dashboard uses it. Change the RCON password with Edit or Generate next to the RCON password on the General tab.

What it does

Anyone with this password can run any server command remotely, so use a long unique value. Leaving it empty disables RCON. Repeated wrong attempts get the address banned, see sv_rcon_maxfailures.

The game's own description: remote console password.

Good to know

  • Keep it in server.cfg, not on the public launch command line.

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to garrysmod/cfg/server.cfg. New to this? Start a GMod server first.

Your own
GMod server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.