RCON (Remote Console) is a network protocol that allows you to control game servers remotely. It provides access to the server console without needing to interact directly with the server environment. This way, you can execute administrative commands, adjust configuration parameters, or retrieve server status information.
In Half-Life 2, RCON is used to run server-side commands such as managing players, changing gameplay settings, or fetching diagnostic outputs. The connection is password-protected and operates through a designated port accessible via compatible RCON clients.
A major advantage of RCON is that you manage the server without needing to be connected as a player in the game. Server admins can conveniently monitor and control Half-Life 2 via external tools, command lines, or web dashboards—perfect for flexible remote management.
Once connected via RCON, you can execute various administrative and diagnostic commands on the Half-Life 2 game server. Available commands depend on the game engine but typically include player management, status queries, and server control.
| Command | Description |
|---|---|
rcon_password <password> | Authenticates for RCON access |
status | Displays server and player information |
changelevel <mapname> | Switches to the specified map |
mp_timelimit <min> | Sets the time limit per map |
mp_roundtime <min> | Sets the round time |
sv_cheats 0/1 | Enables/disables cheat commands (admin only) |
kick <playername> | Kicks a player from the server |
banid <duration> <SteamID> | Bans a player for a specified time |
exec <file.cfg> | Executes a configuration file |
say <message> | Sends a message to all players |
