Resource:Admin: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
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
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.
 
an object to the Admin group. 'user.*' where * is your account name.
 
Example:
Example:


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


Now open your mtaserver.conf file and move to the bottom, make sure the
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.
 
admin resource is added to the ones that start with the server.


(protected="1"means that it can not be stopped )
(protected="1"means that it can not be stopped )
Line 24: Line 16:
[[Image:admin_mtaserver.png]]
[[Image:admin_mtaserver.png]]


Now you're done with server files and you can you can finally start it.
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.
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.

Revision as of 04:16, 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 located in the same folder and add yourself as an object to the Admin group. 'user.*' where * is your account name. Example:

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 )

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.