Jump to content

Help with the admin panel


bravura

Recommended Posts

I have a problem with the administrative panel, when I start with /login (name) (password) it tells me that I'm starting but it doesn't unlock the panel, check the ACL and if it appears that my account has access to the panel but within the game I can't do anything that has to do with the panel, from the console I can do everything, but within the game nothing, I need help on how to solve This, I've already looked everywhere and nothing, I've tried everything, this error came out of nowhere.

 

Sorry if something is not understood, I did it with a translator, I am a Spanish speaker

Link to comment
  • Moderators
12 hours ago, bravura said:

from the console I can do everything

There is a difference in the panel and command access.

This is for example a part of the rights for Moderators.

<acl name="Moderator">
        <right name="general.ModifyOtherObjects" access="false"></right>
        <right name="command.gamemode" access="true"></right>
        <right name="command.changemode" access="true"></right>
        <right name="command.changemap" access="true"></right>
        <right name="command.stopmode" access="true"></right>
        <right name="command.stopmap" access="true"></right>
        <right name="command.skipmap" access="true"></right>
        <right name="command.mute" access="true"></right>
        <right name="command.unmute" access="true"></right>
        <right name="command.whois" access="true"></right>
        <right name="command.whowas" access="true"></right>
        <right name="function.setPlayerMuted" access="true"></right>
        <right name="function.kickPlayer" access="true"></right>
        <right name="function.banPlayer" access="true"></right>
        <right name="function.getBans" access="true"></right>
        <right name="function.addBan" access="true"></right>
        <right name="function.startResource" access="true"></right>
        <right name="function.stopResource" access="true"></right>
        <right name="function.restartResource" access="true"></right>
        <right name="function.refreshResources" access="true"></right>
        <right name="function.redirectPlayer" access="true"></right>
        <right name="general.adminpanel" access="true"></right>
        <right name="general.tab_players" access="true"></right>
        <right name="general.tab_resources" access="false"></right>
        <right name="general.tab_maps" access="false"></right>
        <right name="general.tab_server" access="true"></right>
        <right name="general.tab_bans" access="false"></right>
        <right name="general.tab_adminchat" access="true"></right>

 

<right name="command.mute" access="true"></right>
<right name="general.tab_bans" access="false"></right>

You can see that the moderator can mute a player using /mute, but does not have access to the ban tab.

 

How did you grand yourself access rights?

Link to comment
  • Moderators

 

27 minutes ago, bravura said:

Sorry, to be honest I don't know

14 hours ago, bravura said:

from the console I can do everything

The Console has full access, so it might be possible that you currently have no access to begin with.

 

Steps to add the initial admin account (later on you can add more admins ingame using the User Interface):

  1. Stop the server
     
  2. Open the ACL file: MTA San Andreas 1.6\server\mods\deathmatch\acl.xml
     
  3. Make a back up of this ACL file
     
  4. Scroll to (in the original one):
        <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>

     

  5. Add an account looking like this:
            <object name="user.example"></object>
    Replace example with your username even if the account does not exist yet. (keep it simple)

    And add it 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.example"></object>
        </group>
  6. Save the file
     
  7. Start the server again (if you broke the syntax of the file, the server will not start, that is why step 3 so you can start over)
     
  8. Go ingame
    1. Add the account if not exist: /register <example username> <new password>
    2. /login <example username> <current password>

 

 

 

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