This guide takes you from a freshly ordered MTA:SA server to the first round with your friends. You give the server a name and, if you like, a password, set the player count, make yourself an admin and start your own resources such as game modes or scripts.

What you need

  • An MTA:SA server in your customer panel. If you don't have one yet: Rent an MTA:SA server.
  • GTA: San Andreas for PC and the free MTA client from multitheftauto.com for everyone who wants to play.
  • About 15 minutes. Setting up admin rights needs the server to be stopped for a moment.

The first start

After you order, the panel installs the server and starts it. The Console on the overview page first shows a box with the server name, port, HTTP port and maximum players. The server then loads the bundled resources and starts the play game mode. Once the console says "Server started and is ready to accept connections!", it is ready.

At the top of the overview, Server address shows your address with its port, for example server.example.com:22003. The same address appears in the Invite friends box under Direct Connection. How you and your friends get into the game with it is covered in Join your MTA:SA server.

The settings in the panel

Open your server and choose Game settings › Server Variables on the left. General server settings has these fields:

Setting What it does
HTTP port Read-only. Players download your server's resources over this TCP port when they join. The panel assigns it automatically.
Maximum players How many players can be on the server at the same time, from 1 to 256. The default is 32.
Server name Your server's name, at most 64 characters.
Join password Optional, at most 32 characters. Leave it empty if anyone may join without a password. Show reveals a password that is set.

Save with Save startup variables. Changes take effect on the next restart.

The panel writes the server name and password into mods/deathmatch/mtaserver.conf on every start. Ports and player count are passed to the server as startup parameters. Always change these values under Server Variables, never in the file.

Make yourself an admin

MTA handles permissions through accounts and the file acl.xml. An account in the Admin group can, for example, open the admin panel and start or stop resources. This is how you set up your account:

  1. Open the Console in the panel and enter addaccount <name> <password>. The server confirms with "addaccount: Added account …" and shows the password in plain text. Pick a password you don't use anywhere else.
  2. Click Stop Server. According to the MTA manual, the server should be stopped while you edit acl.xml.
  3. Under Files & worlds › Files, open the folder mods/deathmatch and then the file acl.xml.
  4. Find the group <group name="Admin"> and add a line for your account inside it: <object name="user.<name>"></object>. Save the file.
  5. Click Start Server.
  6. Join the server, open the in-game console with F8 and enter login <name> <password>. The message "login: You successfully logged in" confirms it.

Entering admin in the same console then opens the admin panel. Log in again every time you join. You make friends admins the same way.

Admin accounts are also tied to the serial of the MTA client. Your first login sets it. If you later log in from another PC, the server refuses with "login: Serial pending authorization for account …". Enter authserial <name> in the panel console and log in again in the game.

Resources and game modes

In MTA almost everything is a resource: game modes, maps, scripts and tools like the admin panel. They live in the folder mods/deathmatch/resources. The bundled game modes include race, deathmatch, ctf and tdm in the subfolder [gamemodes].

To add your own resource:

  1. Upload the resource to the folder mods/deathmatch/resources under Files & worlds › Files.
  2. Enter refresh in the Console. The server scans the resources folder again.
  3. Start the resource with start <resourcename>. stop <resourcename> stops it again.

To switch the game mode, use changemode <gamemode>, optionally followed by a map: changemode <gamemode> <map>.

If a resource should run on every server start, add it to mods/deathmatch/mtaserver.conf next to the other resources at the end of the file: <resource src="<resourcename>" startup="1" protected="0" />. Then restart the server.

Common problems

The server isn't in the MTA server list. Your server doesn't announce itself to the internet list or on the local network. The Server name field doesn't change that. Joining by address and port always works.

My change in mtaserver.conf is gone after a restart. The panel sets the server name and password again on every start. Change them under Server Variables.

"login: Serial pending authorization for account …" You are logging in from a new PC. Enter authserial <name> in the panel console and log in again.

Admin commands don't work although the login succeeds. Check in acl.xml that the line sits inside the Admin group and that the name starts with user.. If you edited the file while the server was running, stop it, add the line again and start it.

"Resource '…' requests some acl rights". A resource asks for extra rights at startup with this message. On new servers the ip2c resource already gets its right during installation. For other resources, aclrequest list <resource> shows which rights it wants, and aclrequest allow <resource> <right> grants a single one. Use all instead of the right to grant all of them. Only grant rights to resources you trust.

Once everything is set, carry on with joining: Join your MTA:SA server.

No server of your own yet? Rent an MTA:SA server.