New

EmeraldHost 2.0 is here: faster, more intuitive, and made for everyone - the new panel!

Learn more
Guides
How to Add an Admin to Your GTA San Andreas Server

How to Add an Admin to Your GTA San Andreas Server

Add an admin to a GTA San Andreas server

3 min read
Jul 30, 2026

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

  1. Stop the server
    Stop your server via the dashboard.

  2. Connect via SFTP
    Connect to your server via SFTP.

  3. Open the configuration
    Open the configuration file in the main directory of your server. On open.mp this is config.json, on SA-MP it is server.cfg.

  4. Enter the password

    open.mp – config.json:

    {
        "rcon": {
            "password": "your-secure-password"
        }
    }
    

    SA-MP – server.cfg:

    rcon_password your-secure-password
    
  5. Start the server
    Save the file and start your server.

Log in as admin in the game

  1. Join the server
    Connect to your server as usual. See Join Server.

  2. Open the chat
    Press T to open the chat.

  3. Log in
    Log in with your RCON password:

    /rcon login your-secure-password
    
  4. 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
Written byEmeraldHost Team
Last updated on Aug 29, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord
GTA San Andreas

Ready to get started?

Rent your GTA San Andreas Server now

Join our Discord community 1257 members online right now