RCON (Remote Console) is a network protocol that lets you control game servers remotely. It provides access to the server console without needing to interact directly with the server environment. This lets you run administrative commands, adjust configuration parameters, or retrieve server status information.
In Project Zomboid, RCON is used to run server-side commands, such as managing players, changing gameplay settings, or retrieving diagnostic output. The connection is password-protected and uses a designated port that can be accessed with compatible RCON clients.
One major benefit 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 Project Zomboid using external tools, command-line interfaces, or web dashboards—ideal for flexible and convenient remote management.
RCON is enabled on your server by default. You can turn it on or off in the Configuration tab under Startup Parameters by selecting Enable RCON.
Your server generates a random RCON password the first time it starts and saves it in the file generated-secrets/rcon_password, which you can find in the Files tab. To set your own password, replace the contents of this file while the server is stopped, then restart the server. Do not manually enter RCONPort or RCONPassword in servertest.ini: each time it starts, your server writes the assigned port and the password from this file to the configuration.
You can find the assigned RCON port on your game server's Overview page, in the Server Details section under Additional Ports.
To connect to your Project Zomboid 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, you can connect using the server IP, RCON port, and RCON password.
You can find the assigned port on your game server's Overview page, in the Server Details section under Additional Ports. The password is the contents of the generated-secrets/rcon_password file. Use the following command to connect and run a command right away:
rcon-cli -a <IP>:<PORT> -p <PASSWORD> command
Once connected via RCON, you can run various administrative and diagnostic commands on your Project Zomboid game server. Enter commands via RCON without a slash, just as you would in your server's Console in ZapX. Add / only when entering a command in the in-game chat. If a player name contains spaces, put it in quotation marks, for example, kickuser "Max Mustermann".
| Command | Description |
|---|---|
grantadmin <username> | Grants admin rights to a player |
removeadmin <username> | Revokes a player's admin rights |
save | Manually saves the world |
kickuser <username> | Kicks a player from the server |
banuser <username> | Bans a player |
unbanuser <username> | Unbans a player |
adduser <username> <password> | Creates a new user with a password |
godmod <username> | Turns god mode on or off for the specified user |
teleport <Name1> <Name2> | Teleports Name1 to Name2 |
chopper | Simulates a helicopter flyover |
RCON is an essential tool for remotely administering Project Zomboid game servers. It provides quick, direct access to administrative functions and uses password protection to help keep access secure. 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! 🙂
