ULX

Author Topic: Ranks can target ranks they are not suppose to  (Read 1768 times)

0 Members and 1 Guest are viewing this topic.

Offline Blackety

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Ranks can target ranks they are not suppose to
« on: October 15, 2013, 07:40:50 PM »
On my server, I have quite a bit of ranks. The core ranks are trusted, donator, vip, respected, mini-mod, mod, and admin. In addition to these ranks, there are also staff ranks that show if they are a donator with a plus symbol after their rank name i.e. Admin+. Vips however have to have their own unique group for reasons irrelevant to this issue. With that said, the problem I am having is when a mini-mod can't target a mod+ but can target a mod. This isn't suppose to happen as you'd expect. Below I have listed all the ranks with their inheritances and targets. Any assistance with this problem will be greatly appreciated!

superadmin
inherits admin
*

admin
inherits liquid
!%superadmin

liquid
inherits mod
!% admin

mod
inherits mini-mod
!%admin

qav
inherits respected
!%mini-mod

mini-mod
inherits respected
!%liquid

fountain
inherits respected
!% mini-mod

respected
inherits donator
!%mini-mod

donator
inherits trusted
!%mini-mod

trusted
inherits user
!%mini-mod

user
*


The names founts, liquid and qav for VIPs. They have their own rank. They get the same rights as respected but the liquid rank instead gets mod powers.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Ranks can target ranks they are not suppose to
« Reply #1 on: October 15, 2013, 07:48:41 PM »
Unfortunately, since you have an inheritance tree that branches, you'll have to specify the groups that they CAN target (as opposed to what they can't). For example, for mini-mod, you'd specify "#respected,#donator,#trusted,#user" (or similar depending on your desires) for can target. Note '#' instead of '%' which targets a group explicitly instead of using inheritance.
Experiencing God's grace one day at a time.

Offline Blackety

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Ranks can target ranks they are not suppose to
« Reply #2 on: October 15, 2013, 08:43:04 PM »
Thanks for the help! Once small question just to be accurate, do I put a space in between the targets or not?

#respected,#donator

or

#respected, #donator


That's what I mean.  :P Wasn't sure if it mattered or not.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Ranks can target ranks they are not suppose to
« Reply #3 on: October 16, 2013, 04:54:31 AM »
I can't remember for certain, but I think it will work either way.
Experiencing God's grace one day at a time.