RCON (Remote Console) is a network protocol that lets you control game servers remotely. It provides access to the server console without requiring direct interaction with the server environment. This allows you to run administrative commands, adjust configuration parameters, or retrieve server status information.
In Team Fortress 2, RCON is used to run server-side commands, such as managing players, changing gameplay settings, or retrieving diagnostic output. The connection is protected by a password and uses a designated port that can be accessed through compatible RCON clients.
One major advantage of RCON is that you can manage the server without being connected to the game as a player. Server admins can conveniently monitor and control Team Fortress 2 using external tools, command lines, or web dashboards—perfect for flexible and convenient remote administration.
ZapX automatically sets an RCON password for your server. You can find it in the Configuration tab under Startup Parameters, in the RCON Password field. You can also change it there; the change takes effect after you restart your server. Each time your server starts, it writes the password to the tf/cfg/server.cfg file, so do not change it in this file.
If the custom.cfg file in the tf/cfg folder still contains an rcon_password line, remove it so the password set in the panel is used.
To connect to your Team Fortress 2 game server via RCON, use the rcon-cli command-line tool. You can download it from the official GitHub repository. After downloading and installing it on your computer, connect using the server's IP address, the RCON port, and the RCON password.
Use the port from your server address (IP:port), which you can find on the Overview page of your game server. Source servers accept RCON connections over TCP on the same port as the game, so you don't need a separate RCON port. Use the RCON Password from the Configuration tab as the password. Use the following command to connect and run a command right away:
rcon-cli -a <IP>:<PORT> -p <PASSWORT> befehl
Once connected via RCON, you can run various administrative and diagnostic commands on your Team Fortress 2 game server. Available commands depend on the game engine, but typically include actions for managing players, checking status, and controlling the server.
| Command | Description |
|---|---|
rcon_password <passwort> | Authenticates RCON access |
status | Displays server and player information |
changelevel <mapname> | Changes to the specified map |
mp_timelimit <min> | Sets the time limit for each map |
mp_roundtime <min> | Sets the round time |
sv_cheats 0/1 | Enables/disables cheat commands (admins only) |
kick <spielername> | Kicks a player from the server |
banid <dauer> <SteamID> | Bans a player for a specified duration |
exec <datei.cfg> | Runs a configuration file |
say <nachricht> | Sends a message to all players |
RCON is an essential tool for remotely administering Team Fortress 2 game servers. It provides quick, direct access to administrative functions and uses password protection for secure access control. Correct and secure configuration is essential for maintaining server stability and preventing unauthorized access.
If you have any questions or need help, our support team is here for you every day! 🙂
