SA-MP and open.mp have no admin system based on player IDs. There is no admin file you add an ID to and no permission system with multiple levels. The only built-in administration feature is RCON – whoever knows the RCON password is an admin.
Set the RCON password
-
Stop the server
Stop your server via the dashboard. -
Connect via SFTP
Connect to your server via SFTP. -
Open the configuration
Open the configuration file in the main directory of your server. On open.mp this isconfig.json, on SA-MP it isserver.cfg. -
Enter the password
open.mp –
config.json:{ "rcon": { "password": "your-secure-password" } }SA-MP –
server.cfg:rcon_password your-secure-password -
Start the server
Save the file and start your server.
Log in as admin in the game
-
Join the server
Connect to your server as usual. See Join Server. -
Open the chat
PressTto open the chat. -
Log in
Log in with your RCON password:/rcon login your-secure-password -
Use commands
After logging in you run RCON commands with a leading/rcon:/rcon players
Useful RCON commands
| Command | Description |
|---|---|
/rcon players |
Lists all connected players with ID, name, IP address and ping |
/rcon say <text> |
Sends a message to all players |
/rcon hostname <name> |
Changes the displayed server name |
/rcon password <password> |
Sets a join password – password 0 removes it again |
/rcon mapname <name> |
Changes the map name shown in the server browser |
/rcon gmx |
Restarts the gamemode and loads the next entry from your gamemode list |
/rcon changemode <gamemode> |
Switches the gamemode |
/rcon weather <id> |
Changes the weather |
/rcon gravity <value> |
Changes the gravity |
/rcon exit |
Shuts the server down |
External remote console
Besides the chat there is the external remote console. It lets you issue RCON commands without being in the game – there the commands are entered without the /rcon prefix.
Whether this external access is active is controlled by two settings:
open.mp – config.json:
{
"rcon": {
"enable": true
}
}
SA-MP – server.cfg:
rcon 1
