Server Manual: Difference between revisions
Line 19: | Line 19: | ||
==Adding admins== | ==Adding admins== | ||
To add admins to your sever follow these steps: | To add admins to your sever follow these steps:<br> | ||
<ol> | |||
<li>Browse to your servers 'deathmatch' folder and open Accounts.xml</li> | |||
<li>Add a new account into the file with the syntax below | |||
<div style="padding: 10px"> | |||
''''Accounts.xml syntax'''' | ''''Accounts.xml syntax'''' | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<account name="Username" password="UserPassword" /> | <account name="Username" password="UserPassword" /> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
< | </div> | ||
<li> Save and close the file</li> | <li>Save and close the file</li> | ||
<li> Open acl.xml</li> | <li>Open acl.xml</li> | ||
<li> Select the rights of the admin, either Moderator, SuperModerator or Admin</li> | <li>Select the rights of the admin, either Moderator, SuperModerator or Admin</li> | ||
<li> Within the group you have selected add the account you have created above with the syntax below | <li>Within the group you have selected add the account you have created above with the syntax below | ||
< | <div style="padding: 10px"> | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<object name="user.Username" /> | <object name="user.Username" /> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
< | </div> | ||
You will finish with something like this: | You will finish with something like this: | ||
<div style="padding: 10px"> | |||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<group name="Admin"> | <group name="Admin"> | ||
Line 43: | Line 47: | ||
</group> | </group> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
< | </div> | ||
</li> | |||
<li> | |||
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.<br> | 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.<br> | ||
'''Note | </li> | ||
</ol> | |||
'''Note''': Changing these files requires a restart of the server | |||
==Starting your server== | ==Starting your server== |
Revision as of 15:30, 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:
- Browse to your servers 'deathmatch' folder and open Accounts.xml
- Add a new account into the file with the syntax below
'Accounts.xml syntax'
<account name="Username" password="UserPassword" />
- Save and close the file
- Open acl.xml
- Select the rights of the admin, either Moderator, SuperModerator or Admin
- 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