xKacperinos Posted December 30, 2017 Share Posted December 30, 2017 I have recently set-up a MTA:SA server on a debian 7 vps. The server is working fine I can join and login, but when I add my name under the admin rank it seems to revert back to the original state. Link to comment
0 MTA Anti-Cheat Team Dutchman101 Posted December 30, 2017 MTA Anti-Cheat Team Share Posted December 30, 2017 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 xKacperinos Posted December 30, 2017 Author Share Posted December 30, 2017 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
Question
xKacperinos
I have recently set-up a MTA:SA server on a debian 7 vps.
The server is working fine I can join and login, but when I add my name under the admin rank it seems to revert back to the original state.
Link to comment
2 answers to this question
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