Server Manual: Difference between revisions

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


# You may also update the resources while ingame as long as you have the correct access levels by typing "refresh" in the clients console or "/refresh" in the chat window.
# You may also update the resources while ingame as long as you have the correct access levels by typing "refresh" in the clients console or "/refresh" in the chat window.
# <SERVER> is a relative to your servers main directory, in most cases this is C:\Program Files (x86)\MTA San Andreas\server
# In the above instructions, <SERVER> is the path to your servers main directory. In most cases this is C:\Program Files (x86)\MTA San Andreas\server
<br>
 
'''Need further help?'''<br>
====Need further help?====
Why not pop over to our [http://http://forum.mtasa.com/ Forums] or join us on [irc://irc.multitheftauto.com/mta IRC] (irc.multitheftauto.com #mta - [http://www.mirc.com MIRC])
Why not pop over to our [http://http://forum.mtasa.com/ Forums] or join us on [irc://irc.multitheftauto.com/mta IRC] (irc.multitheftauto.com #mta - [http://www.mirc.com MIRC])

Revision as of 15:54, 2 January 2008

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" />
    
  3. Save and close the file
  4. Open acl.xml
  5. Select the rights of the admin, either Moderator, SuperModerator or Admin
  6. 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>
    
  7. 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 through any firewalls and forward ports where nessessary.

Installing/Updating resources on your server

Resources can come in two formats, either a ZIP format or just a normal folder with the script files inside it. The MTA:SA DM server supports both these methods.

  1. Move or copy the new resource to your <SERVER>\mods\deathmatch\resources folder.
  2. In the server window type in the command "refresh" (without the quotes), this will re-scan the resources folder and update the live resources where necessary.

Uninstalling resources

Resources can easily be removed from your server if you no longer want them.

  1. Delete the ZIP file or the folder of the resource you wish to uninstall
  2. In the server window type in the command "refresh" (without the quotes), this will re-scan the resources folder and update the live resources where necessary.

Administrating your server

You can start resources with the command "start resourcename", or stop them with "stop resourcename". You can also go ingame and log in on your administrator account by typing "login username password" in the console. If the login is successful you can execute administrator commands in the ingame console.

For further commands, type "help" in the server console.

Useful Notes

  1. You may also update the resources while ingame as long as you have the correct access levels by typing "refresh" in the clients console or "/refresh" in the chat window.
  2. In the above instructions, <SERVER> is the path to your servers main directory. In most cases this is C:\Program Files (x86)\MTA San Andreas\server

Need further help?

Why not pop over to our Forums or join us on IRC (irc.multitheftauto.com #mta - MIRC)