This guide takes you from a freshly ordered open.mp server to the first round of GTA: San Andreas with your friends. You give the server a name and, if you like, a password, set an RCON password so you can manage the server in game, pick the gamemode, and upload your own gamemodes, filterscripts and plugins.
What you need
- An open.mp server in your customer panel. If you don't have one yet: Rent an open.mp server.
- GTA: San Andreas for PC and the open.mp launcher for everyone who wants to play.
- About ten minutes. Most changes need one server restart.
The first start
After you order, the panel installs the latest open.mp version and starts the server. In the Console on the overview page, open.mp first loads its components and then the gamemode. The start is done once a line like Legacy Network started on port 64200 appears.
Out of the box the server runs gungame, an example mode that ships with open.mp. The gamemodes folder also holds derby and simpletdm, and the filterscripts folder holds the example npc_trains.
Your server address with its port is shown at the top of the overview under Server address, and again under Invite friends next to Direct Connection, for example server.example.com:64200. How you and your friends get into the game with it is covered in Join your open.mp server.
The settings in the panel
Open your server and choose Game settings › Server Variables. General server settings has these fields:
| Setting | What it does |
|---|---|
| Server name | What your server is called in the server list and when players join. At most 64 characters, with at least one letter. |
| Join password | Optional. Leave it empty if anyone may join. At most 32 characters, only letters, digits, _ and -, with at least one letter. Show reveals a password that is set. |
| Maximum players | How many players can be online at once, between 1 and 500. |
| RCON Password | The password you use to log in as admin in game. 8 to 32 characters, same character rules as the join password. The field is empty by default. |
| Version | The open.mp version that gets downloaded when the server is installed. The default is latest. |
Save with Save startup variables and restart the server with Restart Server. Before every start, the panel writes the server name, join password, player count, RCON password and the port into the file config.json. If you change these five values directly in the file, the panel overwrites them again on the next start.
A different open.mp version
In the Version field you enter an open.mp release name such as v1.6.7.3218, or latest for the newest release. A restart alone does not swap the version. It is only downloaded when you reinstall the server with Reinstall. The reinstall replaces the server program and the components folder. Your config.json, bans.json and the folders gamemodes, filterscripts and scriptfiles are kept. Still, create a backup under Backups first.
Pick the gamemode
The running gamemode is set in the file config.json under pawn › main_scripts. You edit the file under Files & worlds › Files. By default it says:
"main_scripts": ["gungame 1"]
The name is the file name without .amx from the gamemodes folder. The number after it says how many times the mode is played before the server moves on to the next entry in the list. For another bundled mode you would write "derby 1", for example, and restart the server.
To use your own gamemode, upload the compiled .amx file to the gamemodes folder, either with Upload in the file manager or over SFTP. Then add its name to main_scripts.
Filterscripts and plugins
Filterscripts run alongside the gamemode, for example an admin system. Put the .amx file into the filterscripts folder and add it in config.json under pawn › side_scripts, with the folder and without the extension:
"side_scripts": ["filterscripts/npc_trains"]
Plugins from the SA-MP days go into a plugins folder, which you create with New folder. You list their names under pawn › legacy_plugins, for example ["streamer"]. Your server runs on Linux, so you need the Linux build of a plugin as a .so file. A Windows .dll won't load.
You can freely change the other values in config.json, such as language, website or the settings under game. They apply after the next restart.
Make yourself an admin
On open.mp you become an admin by logging in with the RCON password in game:
- Enter your own password under RCON Password, save with Save startup variables and restart the server.
- Join your server.
- Type
/rcon login <your RCON password>into the chat. The server replies withSERVER: You are logged in as admin.
After that you send commands with /rcon in front. A few examples from the open.mp documentation:
| Command | What it does |
|---|---|
/rcon cmdlist |
Lists all available commands. |
/rcon players |
Lists players with ID, IP and ping. |
/rcon kick <ID> |
Kicks the player with that ID. |
/rcon ban <ID> |
Bans the player with that ID. |
/rcon gmx |
Loads the next gamemode from config.json. |
/rcon changemode <name> |
Switches straight to a gamemode from the gamemodes folder. |
/rcon loadfs <name> |
Loads a filterscript. unloadfs and reloadfs unload or reload it. |
The RCON password gives full control over the server, so only share it with people you trust. Many gamemodes also bring their own admin system. How that works is described in the gamemode's own instructions.
Common problems
SERVER: Server's rcon password is empty. The RCON Password field is empty, which is how the server starts out. Enter a password, save and restart the server.
SERVER: Bad admin password. Repeated attempts will get you banned. The RCON password is wrong. Show next to RCON Password reveals the saved password. Too many failed attempts can get you banned.
The server won't start and the console shows Your rcon password must be changed from the default password, please change it. The RCON password is set to changeme. open.mp shuts down on purpose with that password. Pick a different one.
My change to the server name in config.json is gone after the restart. The panel sets the name, both passwords, the player count and the port on every start. Change these values under Server Variables.
The console shows Running static OpenSSL build - plugins that use OpenSSL might crash (discord-connector, pawn-requests). This line appears on every start. It warns that plugins using OpenSSL, such as discord-connector or pawn-requests, can crash with this build of open.mp. If you don't use any of them, you can ignore it.
Once everything is set, carry on with joining: Join your open.mp server.