Resource:Admin: Difference between revisions
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
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. | 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. | ||
[[Category:Scripting Concepts]] |
Revision as of 16:33, 8 May 2008
A quick tutorial on how to get admin rights and install admin resource.
Note: Server should not be running when you are editing the files below
At first, open the accounts.xml file located in server\mods\deathmatch\ and add a line with your account details, like on the following example.
Then you open the acl.xml file located in the same folder and add yourself as an object to the Admin group by using the 'user.*' syntax, where * would be your account name.
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).
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.