Author Topic: Admin Inheritance  (Read 2083 times)

0 Members and 1 Guest are viewing this topic.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Admin Inheritance
« on: November 18, 2007, 01:01:49 AM »
Here is my delima...

Code: [Select]
"superadmin"
{
"deny"
{
}
"allow"
{
"ulx rcon"
"ulx luarun"
"ulx ent"
"ulx cexec"
"ulx adduser"
"ulx removeuser"
"ulx userallow"
"ulx userdeny"
"ulx hiddenecho"
"overcomeimmunity"
"ulx adduser"
"ulx userallow"
"ulx userdeny"
"ulx groupallow"
"ulx groupdeny"
"ulx removeuser"
"ulx removegroup"
}
"inherit_from"
{
"admin"
}
}
"admin"
{
"deny"
{
}
"allow"
{
"ulib_passtime"
"ulib_passtimeout"
"ulx slap"
"ulx whip"
"ulx slay"
"ulx sslay"
"ulx ignite"
"ulx playsound"
"ulx freeze"
"ulx unfreeze"
"ulx god"
"ulx ungod"
"ulx noclip"
"ulx hp"
"ulx cloak"
"ulx uncloak"
"ulx blind"
"ulx unblind"
"ulx jail"
"ulx unjail"
"ulx bring"
"ulx goto"
"ulx send"
"ulx teleport"
"ulx ghost"
"ulx unghost"
"ulx ragdoll"
"ulx unragdoll"
"ulx vote"
"ulx gimp"
"ulx mute"
"ulx ungimp"
"ulx unmute"
"ulx maul"
"ulx gag"
"ulx ungag"
"ulx rslotsmode"
"ulx rslots"
"ulx rslotsvisible"
"reservedslots"
"ulx tooldeny"
"ulx toolallow"
"ulx tooldenyuser"
"ulx toolallowuser"
"ulx tsay"
"ulx csay"
"ulx exec"
"ulx map"
"ulx kick"
"ulx ban"
"ulx spectate"
"ulx adminmenu"
"ulx clientmenu"
"ulx mapsmenu"
"ulx votemap2"
"ulx votekick"
"ulx voteban"
"ulx mingekick"
"ulx welcomemessage"
"ulx showmotd"
"ulx chattime"
"ulx veto"
"ulx banid"
"ulx spawnecho"
"ulx banmenu"
"ulx reservedslots"
"ulx tooldenyoverride"
"ulx unban"
"ulx physgunplayer"
}
"inherit_from"
{
}
}
"goldadmin"
{
"deny"
{
}
"allow"
{
}
"inherit_from"
{
                "admin"
}
}

When I place someone in the goldadmin group they appear in that group when I ulx who.. but on the scoreboard they appear as admin and are the same colour as the admin group. I am using sui_scoreboard with UTeam for the record...

If I just copy and paste the allows into the goldadmin group he will get all the commands, but not the ability to be recognised as an admin by other scripts such as admin only entities and prop protection.

I can swear I've done it before, where I had a rank that mocked the admin rank but was able to retain it's own name and colour in the scoreboard.

Ideas? much appreciated..

also.. when I did this last, was after the newest version of ULX was released, but not since the last revision.. if that has anything to do with it.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Admin Inheritance
« Reply #1 on: November 18, 2007, 01:49:22 AM »
nevermind... lul.. My UTeam.txt file was checking super, admin, goldadmin so of course when it reached admin it associated the gold admin people with that group because of the inheritence.. I just made it check super, goldadmin, then admin and it works fine now.


Thanks anyways =)