Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: Nubz on January 26, 2014, 06:04:15 PM
-
Hello everyone! So, on my server, I have the following groups (From most powerful to least powerful):
-Owner
-Superadmin
-Admin
-Moderator
-Respected
-Member
-User
I wanted to have it set up so that each group could only target their own group, or groups below themselves. However, after reading about the subject on the forums, Moderators can still target Superadmins. Each group inherits from the group underneath, so I do not know if this is the problem or not. What am I doing wrong? Did i not understand inheritance, can_target?
-
For my sanity, and perhaps others, please just attach your gmod/data/ulib/groups.txt
I find I can personally read/verify that easier than an explanation.
-
I'm pretty sure doing !%groupabove in the can_target should work.
Ex: Moderator Inherits from: Respected
Can Target: !%Admin
-
For my sanity, and perhaps others, please just attach your gmod/data/ulib/groups.txt
I find I can personally read/verify that easier than an explanation.
Sorry about that!
-
Sorry about that!
No worries, just a personal preference. It also allows us to verify things like the below that I saw.
Don't capitalize your groups. make group names all lower case, in name and inheritance, and can target.
I could have sworn Stick/Megiddo fixed that in XGUI allowing input of upper case group names.
Change all of them to lower case, then see if that fixes some of your issue.
Also, you don't need to specify a group inherit's "user". I'm 95% sure, by default, when no other access is inherited, "user" is inherited.
(my team can correct me on that if I'm wrong)
If the case sensitivity doesn't fix your issue, repost the groups.txt after the case-correction.
There's also a space in front of your can_target "!&owner" for superadmin.
That _might_ cause troubles, but I'm not sure.