Author Topic: How to stop admins picking up above ULX ranks  (Read 9923 times)

0 Members and 3 Guests are viewing this topic.

Offline [NG:A] The Skrub King

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
How to stop admins picking up above ULX ranks
« on: October 16, 2015, 11:38:30 AM »
Hi all,

I have seen other posts about this, but I simply didnt understand it, but basically I want it so that moderators cant pick up admins, and admins cant pick up superadmins, and superadmins cant pick up co-owners, and co-owners cant pick up owners through ULX.

Thanks

Offline monkeymacman

  • Newbie
  • *
  • Posts: 44
  • Karma: 13
Re: How to stop admins picking up above ULX ranks
« Reply #1 on: October 16, 2015, 02:13:29 PM »
Pretty sure it's already like that if you have inheritance/targeting set up right.
Have owner inherit from co-owner, co-owner inherit from superadmin, superadmin inherit from admin, admin inherit from moderator, and so on. Then just have each rank be able to target only their ranks and ranks below them, you can do this as follows:
Moderator be able to target "%admin", admin able to target "%superadmin" and so on. If this doesn't work for you then you might have a different addon that handles players picking up players, or I might be forgetting how physgunplayers works. I hope this helped you.

Offline [NG:A] The Skrub King

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: How to stop admins picking up above ULX ranks
« Reply #2 on: October 16, 2015, 04:25:51 PM »
Okay thanks, I am tired now so I will go to bed now, but I will try it out in the morning, I know what you are on about, and this makes a lot of sense.

I will come back with results tomoz thanls :D

Offline Professor_Smiley

  • Newbie
  • *
  • Posts: 45
  • Karma: -24
Re: How to stop admins picking up above ULX ranks
« Reply #3 on: October 17, 2015, 10:20:26 AM »
Go to ULX and manage groups. Change admin can target to admin. Don't make it superadmin

Offline monkeymacman

  • Newbie
  • *
  • Posts: 44
  • Karma: 13
Re: How to stop admins picking up above ULX ranks
« Reply #4 on: October 17, 2015, 12:47:07 PM »
The %group thing makes it so they can target any groups below that group. Which is just useful if you want to be able to have multiple ranks on the same level as each other.

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: How to stop admins picking up above ULX ranks
« Reply #5 on: October 18, 2015, 12:40:42 AM »
Its !%group
Once you get to know me, you'll find you'll have never met me at all.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: How to stop admins picking up above ULX ranks
« Reply #6 on: October 18, 2015, 07:15:13 AM »
Its !%group
For higher groups, yes; monkeymacman's answer sounds plausible in our inheritance chain.
To be honest, I've never tried it that way.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline [NG:A] The Skrub King

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: How to stop admins picking up above ULX ranks
« Reply #7 on: October 19, 2015, 11:08:40 AM »
Okay, I only have just come back to this, and I have tried both ways, I have tried monkeymacmans idea, as well as caustics idea, and neither worked they can still pick me up, is there anything else I can try?

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: How to stop admins picking up above ULX ranks
« Reply #8 on: October 19, 2015, 11:49:21 AM »
Is the gamemode DarkRP? Do you still have FAdmin enabled?
Once you get to know me, you'll find you'll have never met me at all.

Offline [NG:A] The Skrub King

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: How to stop admins picking up above ULX ranks
« Reply #9 on: October 19, 2015, 12:58:58 PM »
the gamemode is darkrp, and how do i disable fadmin?

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given