LIONFIN
Game server

SA-MP and open.mp Server Hosting

Roleplay, freeroam, drift or deathmatch: set up your GTA San Andreas multiplayer server with SA-MP or open.mp and manage it alongside MySQL and a web panel on one VDS.

See packages From ₺899.00 per month (excl. VAT)
Default port
7777/UDP (game and query)
Server software
SA-MP 0.3.7 server, open.mp (omp-server)
Scripting language
Pawn (.pwn source, .amx compiled)
Configuration
SA-MP: server.cfg · open.mp: config.json
Operating system
Linux and Windows
Max players
1000 (server software limit)

Quick answer

SA-MP server hosting means running a server for SA-MP, the GTA San Andreas multiplayer mod, or open.mp, its open-source, backward-compatible successor, on a machine that stays online 24/7. The server uses 7777/UDP by default; game logic lives in gamemodes and filterscripts written in Pawn, and extra features come from plugins such as MySQL, streamer and sscanf. Resource needs are low, so the server, database and web panel can share a single VDS server.

Recommended server packages

There is no ready-made package for this use yet; these servers give you full control to install it yourself, or you can request setup through a support ticket. You complete the order on our Turkish store page.

VDS Pro

₺1,599.00 / month

  • 8 ayrılmış çekirdek
  • 16 GB RAM
  • 400 GB NVMe
  • 15 TB Trafik
  • 1 IPv4
  • Günlük yedek
Order (Turkish checkout)

VDS Max

₺2,899.00 / month

  • 12 ayrılmış çekirdek
  • 32 GB RAM
  • 800 GB NVMe
  • 25 TB Trafik
  • 2 IPv4
  • Öncelikli destek
Order (Turkish checkout)

Estimated resources for an SA-MP / open.mp server (varies with gamemode and plugins)

Server profileRAMvCPUDisk
Freeroam / DM, up to 50 players512 MB – 1 GB1 core5 GB NVMe
Roleplay + MySQL, 100–200 players1–2 GB1–2 cores10 GB NVMe
Large RP, many streamer objects (300+)2–4 GB2 cores20 GB NVMe
Several servers + MySQL + web panel4–8 GB4 cores40 GB NVMe

Estimates; actual needs depend on mods, plugins and settings.

Does renting an SA-MP server still make sense?

Yes. Thanks to GTA San Andreas’s low hardware requirements and a deep-rooted roleplay culture, SA-MP and open.mp still have an active player base — notably in Türkiye and the surrounding region — and the technical cost of running a server is far lower than for modern games. Over the years, roleplay, freeroam, drift, deathmatch and “cops and robbers” servers have built their own loyal communities.

What your own rented server gives you:

  • Uninterrupted access: on a roleplay server players invest in their characters, and a server that keeps going down scatters the community. A rented server stays online 24/7.
  • Full control: you write or edit the gamemode yourself and decide the rules and economy.
  • An integrated setup on one machine: the game server, a MySQL database and a web-based user control panel (UCP) where players see their character details run side by side.
  • DDoS protection: attacks on rival servers are common in the SA-MP scene; keeping a popular server up is hard without network-level filtering.

SA-MP is also a good starting point for developers who want to learn Pawn: the language resembles C, the community archive is large and even a small server lets you test with real players.

SA-MP or open.mp: which server software should you choose?

If you’re starting a new server, consider open.mp: it is actively developed, open-source server software designed to be backward compatible with SA-MP 0.3.7 clients and existing Pawn scripts. If you have a long-running gamemode you’d rather not touch, staying on the SA-MP 0.3.7 server is also possible.

CriterionSA-MP 0.3.7 serveropen.mp
DevelopmentNot updated for a long timeActive, open source
Configurationserver.cfgconfig.json (the old server.cfg can also be read)
Script compatibilityPawn gamemodes and filterscriptsThe same scripts; recompiling with the new includes is recommended
ClientSA-MP clientSA-MP client and the open.mp launcher
Built-in functionsLimitedBug fixes and extra functions

The most common task when moving to open.mp is recompiling the gamemode with open.mp’s include files and cleaning up compiler warnings. Some older plugins may behave differently with open.mp, so migrate on a test server first.

Think about the player side too: if most of your players already use the SA-MP client, they can connect to an open.mp server with the same client, so the switch usually goes unnoticed. For visibility, open.mp offers its own server list and launcher; pointing your community straight to the server address via Discord and social media is the most reliable way, whichever list you appear in.

How do gamemodes, filterscripts and Pawn shape your server?

All the game logic of an SA-MP or open.mp server lives in scripts written in Pawn: the gamemode carries the main game rules, while filterscripts carry extra, independent features (admin system, map objects, fun commands).

The workflow:

  1. The script is written as a .pwn source file.
  2. It is compiled to an .amx file with the Pawn compiler (pawncc), using the header files in the include folder.
  3. The compiled gamemode goes into the gamemodes folder and filterscripts into filterscripts, and both are declared in the configuration file.
  4. Plugins (.so on Linux, .dll on Windows) go into the plugins folder and are added to the configuration.

Roleplay gamemodes are often projects with tens of thousands of lines, so it’s good practice to manage the code with version control (Git), test changes on a test server and upload only the compiled, tested .amx to the live server. If you use a ready-made gamemode, prefer open-source ones; files distributed only as .amx may hide admin commands, and you can’t fix them when errors appear.

When a team develops together, everyone should use the same compiler version and the same include files; scripts compiled with different versions can cause unexpected behaviour and runtime errors. Keeping compiler settings and the include folder in the repository removes this problem.

Which plugins are used on an SA-MP server?

The most widely used plugins on SA-MP and open.mp servers are MySQL, streamer, sscanf and crashdetect; these four form the basis of most roleplay and freeroam gamemodes.

  • MySQL plugin: stores player accounts, characters, vehicles, houses and businesses in a MySQL or MariaDB database. It runs queries threaded so the server doesn’t wait.
  • Streamer: loads and unloads map objects, pickups, 3D text labels and areas beyond the server’s built-in object limit based on player proximity. Indispensable on RP servers with custom maps.
  • sscanf: parses command parameters safely and quickly; almost every admin command uses it.
  • crashdetect: shows in detail which line and function caused a runtime error, making debugging much easier during development.
  • Command processors: Pawn.CMD or similar libraries handle hundreds of commands efficiently.

Use plugin builds compatible with your server software and operating system: Windows needs a .dll and Linux a .so, and some older plugins compiled for SA-MP may behave differently with open.mp. When updating a plugin, remember to update its include file and recompile the gamemode.

How many resources does an SA-MP server need?

SA-MP and open.mp servers are very light: a 50-player freeroam server often runs on less than 1 GB of memory and a single CPU core, and 1–2 GB of RAM is usually enough for a 100–200 player roleplay server with MySQL. The table values are estimates; the real difference comes from how efficiently the gamemode is written.

The server software runs largely on a single thread, so a multi-core CPU helps one server only a little; high clock speed matters more. The biggest resource drains are:

  • timers that fire dozens of times per second and OnPlayerUpdate code doing heavy work on every player update,
  • non-threaded database queries that block the main thread,
  • a very high number of streamer objects and large stream distances.

Disk needs are small; log files and the database take most of the space. Archive old logs regularly so they don’t grow over time. If the web panel and database run on the same VDS, include them in your memory planning.

Ready-made package or VDS for SA-MP?

The most flexible route for SA-MP and open.mp servers is to rent a VDS and set up the server yourself, or request installation through a support ticket; the package table on this page shows the current server options suitable for SA-MP.

Most SA-MP projects are more than a single game process. A typical roleplay server runs these components side by side:

  • the live game server and a test server on a different port of the same machine,
  • a MySQL or MariaDB database holding player data,
  • a web-based user control panel (UCP) where players see character details, applications and stats,
  • a Discord bot for server status and announcements.

A VDS lets you run this whole stack on one machine with reserved resources. If you’d like to keep the user panel separate, you can host it on a Linux hosting plan and reach the database over a secure connection; however, keeping the database on the same VDS rather than exposing it to the internet is usually safer. We compare ready-made game packages and VDS on the game server package vs VDS page.

How do you run an SA-MP server on Linux?

SA-MP and open.mp servers run smoothly on Linux, which uses fewer system resources than Windows and is a popular choice for servers that run uninterrupted for long periods. The main thing to watch is that the server software and plugins are compiled as 32-bit.

What to know for a Linux setup:

  1. 32-bit libraries: the SA-MP Linux server (samp03svr) and most plugins are 32-bit. On 64-bit Ubuntu or Debian, the 32-bit runtime libraries must be installed; otherwise plugins fail to load with a “cannot open shared object file” error.
  2. File names: Linux file names are case-sensitive. A gamemode that works fine on Windows won’t find a file on Linux if the case of file names in scriptfiles differs.
  3. Plugin extension: on Linux, plugins use the .so extension and are declared with it in the configuration.
  4. Running in the background: run the server with screen, tmux or a system service so it doesn’t stop when the SSH session closes and starts automatically after a reboot.

How do you improve SA-MP server performance?

The biggest performance gains on an SA-MP server come from making database queries that block the main thread threaded, reducing frequent timers and tuning streamer settings to player density.

  • Threaded queries: use the MySQL plugin’s threaded query functions to stop the server freezing while it waits for results.
  • Timers: a single global timer that processes all players is more efficient than separate per-player timers firing many times a second.
  • OnPlayerUpdate: this callback fires very often for each player; don’t put heavy calculations or database work in it.
  • Streamer settings: tune object stream distance and the number of objects shown at once to your map density; unnecessarily large distances wear down both the server and the player.
  • Measurement: optimising without profiling which function takes how long usually means spending effort in the wrong place.

On the network side, players’ distance to the server and packet loss along the route affect the experience however efficient the code is. For players in Türkiye and nearby, a server hosted in Türkiye is a natural advantage.

How do you protect an SA-MP server from attacks?

Protecting an SA-MP server takes network-level DDoS filtering, a strong RCON password, queries written safely against SQL injection and scripts of known origin, used together.

  • DDoS and query floods: SA-MP servers are targeted both by volumetric attacks and by attacks that flood server info queries. The RouteFence firewall in our data center filters attack traffic at network level.
  • RCON password: the SA-MP server refuses to start if rcon_password is left at its default; change it to a long, unique password. Anyone who knows it can fully control the server.
  • SQL injection: inserting player text directly into a query can get your database wiped. Build queries with the MySQL plugin’s escaping format functions.
  • Password storage: store player passwords not as plain text but with a strong, salted hashing algorithm.
  • Fake player (bot) attacks: rules that limit IP addresses opening many connections in a short time stop the server from filling up and locking real players out.

Your admin system is also an attack surface: store admin levels in the database, check permissions server-side every time a privileged command runs and log admin actions. That limits what a compromised account can do and lets you trace abuse later.

How do you back up and migrate an SA-MP server?

An SA-MP or open.mp backup consists of a full database dump, the gamemodes, filterscripts, plugins and scriptfiles folders and the configuration file. The gamemode source code (.pwn) should also be kept in version control.

Some older gamemodes store player data in files in the scriptfiles folder (for example INI files) rather than a database. In that case this folder is as critical as a database, and copying it while the server runs can capture half-written files; take the backup by stopping the server briefly or during a maintenance window.

When migrating from another provider:

  1. Stop the server, export the database and compress the server folder.
  2. Install the same server software (SA-MP or open.mp) and the required libraries on the new server.
  3. Put the files in place, import the database and update the database connection details in the gamemode.
  4. Announce the new address to players; if you use a domain instead of an IP, updating the DNS record is all you need.

What are the most common SA-MP server errors?

The most common SA-MP and open.mp errors come from a missing plugin or function, incompatibly compiled scripts, plugin files that fail to load and a port already in use — and most can be diagnosed from the first error line in the server log.

  • “Run time error 19: File or function is not found”: the gamemode calls a plugin function but that plugin isn’t loaded. Check that the plugin is in the plugins folder and declared in the configuration.
  • “Failed (… cannot open shared object file)”: on Linux the plugin file can’t be found or 32-bit libraries are missing.
  • “Run time error 17: Invalid/unsupported P-code file format”: the script was compiled with a compiler version or setting the server doesn’t support. Recompile with a compatible compiler.
  • Gamemode won’t load: the gamemode name in the configuration doesn’t match the .amx file name in the gamemodes folder.
  • Server not in the list or unreachable: port 7777/UDP is closed or used by another process. Check your firewall rules.

When debugging, temporarily enabling the crashdetect plugin shows which function and line a runtime error occurred in. If you can’t solve it, opening a support ticket with the relevant part of the server log speeds up diagnosis.

How does renting an SA-MP server work?

Choose a suitable VDS from the package table and complete your order; the server is provisioned automatically, and you then upload the SA-MP or open.mp server files yourself or request installation through a support ticket.

If you install it yourself, the basic steps are: connect over SSH, update the operating system, install 32-bit libraries if needed, upload the server files into a dedicated user’s folder and set the server name, player limit, gamemode, plugins and RCON password in the configuration file. Then open port 7777/UDP and start the server as a service. For a gamemode that uses a database, install MariaDB and create a separate database user.

Before going live, confirm on the test server that registration, login, money and vehicle systems work, and take the first database backup. Prices are shown in Turkish lira excluding VAT and the checkout is in Turkish; contact us by email if you need help ordering. If you’re also considering MTA:SA, a similar GTA San Andreas platform, see our MTA:SA server hosting page.

How do you rent and launch an SA-MP or open.mp server?

  1. 1

    Choose the server software

    Pick open.mp for a new project, or the SA-MP 0.3.7 server for an old gamemode you don’t want to change.

  2. 2

    Pick a VDS package

    Choose a VDS from the package table that fits your server, database and web panel needs, and complete your order.

  3. 3

    Prepare the server

    Connect over SSH, update the system, install 32-bit libraries and MariaDB if needed, or request installation via a support ticket.

  4. 4

    Upload gamemode and plugins

    Put the compiled .amx file in the gamemodes folder and plugins in the plugins folder, then add them to the configuration file.

  5. 5

    Configure security

    Change the RCON password, open only 7777/UDP and the management ports you need, and keep the database closed to the internet.

  6. 6

    Go live

    Start the server as a service, take a first backup and share the server address with your players.

FAQ

Frequently asked questions about SA-MP and open.mp Server Hosting

open.mp is open-source server software developed to be backward compatible with SA-MP 0.3.7. The same clients can connect, and existing Pawn scripts mostly work after recompiling; open.mp also offers bug fixes, extra functions and active development.

SA-MP and open.mp servers use UDP port 7777 by default. Game traffic and server info queries go through the same port. If you run several servers on the same machine, give each one a different port.

The server software supports up to 1000 players; the slot count is set by maxplayers in the configuration file. In practice the limit is set by the gamemode’s efficiency, database load and the server’s CPU power.

SA-MP is very light: under 1 GB is usually enough for a 50-player freeroam server and 1–2 GB for a 100–200 player roleplay server with MySQL. If a database, web panel and test server run on the same machine, account for them too.

The compiled .amx file runs on both platforms, but you need the Linux .so builds of your plugins and the 32-bit libraries installed. Linux file names are case-sensitive, so check the file names in scriptfiles as well.

This error means a function called by the gamemode can’t be found; usually a required plugin isn’t loaded. Check that the plugin is in the plugins folder, declared in the configuration file and built for your operating system.

MySQL or MariaDB is recommended for new projects. A database handles concurrent access safely, can be shared with a web panel and can be backed up with a single dump. File-based (INI) systems work on small servers but become hard to manage and back up as they grow.

Yes. Take the server folder (gamemodes, filterscripts, plugins, scriptfiles) and a database dump and upload them to the new server. After installing the same server software and required libraries, update the database connection details and start the server.

Anyone who knows the RCON password can send admin commands, kick players or shut the server down. The SA-MP server refuses to start with the default password; set a long, unique one and don’t share it with anyone.

In the LIONFIN infrastructure the RouteFence firewall filters attack traffic at network level, so most volumetric attacks are filtered before reaching the server. For fake player and query flood attacks, adding connection limiting rules is also recommended.