ULX

Author Topic: Admin Group  (Read 1909 times)

0 Members and 1 Guest are viewing this topic.

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Admin Group
« on: May 21, 2013, 11:10:25 PM »
Hello.
I am currently an admin working on a Trouble in Terrorist Town server, and I have a few questions about ULX, admin groups specifically.
On the server we have 3 admin groups. "moderators", "admins", "superadmins". And it's quite obvious what each of them do, mods have less powers than admins, and admins less than superadmins (by default). Having TTT on our server, we use the voice drain that's in TTT, which again is divided into "admins" and "users". The voice drain for admins work with the "admins" and "superadmins" group, but not with the "moderators" group. And while I know there's some way of changing the admins group into having less powers, making moderators inherit from that and then later make another one with more power to inherit from the moderators group, I would like to know if there was some way to make the moderators group be an admin group. Is this possible?
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Admin Group
« Reply #1 on: May 22, 2013, 06:39:45 AM »
Am I correct in thinking that you want to add a group between admins and superadmins? Such that the power increase goes admin->moderator->superadmin?
Experiencing God's grace one day at a time.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Admin Group
« Reply #2 on: May 22, 2013, 07:46:32 AM »
No, I think he wants to make moderator (which is less than admin) behave like it's an admin group for the purposes of scripts that use IsAdmin.

The best way to do this, is to have your moderator group inherit the admin group. Then you can use XGUI to go through and deny access to the commands you don't want the moderators to have.

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Admin Group
« Reply #3 on: May 22, 2013, 10:18:46 AM »
I was hoping to not have to do that, but if that's what I have to do, then I'll do it. Thanks for the help though!
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Admin Group
« Reply #4 on: May 22, 2013, 11:55:58 AM »
Short of rewriting the sections of every addon you want to give access to, this is the only way.