Resource:Admin: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Admin moved to Resource:Admin)
No edit summary
Line 1: Line 1:
A quick tutorial on how to get admin rights and install admin resource.
A quick tutorial on how to get admin rights and install admin resource.


At first we open the accounts.xml file located in server\mods\deathmatch\ and add a line with your account details how it is show on this example:
 
At first we open the accounts.xml file located in '''server\mods\deathmatch\''' and add a line with your account details how it is show on this example:


[[Image:admin_accounts.png]]
[[Image:admin_accounts.png]]


Then you open the acl.xml located in the same folder and add yourself as an object to the Admin group. 'user.*' where * is your account name.
 
Example:
Then you open the '''acl.xml''' file located in the same folder and add yourself as an object to the Admin group: 'user.*', where * would be your account name.
 
Here's an example:


[[Image:admin_acl.png]]
[[Image:admin_acl.png]]


Now open your mtaserver.conf file and move to the bottom, make sure the admin resource is added to the ones that start with the server.


(protected="1"means that it can not be stopped )
Now open your '''mtaserver.conf''' file and scroll to the bottom, make sure the admin resource is added to the ones that start with the server (note: protected="1" means that it can not be stopped).


[[Image:admin_mtaserver.png]]
[[Image:admin_mtaserver.png]]


Now you're done with server files and you can you can finally start it. Connect to the server itself and login with your account details,
 
'login [username] <password>'. If it tells you to press 'p' you have done everything right, congratulations! If not, do this from the very beginning.
Now that you're done with server files, you can you can finally start it. Connect to the server itself and login with your account details: use 'login [username] <password>'. If it tells you to press 'p' you have done everything right, congratulations! If not, do this from the very beginning.

Revision as of 04:17, 3 January 2008

A quick tutorial on how to get admin rights and install admin resource.


At first we open the accounts.xml file located in server\mods\deathmatch\ and add a line with your account details how it is show on this example:

Admin accounts.png


Then you open the acl.xml file located in the same folder and add yourself as an object to the Admin group: 'user.*', where * would be your account name.

Here's an example:

Admin acl.png


Now open your mtaserver.conf file and scroll to the bottom, make sure the admin resource is added to the ones that start with the server (note: protected="1" means that it can not be stopped).

Admin mtaserver.png


Now that you're done with server files, you can you can finally start it. Connect to the server itself and login with your account details: use 'login [username] <password>'. If it tells you to press 'p' you have done everything right, congratulations! If not, do this from the very beginning.