Jump to content
  • 0

Admin rights in acl.xml won't work.


xKacperinos

Question

2 answers to this question

Recommended Posts

  • 0
  • MTA Anti-Cheat Team

The ACL group to edit usually looks like this:

    <group name="Admin">
        <acl name="Moderator"></acl>
        <acl name="SuperModerator"></acl>
        <acl name="Admin"></acl>
        <acl name="RPC"></acl>
        <object name="resource.admin"></object>
        <object name="resource.webadmin"></object>
        <object name="resource.acpanel"></object>
    </group>

Under any of the resource.x lines, add         <object name="user.*YourAccountname*"></object>

So it will become like this;

    <group name="Admin">
        <acl name="Moderator"></acl>
        <acl name="SuperModerator"></acl>
        <acl name="Admin"></acl>
        <acl name="RPC"></acl>
        <object name="resource.admin"></object>
        <object name="resource.webadmin"></object>
        <object name="resource.acpanel"></object>
        <object name="user.xKacperinos"></object>
    </group>

Now, when you /register and /login with that account name (used in example: ''xKacperinos'') you'll have admin rights on it.

55 minutes ago, xKacperinos said:

but when I add my name under the admin rank it seems to revert back to the original state.

This can also mean you're editing ACL while the server is still running, in order for it to save correctly you must first shutdown MTA server before editing ACL.xml

@xKacperinos

Link to comment
  • 0
1 hour ago, Dutchman101 said:

The ACL group to edit usually looks like this:


    <group name="Admin">
        <acl name="Moderator"></acl>
        <acl name="SuperModerator"></acl>
        <acl name="Admin"></acl>
        <acl name="RPC"></acl>
        <object name="resource.admin"></object>
        <object name="resource.webadmin"></object>
        <object name="resource.acpanel"></object>
    </group>

Under any of the resource.x lines, add         <object name="user.*YourAccountname*"></object>

So it will become like this;


    <group name="Admin">
        <acl name="Moderator"></acl>
        <acl name="SuperModerator"></acl>
        <acl name="Admin"></acl>
        <acl name="RPC"></acl>
        <object name="resource.admin"></object>
        <object name="resource.webadmin"></object>
        <object name="resource.acpanel"></object>
        <object name="user.xKacperinos"></object>
    </group>

Now, when you /register and /login with that account name (used in example: ''xKacperinos'') you'll have admin rights on it.

This can also mean you're editing ACL while the server is still running, in order for it to save correctly you must first shutdown MTA server before editing ACL.xml

@xKacperinos

Thanks mate everything works fine now :) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...