Windows Server

Windows Server

How to quickly launch your San Andreas Multiplayer (SA-MP) server on Windows operating system.

Requirements

  • Internet access (a full 100 player server uses roughly 4Mbps upstream)
  • A forwarded UDP Port (7777 is default) | Guide
  • A static IP address is nice to have, but not necessary

Setting Up the Server

Obtaining the Files

The first step to setting up your samp server is to download Windows Server files from our website, or go to the SA-MP downloads page where you can find the current, up-to-date version of Windows Server. Under the Windows Server header - click on one of the links to start downloading. Don't forget to put the file somewhere where you can easily find it.

Configuring your Server

Once the files are downloaded, extract (using program that can extract .rar files) the files (there's no need to have them in a certain folder, as the server doesn't need to see whether you have GTA:SA and SA-MP installed to run itself). Now, proceed to editing your server.cfg file.

Find server.cfg in the root folder for your server files and open it in Notepad or other text editor. This file should appear to you as readable English. This file is for the configuration of your server, here you can specify if lanmode is on or off, the max players, the server port, host name, game modes, filterscripts*, weburl and your rcon password.

Executing the Server

Once you have configured your server you can run it. To run it you can simply just click samp-server.exe and your server will be running.

LAN

If you want to connect your server to a local area network, click here

Keeping the Server Online

With limited anti-crash options available in the SA-MP Server, there is a large possibility of receiving Segmentation Faults or any other error generated by your (Pawn) gamemode. This will shutdown the server, and you'll have to start it up yourself again.

This program will restart the samp-server.exe process if the SA-MP server crashes. All you need to do is to save a textfile with the ending .bat with the following content:

:Start
samp-server.exe
goto start

Put the file into the directory where samp-server.exe is located and start it. Type exit into the server console to test if it is working.