Skip to content

SA:MP: Common Issues

Learn how to solve common problems with your SA:MP game server, from game modes that won't load to plugins, config.json, and the server list

26 November 20266 min read14 Views0 helpful

Don't have your own server yet? Host your SA:MP server with ZAP-Hosting from €4.49 / month.Or try 3 days from €0.81

Introduction

Is your SA:MP game server not working as expected? Don't worry, you can solve most problems yourself in no time. Your server runs on open.mp, the modern server for San Andreas Multiplayer. Existing SA:MP game modes, filterscripts, and plugins continue to work, and players can connect using their usual SA:MP client or the open.mp launcher. This guide covers the most common issues, their causes, and what you can do to fix them.

Problems and solutions

If you run into a problem, first check your server's Console. Lines containing [openmp-entrypoint] show what your server prepares when it starts. You can find the log for the current startup in the Files tab at logs/server.log, and the log from the previous startup at logs/server.log.1.

Server won't start

The game mode won't load

In the Game mode script field in the Configuration tab under Startup Parameters, enter the name of your game mode without .amx, followed by the number of repetitions, for example grandlarc 1.

  • In the Files tab, check that a matching .amx file is in the gamemodes folder. A .pwn file alone isn't enough; the game mode must be compiled.
  • Check the exact spelling. Linux is case-sensitive.
  • To test, you can enter one of the included game modes, for example gungame 1, derby 1, or simpletdm 1.
  • The field must not be empty, or startup will stop.
My config.json has suddenly reverted to its defaults

If your server can't read config.json, for example because a comma or bracket is missing, it sets the file aside as config.json.invalid- followed by the date and time, then starts with a fresh file. A warning message will appear in the Console.

You can find your changes in the file that was set aside in the Files tab. Check it with a JSON validator, then copy your entries into the new config.json while the server is stopped.

My RCON password isn't accepted

open.mp won't start while the RCON password is set to changeme, so ZapX won't allow this value. If Enable RCON is switched on, you also need to set an RCON password before you can save.

Settings and configuration

My changes to config.json are gone after restarting

Every time the server starts, ZapX writes the values from Startup Parameters to config.json. Your server will always overwrite these entries:

  • name, password, max_players, language, website, announce, and enable_query
  • game.mode, game.map, game.weather, and game.time
  • pawn.main_scripts, pawn.side_scripts, and pawn.legacy_plugins
  • rcon.enable, rcon.password, and logging.log_chat
  • network.port and network.bind, so your server remains reachable

So, change these values in the Configuration tab under Startup Parameters. All other entries are kept, such as the discord section of a Discord plugin containing your bot token.

Info

On older servers, ZapX rewrote the entire config.json at every startup. If your dashboard shows the Update available notice, click Apply update to keep your custom entries.

Settings from my old server.cfg aren't taking effect

Your server is controlled by config.json, and ZapX writes the panel values to that file. If you brought a server.cfg over from another server, transfer its values to Startup Parameters. For example, move hostname to Server name, gamemode0 to Game mode script, filterscripts to Additional scripts, and plugins to Native Plugins.

Scripts and plugins

Filterscripts won't load

Enter your filterscripts in the Additional scripts field: use the name without .amx, and separate multiple scripts with semicolons, for example base;gl_actions. ZapX automatically adds the filterscripts/ folder. The .amx files must be in the filterscripts folder. Then restart your server.

A plugin won't load
  • Enter the plugin in the Native Plugins field: use the filename without the extension, and separate multiple plugins with semicolons, for example streamer;mysql.
  • The file must be in the plugins folder.
  • Your server runs on Linux, so you need the Linux version of the plugin as a .so file. Windows plugins with the .dll extension won't work.
  • open.mp uses the 32-bit version for Linux. Use the regular Linux release of the plugin, not a 64-bit or ARM version.
  • Some plugins need additional files. Check the plugin's instructions, then look in the Console or logs/server.log to see which file is missing.
  • Components written specifically for open.mp belong in the components folder, not in the Native Plugins field.
Player accounts or saved games are gone

Most game modes save accounts and world data in the scriptfiles folder. You can back up and restore this folder in the Savegames tab. See Managing savegames for instructions. If your game mode uses its own database, the data is stored there.

Connection and server list

I can't join
  • Check Overview to see whether your server is online, then connect directly using the IP address and port shown in Overview.
  • Players need an SA-MP client version 0.3.7 or 0.3.DL, or the open.mp launcher.
  • If you've set a server password, remember that it is case-sensitive.

For more information, see Connecting to the server.

My server isn't showing in the server list
  • Show in server list registers your server with the open.mp server list. If this option is off, your server won't appear there.
  • Respond to server queries must be enabled for the server browser to show the server name and player count. Players can still join using the IP and port without it.
  • The old server browser in the classic SA-MP client is no longer maintained and doesn't show many servers. Use the open.mp launcher or connect directly.

Restart your server after making a change.

Admin and console

I can't enter commands in the console

In the Console, enter server commands without /rcon, for example cmdlist or say. If the Console instead says “Your server isn’t accepting commands yet,” it was created before command input was available. Apply the offered update once: when you open your server, the Update available window appears. Click Apply update there. In-game, log in with /rcon login and your RCON password; RCON commands such as /rcon kick will then work. You must set a password in the RCON password field. You only need to enable Enable RCON for external RCON programs.

Performance and network

Lag or high resource usage

Having many players, large game modes, and resource-intensive plugins such as streamers with many objects can increase the load. Keep an eye on usage in the Statistics tab. It can also help to temporarily remove filterscripts and plugins, then add them back one at a time. If your server consistently needs more resources, upgrading your game server is the easiest solution.

Ping spikes, disconnections, and DDoS

Ping spikes and disconnections are often caused by high resource usage or a server location far from your players. Game servers are also sometimes targeted by DDoS attacks. ZAP-Hosting protects your server with built-in defenses. If you suspect a routing issue or an attack, contact our support team.

Preventive measures

Regular backups can save you a lot of stress and hassle. Create backups regularly so you can restore an older, working version if something goes wrong. We already back up your game server automatically every day. With the ZapX Pass, you can also create and restore your own backups at any time with a click. With ZapX Pass Pro, you can even schedule them automatically. Learn more in our guide to backups.

Conclusion

With these tips, you can solve the most common problems with your SA:MP server yourself. If you still need help, simply start a support chat in your ZapX customer account and describe the issue in as much detail as possible, ideally including an excerpt from the Console. We're here for you every day and happy to help! 🙂

Free tools

SA:MP Tools

View all

FAQ

Frequently asked questions

Check the Game mode script field in Startup Parameters. Enter the name without .amx followed by the number of repetitions, for example grandlarc 1, and make sure the matching compiled .amx file is in the gamemodes folder.
At every startup, ZapX writes the values from Startup Parameters to config.json, such as the name, password, scripts, and RCON settings. Change these values in the Configuration tab. Your other custom entries will remain.
Your server runs on Linux with open.mp. You need the Linux version of the plugin as a .so file in the plugins folder, and must enter its name without the extension in the Native Plugins field. Windows plugins with a .dll extension won't work.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.