So, before I start, I'm not the most well versed in ULX. I looked up several guides on how to accomplish what it is I wanted, all of which failed. Before I tried doing this, my issue wasn't a thing, but now I must've mucked something up (and I don't know what), so here I am!
What I wanted to do: I wanted to give my admins access to "adduser" and "removeuser", but with limitations. I've seen threads about this and tried their solution and it didn't work for me. I wanted to give them access to adduser, but only with the option to target users, and add them to "trusted", and removeuser would act as the opposite: only able to target trusted to revoke it if they abuse it. I set the restrict groups to trusted so only trusted could be assigned, that part worked. However, admins could target ALL users with the adduser command, regardless of what setting I used in the restrict players section.
I thought this was a hierarchy problem with permission inheritance so I rearranged the inheritances from lowest (user) to highest (owner), and not only did that not fix my issue, a whole slew of other issues arose from it (admins being able to target superadmin-class users with commands they have access to, for example). I will upload the groups.txt from the server and if anyone can tell me where I went wrong with inheritances and the like, that would be awesome!
For anyone who's curious on the rank hierarchy from highest to lowest (and their ulx name in parenthesis):
- Owner (owner)
- Deputy Owner (deputy owner)
- Super Admin (superadmin)
- Manager (manager)
- Supreme VIP Admin (supreme vip admin)
- Premier VIP Admin (premier vip admin)
- VIP Admin (vip admin)
- Admin (admin)
- Supreme VIP Moderator (supreme vip moderator)
- Premier VIP Moderator (premier vip moderator)
- VIP Moderator (vip moderator)
- Moderator (moderator)
- Supreme VIP Trial Moderator (supreme vip trial)
- Premier VIP Trial Moderator (premier vip trial)
- VIP Trial Moderator (vip trial)
- Trial Moderator (trial)
- Supreme VIP (supreme vip)
- Premier VIP (premier vip)
- VIP (vip)
- Regular (regular)
- Trusted (trusted)
- Visitor (user)
My ULib/ULX versions:
ULib v2.63
ULX v3.73
Game mode(s) I am having this problem on:
Sandbox