ULX

Author Topic: New admin ranks  (Read 2243 times)

0 Members and 1 Guest are viewing this topic.

Offline DarkLighte

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
New admin ranks
« on: December 21, 2007, 11:00:14 PM »
I want a rank called god to be the highest admin. I added it to the users txt above super and in the groups, but when I add some 1 they do not turn green. Can this be fixed?

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: New admin ranks
« Reply #1 on: December 22, 2007, 12:56:31 AM »
in your groups.txt file make this "god" group inherit the superadmin group. By default and by all practical measures superadmin is the highest.. your best bet would be to use something like UTeam and simply make the superadmin rank be called God.

Offline DarkLighte

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: New admin ranks
« Reply #2 on: December 22, 2007, 01:59:18 AM »
thats what iv done but I have not access to nukes

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: New admin ranks
« Reply #3 on: December 22, 2007, 02:21:28 AM »
Depending on how the nuke addon determines if you are an admin may effect you... if you inherit the superadmin group, you will always ALWAYS return true if they use ply:IsSuperAdmin or ply:IsAdmin to see if you are an admin.

however.. if they are using ply:IsUserGroup("admin") or ply:IsUserGroup("superadmin") then you will not be recognised unless you are IN THOSE GROUPS..

Offline DarkLighte

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: New admin ranks
« Reply #4 on: December 22, 2007, 02:53:09 AM »
Got it working thanks for your help