ULX

Author Topic: Custom Ranks  (Read 2583 times)

0 Members and 1 Guest are viewing this topic.

Offline xLiaMz

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
Custom Ranks
« on: November 03, 2012, 04:44:17 PM »
Okay so I want to add custom ranks for my server although I do not know how you add immunity etc, could anybody tell me how? This is what i have so far, could you also tell me if its right? (Placed in data->ulib->groups.txt)

Code: [Select]
"owner"
{
"allow"
{
"ulx addgroup"
"ulx adduser"
"ulx adduserid"
"ulx banid"
"ulx cexec"
"ulx ent"
"ulx exec"
"ulx groupallow"
"ulx groupdeny"
"ulx hiddenecho"
"ulx logchat"
"ulx logdir"
"ulx logecho"
"ulx logechocolorconsole"
"ulx logechocolordefault"
"ulx logechocoloreveryone"
"ulx logechocolormisc"
"ulx logechocolorplayer"
"ulx logechocolorplayerasgroup"
"ulx logechocolors"
"ulx logechocolorself"
"ulx logevents"
"ulx logfile"
"ulx logjoinleaveecho"
"ulx logspawns"
"ulx logspawnsecho"
"ulx luarun"
"ulx maul"
"ulx rcon"
"ulx removegroup"
"ulx removeuser"
"ulx removeuserid"
"ulx renamegroup"
"ulx setgroupcantarget"
"ulx userallow"
"ulx userallowid"
"ulx userdeny"
"ulx userdenyid"
"ulx voteecho"
"xgui_gmsettings"
"xgui_managebans"
"xgui_managegroups"
"xgui_svsettings"
}
"inherit_from" "admin"
}
"operator"
{
"can_target" "!%admin"
"allow"
{
"ulx seeasay"
}
"inherit_from" "user"
}
"user"
{
"allow"
{
"ulx asay"
"ulx help"
"ulx motd"
"ulx psay"
"ulx thetime"
"ulx usermanagementhelp"
"ulx votemap"
"ulx who"
}
}
"admin"
{
"can_target" "!%owner"
"allow"
{
"ulx ban"
"ulx blind"
"ulx bring"
"ulx chattime"
"ulx cloak"
"ulx csay"
"ulx freeze"
"ulx gag"
"ulx gimp"
"ulx god"
"ulx goto"
"ulx hp"
"ulx ignite"
"ulx kick"
"ulx kickafternamechanges"
"ulx kickafternamechangescooldown"
"ulx kickafternamechangeswarning"
"ulx map"
"ulx mute"
"ulx physgunplayer"
"ulx playsound"
"ulx ragdoll"
"ulx reservedslots"
"ulx rslots"
"ulx rslotsmode"
"ulx rslotsvisible"
"ulx seeanonymousechoes"
"ulx send"
"ulx showmotd"
"ulx slap"
"ulx slay"
"ulx spawnecho"
"ulx spectate"
"ulx sslay"
"ulx strip"
"ulx teleport"
"ulx tsay"
"ulx unban"
"ulx unblind"
"ulx uncloak"
"ulx unfreeze"
"ulx ungag"
"ulx ungimp"
"ulx unignite"
"ulx unigniteall"
"ulx unjail"
"ulx unmute"
"ulx unragdoll"
"ulx veto"
"ulx vote"
"ulx voteban"
"ulx votebanminvotes"
"ulx votebansuccessratio"
"ulx votekick"
"ulx votekickminvotes"
"ulx votekicksuccessratio"
"ulx votemap2"
"ulx votemap2minvotes"
"ulx votemap2successratio"
"ulx votemapenabled"
"ulx votemapmapmode"
"ulx votemapmintime"
"ulx votemapminvotes"
"ulx votemapsuccessratio"
"ulx votemapvetotime"
"ulx votemapwaittime"
"ulx welcomemessage"
"ulx whip"
}
"inherit_from" "operator"
}
"jradmin"
{
"can_target" "!%admin"
"allow"
{
"ulx ban"
"ulx bring"
"ulx chattime"
"ulx csay"
"ulx gag"
"ulx goto"
"ulx hp"
"ulx kick"
"ulx kickafternamechanges"
"ulx kickafternamechangescooldown"
"ulx kickafternamechangeswarning"
"ulx map"
"ulx mute"
"ulx ragdoll"
"ulx reservedslots"
"ulx rslots"
"ulx rslotsmode"
"ulx rslotsvisible"
"ulx seeanonymousechoes"
"ulx send"
"ulx showmotd"
"ulx slap"
"ulx slay"
"ulx spawnecho"
"ulx spectate"
"ulx sslay"
"ulx strip"
"ulx teleport"
"ulx tsay"
"ulx unban"
"ulx ungag"
"ulx unmute"
"ulx unragdoll"
"ulx veto"
"ulx vote"
"ulx voteban"
"ulx votebanminvotes"
"ulx votebansuccessratio"
"ulx votekick"
"ulx votekickminvotes"
"ulx votekicksuccessratio"
"ulx votemap2"
"ulx votemap2minvotes"
"ulx votemap2successratio"
"ulx votemapenabled"
"ulx votemapmapmode"
"ulx votemapmintime"
"ulx votemapminvotes"
"ulx votemapsuccessratio"
"ulx votemapvetotime"
"ulx votemapwaittime"
"ulx welcomemessage"
"ulx whip"
}
"inherit_from" "operator"
}
"mod"
{
"can_target" "!%jradmin"
"allow"
{
"ulx bring"
"ulx chattime"
"ulx csay"
"ulx gag"
"ulx goto"
"ulx kick"
"ulx kickafternamechanges"
"ulx kickafternamechangescooldown"
"ulx kickafternamechangeswarning"
"ulx map"
"ulx mute"
"ulx rslots"
"ulx rslotsmode"
"ulx rslotsvisible"
"ulx seeanonymousechoes"
"ulx send"
"ulx showmotd"
"ulx slay"
"ulx spawnecho"
"ulx spectate"
"ulx sslay"
"ulx teleport"
"ulx tsay"
"ulx ungag"
"ulx unmute"
"ulx unragdoll"
"ulx veto"
"ulx vote"
"ulx voteban"
"ulx votebanminvotes"
"ulx votebansuccessratio"
"ulx votekick"
"ulx votekickminvotes"
"ulx votekicksuccessratio"
"ulx votemap2"
"ulx votemap2minvotes"
"ulx votemap2successratio"
"ulx votemapenabled"
"ulx votemapmapmode"
"ulx votemapmintime"
"ulx votemapminvotes"
"ulx votemapsuccessratio"
"ulx votemapvetotime"
"ulx votemapwaittime"
"ulx welcomemessage"
}
"inherit_from" "operator"
}

Plus how could I add a website page to my MOTD

Thanks for reading.
« Last Edit: November 03, 2012, 04:49:35 PM by xLiaMz »

Offline JackYack13

  • Newbie
  • *
  • Posts: 28
  • Karma: -1
Re: Custom Ranks
« Reply #1 on: November 04, 2012, 06:28:42 AM »
I think it would be easier to add ranks using the "Groups" tab in XGUI. You can do all things like immunity, permissions, inheritance, etc. form there.

To make the MOTD show your custom page, type in the server console 'ulx showmotd "url of your page"'.

Offline xLiaMz

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
Re: Custom Ranks
« Reply #2 on: November 05, 2012, 04:59:26 AM »
Thank you for your help. Have any idea to configure the server so at the end of the last round you have to vote for the next map? (TTT)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Custom Ranks
« Reply #3 on: November 05, 2012, 07:40:44 AM »
Have any idea to configure the server so at the end of the last round you have to vote for the next map? (TTT)

That doesn't have anything to do with our code, so no, I'm not sure how to do that. :P
Experiencing God's grace one day at a time.