Server Manual

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

Getting started

It is much easier than it looks to get a server up and running for your internet or LAN buddies: follow this wiki article and you will hopefully be on your way to hosting your own MTA:DM Server in no time!

Installing the server

The dedicated server application is available in different flavours depending on the platform of the server.

Linux installation

Empty

Windows installation

Empty

Configuring your server

Begin by opening the 'mtaserver.conf' file, which is located in the <SERVER>\mods\deathmatch directory.

This file is fairly straightforward; every variable has a description of what to do with it and how to change it.

Adding admins

To add admins to your sever follow these steps:

  1. Browse to your servers 'deathmatch' folder and open Accounts.xml
  2. Add a new account into the file with the syntax below

'Accounts.xml syntax'

<account name="Username" password="UserPassword" />
  1. Save and close the file
  2. Open acl.xml
  3. Select the rights of the admin, either Moderator, SuperModerator or Admin
  4. Within the group you have selected add the account you have created above with the syntax below
<object name="user.Username" />


You will finish with something like this:

<group name="Admin">
...
<object name="user.Username" />
</group>


You're done!, you can add as many admins as you want this way, just keep creating accounts under eachother and the same with the ACL rights.
Note: Changing these files requires a restart of the server

Starting your server

Begin by making sure that you have finished all configuration of your server, starting your server is the last stage so everything must be ready!

To start your server double click on MTA Server.exe, make sure you allow it thought any firewalls and foward ports where nessessary