RCON (Remote Console) is an interface that lets you control your game server remotely. You can use it to run administrative commands, such as kicking or banning players, without working directly on the server.
If you set up open.mp with the Game Server Installer, RCON is already enabled and protected with a password. This guide explains where to find the password and how to use RCON.
The Game Server Installer enables RCON every time it runs and sets the RCON admin password generated during installation. You can view the password once after installation under Login credentials. After that, you can find it on the server in C:\ZapX-GameServers\openmp\server\config.json, in the rcon section under the password parameter.
If you manually change rcon.password or rcon.enable in config.json, the installer will restore the installation values the next time it runs, for example, when updating.
If you set up open.mp manually, set the enable parameter to true in the rcon section of config.json and choose a secure password for password. Stop the server first, then restart it after making the changes.
The easiest way to use RCON is directly in the game. Log in via chat with this command:
/rcon login [PASSWORD]
Then run commands with the /rcon prefix, for example, /rcon players.
You can also connect using an RCON program, such as the open-source tool RCON Console. Enter your VPS IP address, the game port (by default, 7777), and the RCON password. Make sure your server is running. The installer opens the port in the Windows firewall and, for installations through the dashboard, in your VPS's network firewall.
For a list of commands you can run via RCON, see open.mp: Server commands.
