RCON (Remote Console) is a network protocol that lets you control game servers remotely. It provides access to the server console without having to interact directly with the server environment. This allows you to run administrative commands, adjust configuration parameters, or retrieve server status information.
Project Zomboid uses RCON 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 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 Project Zomboid using external tools, command lines, 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 Start parameters using Enable RCON.
Your server generates a random RCON password on its first startup and saves it in the generated-secrets/rcon_password file, which you can find in the Files tab. If you want to set your own password, stop the server, replace the contents of this file, and then restart the server. Do not manually add RCONPort or RCONPassword to servertest.ini: each time the server starts, it writes the assigned port and the password from this file into the configuration.
You can find the assigned RCON port on your game server's Overview, in the Location cell, where it is labeled RCON.
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, in the Location cell under RCON. The password is the contents of the generated-secrets/rcon_password file. Use the following command to connect and run a command immediately:
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 do in your server's Console in ZapX. Add / only when entering a command in the in-game chat. If a player's name contains spaces, enclose 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> | Toggles god mode for the specified user |
teleport <Name1> <Name2> | Teleports Name1 to Name2 |
chopper | Simulates a helicopter flyover |
RCON is an essential tool for remote administration of Project Zomboid game servers. It provides fast, direct access to administrative features, and password protection helps ensure secure access control. Proper and secure configuration is essential for maintaining server stability and preventing unauthorized access.
If you have questions or need help, our support team is here for you every day! 🙂
