Jump to content

ACL usage


Recommended Posts

Posted

I've been reciently trying to make a script that would use a command in order to add admins, mods, smods, etc (i'm the sole member of that group) But, i've found that i could only actually use the add if i was into the Admin ACL list and on the group i did, Is Anything from MTA blocking the modify of ACL if i dont have the Admin ACL powers?

  • Moderators
Posted

Then you simply don't have rights for that, the server will ignore it and that will be visible in the debug.

  • 2 weeks later...
Posted

Sorry for the long time (i was on vacation), but no. You do not understand me.

The script is admin itself, but i'm not. I'm trying to Modify the ACL via script, without being admin, or smod, but i cant. the script outputs i'm not "Special" (Wich is the acl im making for those ppl) when i actually am. So it seems like something blocked it, (The output is the else to the success.)

  • Moderators
Posted

Doesn't matter, if the script has admin rights. If you make the script and you activate it to set ranks, there won't be any right problems. But if you use somebody else his script, you may have those problems. Codes can give options but also limit things.

I don't know about what kind of script you are talking about, .lua or .xml

But that can just be changed manually. (server must not be running)

MTA San Andreas 1.3\server\mods\deathmatch > acl.xml

Posted
Doesn't matter, if the script has admin rights. If you make the script and you activate it to set ranks, there won't be any right problems. But if you use somebody else his script, you may have those problems. Codes can give options but also limit things.

I don't know about what kind of script you are talking about, .lua or .xml

But that can just be changed manually. (server must not be running)

MTA San Andreas 1.3\server\mods\deathmatch > acl.xml

Its a lua, thought XML where only for info for the scripts..?

The fact is that the script wont work if the same ppl isnt admin and in the group specified by script.

  • Moderators
Posted
Its a lua, thought XML where only for info for the scripts..?

It is info, things can be stored in it. But the acl will be stored there and can be changed manually when the server is off line.

well why don't you edit it, it can't be that hard can it?

Posted
Its a lua, thought XML where only for info for the scripts..?

It is info, things can be stored in it. But the acl will be stored there and can be changed manually when the server is off line.

well why don't you edit it, it can't be that hard can it?

Not if i have to shutdown the server every time i want to add a player to a specific group.

Posted
With admin resource you can also add players/resources.

You still dont get it, i want to let a player to manage if someone joins a ACL group or not, without giving him any power else than that. IK i could make him admin, but i do not want him to have any powers.

  • Moderators
Posted

I understand everything,

You can create a custom acl group and put them in there. Change your script and done.

no big deal.

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