Ulysses Stuff > General Chat & Help and Support
Can someone point me in the right direction with group in-heritage?
Monikas_Comin:
So. I'm having a bit of trouble with ULX. I run a server and want a working little branch of mods in this order when compiled.
user > FreeVIP > VIP > Nebula > Galactic > t-mod > jr moderator > moderator > sr moderator > jr admin > admin> sr admin > superadmin
However the inherit as I learned plays a good part in all of this. And I feel as if im going to up everything if I do it like this:
FreeVIP and up inherit user, t-mod inherits user but with other perms, jr mod inherits from t-mod but with more perms, etc etc.
Can someone point me in the right direction with this please as what I should be doing and what I should not be doing?
My ULib/ULX versions:
ULib v2.63w
ULX v3.73w
Game mode(s) I am having this problem on: DarkRP
iViscosity:
If you want that order for the first ranks (FreeVIP > VIP > Nebula > Galactic), they will all need to inherit from the one below them and have a similar can_target (":" means inherits, "*" means can_target): FreeVIP : user * !%VIP, VIP : FreeVIP * !%Nebula, etc.
I'm typing this on my phone so it may not make a lot of sense but got the most part you've got the right ideas except for the first few ranks all inheriting from user, unless you want those first four ranks (excluding user) to be able to target each other, in which case you're correct.
I feel like I was confusing so let me know if you have any questions.
iViscosity - Mod Developer
Monikas_Comin:
--- Quote from: iViscosity on December 26, 2018, 09:24:31 PM ---If you want that order for the first ranks (FreeVIP > VIP > Nebula > Galactic), they will all need to inherit from the one below them and have a similar can_target (":" means inherits, "*" means can_target): FreeVIP : user * !%VIP, VIP : FreeVIP * !%Nebula, etc.
I'm typing this on my phone so it may not make a lot of sense but got the most part you've got the right ideas except for the first few ranks all inheriting from user, unless you want those first four ranks (excluding user) to be able to target each other, in which case you're correct.
I feel like I was confusing so let me know if you have any questions.
iViscosity - Mod Developer
--- End quote ---
Yea. That was a bit confusing. I'll point out what I think was confusing.
--- Quote ---have a similar can_target (":" means inherits, "*" means can_target): FreeVIP : user * !%VIP, VIP : FreeVIP * !%Nebula, etc.
--- End quote ---
iViscosity:
I made a quick diagram of what I mean
It's not perfect but it represents what I mean. At the top is your lowest inheritance (user) and at the bottom is your highest (superadmin). In the example you gave:
--- Quote from: Monikas_Comin on December 26, 2018, 09:17:31 PM ---FreeVIP and up inherit user, t-mod inherits user but with other perms, jr mod inherits from t-mod but with more perms, etc etc.
--- End quote ---
this means that FreeVIP, VIP, Nebula, Galactic, and t-mod all have the same level of inheritance, meaning that, by default, they can target each other unless specifically said not to.
Monikas_Comin:
--- Quote from: iViscosity on December 26, 2018, 10:14:53 PM ---I made a quick diagram of what I mean
It's not perfect but it represents what I mean. At the top is your lowest inheritance (user) and at the bottom is your highest (superadmin). In the example you gave:
this means that FreeVIP, VIP, Nebula, Galactic, and t-mod all have the same level of inheritance, meaning that, by default, they can target each other unless specifically said not to.
--- End quote ---
Ah, then yea that's what I'm looking for currently. Although was I incorrect on anything such as Jr. Mod inheriting from t-mod?
Also, I was wondering if you could tell me if this is correct for set targets.
user cantarget !%FreeVIP
FreeVIP cantarget !%VIP
VIP cantarget !%VIP+
Etc. Or am I doing it completely wrong?
Navigation
[0] Message Index
[#] Next page
Go to full version