open.mp servers come with a range of useful built-in server commands that you can use in-game or through an RCON program. This guide introduces the most important commands and explains what they do.
Server commands run through RCON. If you set up open.mp with the Game Server Installer, RCON is already enabled: You’ll see the RCON admin password once under Login credentials after installation. After that, it’s available in the rcon section of config.json. open.mp: Server Configuration explains where to find the file.
| Parameter name | Example | Description |
|---|---|---|
| rcon.enable | true | Turns the RCON feature on or off |
| rcon.password | – | Password required for RCON access |
In-game, log in with /rcon login [PASSWORD]. For instructions on connecting with an RCON program, see open.mp: Control the server with RCON.
Your server runs in the background on VPS, so there’s no console window where you can enter commands. Use the commands in-game or through an RCON program instead.
The following table lists some important server commands for open.mp. You can find all current commands in the official open.mp guide to controlling the server.
You don’t need the /rcon prefix when using an RCON program. It’s only required when entering commands in-game.
| Command syntax | Accepted values | Description |
|---|---|---|
| /rcon cmdlist | - | Returns a list of all server commands |
| /rcon varlist | - | Returns a list of all current server variables |
| /rcon exit | - | Shuts down the server |
| /rcon echo [text] | String | Sends a message to the server console (it won’t appear in-game) |
| /rcon say [text] | String | Sends a message to all players in-game (it appears as "Admin: [text]") |
| /rcon players | - | Shows information about all connected players |
| /rcon reloadlog | - | Reloads the server log file |
If you stop the server with /rcon exit, the installer usually won’t restart it automatically because it was shut down cleanly. Start it using the open.mp (openmp) - Start shortcut on VPS.
| Command syntax | Accepted values | Description |
|---|---|---|
| /rcon kick [id] | Integer | Kicks the specified player from the server |
| /rcon ban [id] | Integer | Bans the specified player from the server |
| /rcon banip [ip] | String | Bans an IP address from the server |
| /rcon unbanip [ip] | String | Removes the ban on an IP address |
| /rcon reloadbans | - | Reloads the ban list |
