Difference between revisions of "HU/Resource:Admin"

From Multi Theft Auto: Wiki
(Created page with "{{Resource page}} A quick tutorial on how to get admin rights and install admin resource. <section name="MTA 1.0.0 and lower" class="server" show="false"> '''Note:''' Since m...")
 
Line 1: Line 1:
 
{{Resource page}}
 
{{Resource page}}
A quick tutorial on how to get admin rights and install admin resource.
+
Egy gyors tutoriál arról, hogy hogyan kaphat admin jogokat és hogyan telepítheti az admin resource-t.
  
<section name="MTA 1.0.0 and lower" class="server" show="false">
+
<section name="MTA 1.0.0 vagy régebbi" class="server" show="false">
'''Note:''' Since mta 1.0.5 the accounts.xml file has been removed and replaced by sqlite.
+
'''Figyelem:''' 1.0.5 MTA óta az accounts.xml fájlok el lettek távolítva és sqlite-val lett kicserélve.
  
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.
+
Először nyissa meg az '''accounts.xml''' fájl, mely a '''server\mods\deathmatch\'''-en belül található and add a line with your account details, like on the following example.
  
 
[[Image:admin_accounts.png]]
 
[[Image:admin_accounts.png]]

Revision as of 20:14, 25 December 2018

Egy gyors tutoriál arról, hogy hogyan kaphat admin jogokat és hogyan telepítheti az admin resource-t.

Click to expand [+]
MTA 1.0.0 vagy régebbi

To add an account in MTA 1.5 use the following command in the server

Note: The server needs to run for this action

addaccount <username> <password>

Note: Server should not be running when you are editing the acl file below

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.

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 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.