bravura Posted December 31, 2024 Share Posted December 31, 2024 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 IIYAMA Posted December 31, 2024 Moderators Share Posted December 31, 2024 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
bravura Posted December 31, 2024 Author Share Posted December 31, 2024 Sorry, to be honest I don't know, I've only been into programming for a few days, I'm just learning how some things work. Link to comment
Moderators IIYAMA Posted December 31, 2024 Moderators Share Posted December 31, 2024 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): Stop the server Open the ACL file: MTA San Andreas 1.6\server\mods\deathmatch\acl.xml Make a back up of this ACL file 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> 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> Save the file 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) Go ingame Add the account if not exist: /register <example username> <new password> /login <example username> <current password> Link to comment
bravura Posted Wednesday at 04:04 Author Share Posted Wednesday at 04:04 Thanks for your help, I was able to solve it. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now