07-29-2017, 04:18 AM
Hello all today I will tell how to give adminrights!
First download ftp cilent:https://filezilla-project.org/download.php
note down ur ftp username &password
Now let's start first login ur ftp cilent with entering username,password,port&hostip
And do quick connect.now u will redirect to server files search for mods/death match/acl.XML edit acl.XML with notepaddc++ or any editing app!
All MTA servers include an Access Control List system which can be used to modify the access rights of specific users and even groups to various commands and functions.
The Access Control List file (acl.xml) can be found at Server_IP/mods/deathmatch/acl.xml which you can access via FTP.
We can, for example, add the user "Fred" to the admin group by editing the section as follows
Code:
<group name="Admin">
<acl name="Moderator"></acl>
<acl name="SuperModerator"></acl>
<acl name="Admin"></acl>
<acl name="RPC"></acl>
<object name="user.Fred"></object>
<object name="resource.admin"></object>
<object name="resource.webadmin"></object>
</group>
Fred will then inherit all of the permissions from the admin group, as listed within:<acl name="Admin">
Please refer to this page for further information on the Access Control List: https://wiki.multitheftauto.com/wiki/ACL
NOTE:keep in mind that when u r editing acl try to shutdown the server and edit it and save and again restart server !
Hope it helps u any doubts u can ask in comments
First download ftp cilent:https://filezilla-project.org/download.php
note down ur ftp username &password
Now let's start first login ur ftp cilent with entering username,password,port&hostip
And do quick connect.now u will redirect to server files search for mods/death match/acl.XML edit acl.XML with notepaddc++ or any editing app!
All MTA servers include an Access Control List system which can be used to modify the access rights of specific users and even groups to various commands and functions.
The Access Control List file (acl.xml) can be found at Server_IP/mods/deathmatch/acl.xml which you can access via FTP.
We can, for example, add the user "Fred" to the admin group by editing the section as follows
Code:
<group name="Admin">
<acl name="Moderator"></acl>
<acl name="SuperModerator"></acl>
<acl name="Admin"></acl>
<acl name="RPC"></acl>
<object name="user.Fred"></object>
<object name="resource.admin"></object>
<object name="resource.webadmin"></object>
</group>
Fred will then inherit all of the permissions from the admin group, as listed within:<acl name="Admin">
Please refer to this page for further information on the Access Control List: https://wiki.multitheftauto.com/wiki/ACL
NOTE:keep in mind that when u r editing acl try to shutdown the server and edit it and save and again restart server !
Hope it helps u any doubts u can ask in comments