ULX

Author Topic: Uteam/ulib groups  (Read 5818 times)

0 Members and 2 Guests are viewing this topic.

Warlizzard

  • Guest
Uteam/ulib groups
« on: May 19, 2008, 12:14:52 PM »
Can anyone make me a Uteam setup & a groups setup that i can just copy paste into where the uteam and groups.txt are located? Because i have no idea what im doing when trying to add groups, ive searched the forum and tryed diffrent methods, but without any luck. So a pure copy/paste would be nice!

Groups/color
Zero - Black (want it to inherit from admin, since hes admin on my server)
rob - white (want it to inherit from admin, since hes admin on my server)
Trusted - orange (want it to enherit from normal user but with orange color)
Donator - pink (want it to enherit from normal user but with pink color)
VIP - brown (want it to enherit from normal user but with brown color)


superadmin, admin, operator (the original`s) are working and dont need to be added. This would be nice guys, you can get an operator/trial on my server for doing this job for me or any other request that is in my power:=)

Thanks

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Uteam/ulib groups
« Reply #1 on: May 19, 2008, 04:30:21 PM »
Don't double post, it makes people less likely to help you.
Experiencing God's grace one day at a time.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Uteam/ulib groups
« Reply #2 on: May 19, 2008, 05:14:32 PM »
Quote
Zero - Black (want it to inherit from admin, since hes admin on my server)
rob - white (want it to inherit from admin, since hes admin on my server)

If you're wanting to add people as admin, please view the FAQS http://forums.ulyssesmod.net/index.php/board,30.0.html. Also if someone were to attempt to make these two people admins on your server, you'd have to include a steam id with their names.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Uteam/ulib groups
« Reply #3 on: May 19, 2008, 07:26:19 PM »
He seems to be wanting someone else to use ulx addgroup, and then ulx adduser to add people to them, THEN configure UTeam.
I understand why someone might ask for assistance with UTeam, but want the work done outright seems a bit overkill for ULX. We provide the commands and help for them in "ulx usermanagementhelp", which, you have to read before you can use the commands.

Perhaps we might help you if you were to explain what you need help with understanding, more than just asking someone to do the work for you.

I guess it is possible you aren't using ULX, which, would make it difficult to use those commands for addgroup and adduser.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Warlizzard

  • Guest
Re: Uteam/ulib groups
« Reply #4 on: May 20, 2008, 01:00:13 PM »
I wouldnt have asked of this if i havnt tryed everything. But im accualy dragging my hair and can`t figure out what im doing wrong. I know im asking for the full job, i just want this to be done with and maybe figure out what i did wrong aswell, its not because ive not tryed everything or that im lazy in any way. The thread states " General Chat & Help and Support " and thats what i am asking for.

Yes ofc im using ULX ... i stil cant find any answer for what im doing wrong, all i can see in other threads are the commands and half done usergroups that other peoples have made. Since all the { } etc etc doesnt make any since to me, im having a hard time fully understanding this.

Im sorry for dubble posting but i couldnt find any threads with the same question..

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Uteam/ulib groups
« Reply #5 on: May 20, 2008, 01:09:06 PM »
I'll tell ya what. This is something I can throw together for you in 5 minutes or less.... however, I need your groups.txt file. Mine is customized to MY liking and it wouldnt work for you and I dont want to re-install ULX to get a fresh one. Give me that, and I'll spew out what you need to make this work on your server.

Code: [Select]
"Out"
{
"teams"
{
"1"
{
"name" "Super Admin"
"group" "superadmin"
"color"
{
"a" "255"
"B" "0"
"g" "255"
"r" "0"
}
}
"2"
{
"name" "Admin"
"group" "admin"
"color"
{
"a" "255"
"B" "0"
"g" "190"
"r" "0"
}
}
"3"
{
"name" "Zero"
"group" "zero"
"color"
{
"a" "255"
"B" "0"
"g" "0"
"r" "0"
}
}
"4"
{
"name" "Rob"
"group" "rob"
"color"
{
"a" "255"
"B" "255"
"g" "255"
"r" "255"
}
}
"5"
{
"name" "Trusted"
"group" "trusted"
"color"
{
"a" "255"
"B" "0"
"g" "128"
"r" "255"
}
}
"6"
{
"name" "Donator"
"group" "donator"
"color"
{
"a" "255"
"B" "255"
"g" "128"
"r" "255"
}
}
"7"
{
"name" "VIP"
"group" "vip"
"color"
{
"a" "255"
"B" "0"
"g" "0"
"r" "70"
}
}
"8"
{
"name" "Guest"
"group" "user"
"color"
{
"a" "255"
"B" "255"
"g" "0"
"r" "0"
}
}
}
"gamemodes"
{
"1" "Sandbox"
}
}
There is your UTeam.txt file. Still waiting on your groups.txt so i can add to it.


Also, the group names are LOWERCASE. Display names can be capitalized, but the actual group names are all lower-case. (meaning... when you add someone to a group, use lowercase names.)

Also, make sure you live up to your end. Learn from this, make sure you understand it. Then pay it forward and help others who don't understand. =)
« Last Edit: May 20, 2008, 01:27:28 PM by MrPresident »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Uteam/ulib groups
« Reply #6 on: May 20, 2008, 07:58:25 PM »
Better yet, don't do his groups for him.
Show him how it's done.

With Rob and Zero connected to server; from console with you having superadmin access,
Command - what it does
ulx addgroup zero admin - add group zero, inherit from admin
ulx adduser zero zero - add user zero to group zero (add a 1 on end of that if you want him immunity from other admin commands)

ulx addgroup rob admin - add group rob, inherit from admin
ulx adduser rob rob - add user rob to group rob (same immunity statement as above)

ulx addgroup trusted - add group trusted, placing nothing after new group name will inherit user by default.
ulx adduser <any_user_you_want> trusted - will place any user you specify to trusted.

... Do same for donator, VIP, you should get the picture by now.
« Last Edit: May 20, 2008, 08:11:28 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Uteam/ulib groups
« Reply #7 on: May 20, 2008, 10:22:26 PM »
Ahh.... Very true. groups can be created in game now.. I completely forgot. I'm just old school like that I guess.

You have been given the only thing you need then. The UTeam file. Use that file and create the groups for it and you'll be good to go! =)

Warlizzard

  • Guest
Re: Uteam/ulib groups
« Reply #8 on: May 21, 2008, 05:59:40 AM »
This is my groups.. i tryed to follow some guides from other threads.. But i cant get it towork ffs :/



Code: [Select]
"superadmin"
{
"deny"
{
}
"allow"
{
"ulx hiddenecho"
"ulx rcon"
"ulx luarun"
"ulx cexec"
"ulx ent"
"ulx adduser"
"ulx adduserid"
"ulx removeuser"
"ulx userallow"
"ulx userdeny"
"ulx addgroup"
"ulx removegroup"
"ulx groupallow"
"ulx groupdeny"
                "ulx hasreadhelp"
                "ulx usermanagementhelp"

"overcomeimmunity"
}
"inherit_from"
{
"admin"
}
}
"activeplayer"
{
"deny"
{
}
"allow"
{
}
"inherit_from"
{
"activeplayer"
}
}
"vip"
{
"deny"
{
}
"allow"
{
}
"inherit_from"
{
"vip"
}
}
"donator"
{
"deny"
{
}
"allow"
{
}
"inherit_from"
{
"donator"
}
}
"zero"
{
"deny"
{
}
"allow"
{
}
"inherit_from"
{
"admin"
}
}
"rob"
{
"deny"
{
}
"allow"
{
}
"inherit_from"
{
"admin"
}
}
"admin"
{
"deny"
{
}
"allow"
{
"ulib_passtime"
"ulib_passtimeout"
"ulx spawnecho"
"ulx tsay"
"ulx csay"
"ulx gimp"
"ulx mute"
"ulx ungimp"
"ulx unmute"
"ulx gag"
"ulx ungag"
"ulx chattime"
"ulx welcomemessage"
"ulx slap"
"ulx whip"
"ulx slay"
"ulx sslay"
"ulx ignite"
"ulx unignite"
"ulx playsound"
"ulx freeze"
"ulx unfreeze"
"ulx god"
"ulx ungod"
"ulx noclip"
"ulx hp"
"ulx armor"
"ulx cloak"
"ulx uncloak"
"ulx blind"
"ulx unblind"
"ulx jail"
"ulx unjail"
"ulx ghost"
"ulx unghost"
"ulx ragdoll"
"ulx unragdoll"
"ulx maul"
"ulx strip"
"ulx adminmenu"
"ulx clientmenu"
"ulx mapsmenu"
"ulx showmotd"
"ulx banmenu"
"ulx exec"
"ulx rslotsmode"
"ulx rslots"
"ulx rslotsvisible"
"ulx reservedslots"
"ulx bring"
"ulx goto"
"ulx send"
"ulx teleport"
"ulx tooldeny"
"ulx toolallow"
"ulx tooldenyuser"
"ulx toolallowuser"
"ulx tooldenyoverride"
"ulx map"
"ulx kick"
"ulx ban"
"ulx banid"
"ulx unban"
"ulx spectate"
"ulx mingekick"
"ulx physgunplayer"
"ulx vote"
"ulx votemap2"
"ulx votekick"
"ulx voteban"
"ulx veto"
}
"inherit_from"
{
"operator"
}
}
"user"
{
"deny"
{
}
"allow"
{
"ulx"
"ulx help"
"ulx psay"
"ulx asay"
"ulx thetime"
"ulx menu"
"ulx_valueupdate"
"ulx_cvar"
"ulx_getgamemodes"
"ulx motd"
"ulx_getbans"
"ulx usermanagementhelp"
"ulx who"
"ulx votemap"
}
"inherit_from"
{
}
}
"none"
{
"deny"
{
}
"allow"
{
"ulx logecho"
"ulx logfile"
"ulx logevents"
"ulx logchat"
"ulx logspawns"
"ulx logspawnsecho"
"ulx logdir"
"ulx addgimpsay"
"ulx addadvert"
"ulx addcsayadvert"
"ulx addforceddownload"
"ulx debuginfo"
"ulx voteecho"
"ulx votemap2successratio"
"ulx votemap2minvotes"
"ulx votekicksuccessratio"
"ulx votekickminvotes"
"ulx votebansuccessratio"
"ulx votebanminvotes"
"ulx votemapenabled"
"ulx votemapmintime"
"ulx votemapwaittime"
"ulx votemapsuccessratio"
"ulx votemapminvotes"
"ulx votemapvetotime"
"ulx votemapmapmode"
"ulx votemapaddmap"
}
"inherit_from"
{
}
}
"operator"
{
"deny"
{
}
"allow"
{
                "ulx jail"
                "ulx unjail"
                "ulx bring"
                "ulx goto"
                "ulx votemap"
                "ulx tsay"
"ulx csay"
"ulx gimp"
"ulx mute"
"ulx ungimp"
"ulx unmute"
"ulx gag"
"ulx ungag"
"ulx slap"
"ulx whip"
"ulx slay"
"ulx sslay"
"ulx ignite"
"ulx unignite"
"ulx playsound"
"ulx freeze"
"ulx unfreeze"
"ulx god"
"ulx ungod"
"ulx noclip"
                "ulx physgunplayer"
                "ulx strip"
"ulx adminmenu"
                "ulx menu"
"ulx clientmenu"
"ulx mapsmenu"
"ulx seeasay"
                "ulx voteban"
                "ulx kick"
}
"inherit_from"
{
}
}



THis is my UTEAM file


Code: [Select]
"Out"
{
"teams"
{
"1"
{
"name" "SuperAdmins"
"group" "superadmin"
"armor" "1000"
"hp" "1000"
"color"
{
"a" "255"
"B" "85"
"g" "200"
"r" "0"
}
"plytable"
{
"1" "SprintSpeed:1000"
"2" "WalkSpeed:500"
}
}
"2"
{
"name" "Zero"
"group" "zero"
"armor" "666"
"hp" "666"
"color"
{
"a" "255"
"B" "0"
"g" "0"
"r" "0"
}
}
"3"
{
"name" "Rob"
"group" "rob"
"armor" "1337"
"hp" "1337"
"color"
{
"a" "255"
"B" "255"
"g" "255"
"r" "255"
}
}
"4"
{
"name" "Admins"
"group" "admin"
"armor" "500"
"hp" "500"
"color"
{
"a" "255"
"B" "50"
"g" "50"
"r" "255"
}
}
"5"
{
"name" "Operators"
"group" "operator"
"armor" "200"
"hp" "200"
"color"
{
"a" "255"
"B" "0"
"g" "200"
"r" "255"
}
}
"6"
{
"name" "Players"
"group" "user"
"color"
{
"a" "255"
"B" "255"
"g" "100"
"r" "0"
}
}
"7"
{
"name" "Active"
"group" "activeplayer"
"armor" "200"
"hp" "200"
"color"
{
"a" "255"
"B" "19"
"g" "69"
"r" "139"
}
}
"8"
{
"name" "VIP"
"group" "VIP"
"armor" "777"
"hp" "777"
"color"
{
"a" "255"
"B" "128"
"g" "128"
"r" "240"
}
}
"9"
{
"name" "DONATOR"
"group" "donator"
"armor" "123"
"hp" "456"
"color"
{
"a" "255"
"B" "0"
"g" "69"
"r" "255"
}
}
               
}
"gamemodes"
{
"1" "Sandbox"
"2" "SpaceBuild"
}
}





Now.. What am i doing wrong?  Dont ask me why but i cant figure out how not to get the txt squish like that eather.. sigh

Warlizzard

  • Guest
Re: Uteam/ulib groups
« Reply #9 on: May 21, 2008, 06:08:29 AM »
Ignore the Uteam above.. i got the one Mr.President made now. Still not working, and i tryed to " ulx adduser" and tryed to make a group. its not working.. :/

Megiddo_at_work

  • Guest
Re: Uteam/ulib groups
« Reply #10 on: May 21, 2008, 06:41:52 AM »
You have a couple infinitely recursing inherits in your group.txt.

Warlizzard

  • Guest
Re: Uteam/ulib groups
« Reply #11 on: May 21, 2008, 07:07:20 AM »
Code: [Select]
"superadmin"
{
"deny"
{
}
"allow"
{
"ulx hiddenecho"
"ulx rcon"
"ulx luarun"
"ulx cexec"
"ulx ent"
"ulx adduser"
"ulx adduserid"
"ulx removeuser"
"ulx userallow"
"ulx userdeny"
"ulx addgroup"
"ulx removegroup"
"ulx groupallow"
"ulx groupdeny"
"ulx hasreadhelp"
"ulx usermanagementhelp"
"overcomeimmunity"
}
"inherit_from"
{
"admin"
}
}
"admin"
{
"deny"
{
}
"allow"
{
"ulib_passtime"
"ulib_passtimeout"
"ulx spawnecho"
"ulx tsay"
"ulx csay"
"ulx gimp"
"ulx mute"
"ulx ungimp"
"ulx unmute"
"ulx gag"
"ulx ungag"
"ulx chattime"
"ulx welcomemessage"
"ulx slap"
"ulx whip"
"ulx slay"
"ulx sslay"
"ulx ignite"
"ulx unignite"
"ulx playsound"
"ulx freeze"
"ulx unfreeze"
"ulx god"
"ulx ungod"
"ulx noclip"
"ulx hp"
"ulx armor"
"ulx cloak"
"ulx uncloak"
"ulx blind"
"ulx unblind"
"ulx jail"
"ulx unjail"
"ulx ghost"
"ulx unghost"
"ulx ragdoll"
"ulx unragdoll"
"ulx maul"
"ulx strip"
"ulx adminmenu"
"ulx clientmenu"
"ulx mapsmenu"
"ulx showmotd"
"ulx banmenu"
"ulx exec"
"ulx rslotsmode"
"ulx rslots"
"ulx rslotsvisible"
"ulx reservedslots"
"ulx bring"
"ulx goto"
"ulx send"
"ulx teleport"
"ulx tooldeny"
"ulx toolallow"
"ulx tooldenyuser"
"ulx toolallowuser"
"ulx tooldenyoverride"
"ulx map"
"ulx kick"
"ulx ban"
"ulx banid"
"ulx unban"
"ulx spectate"
"ulx mingekick"
"ulx physgunplayer"
"ulx vote"
"ulx votemap2"
"ulx votekick"
"ulx voteban"
"ulx veto"
}
"inherit_from"
{
"operator"
}
}
"user"
{
"deny"
{
}
"allow"
{
"ulx"
"ulx help"
"ulx psay"
"ulx asay"
"ulx thetime"
"ulx menu"
"ulx_valueupdate"
"ulx_cvar"
"ulx_getgamemodes"
"ulx motd"
"ulx_getbans"
"ulx usermanagementhelp"
"ulx who"
"ulx votemap"
}
"inherit_from"
{
}
}
"zero"
{
        "deny"
{
}
"allow"
{
                "ulx menu"
              "ulib_passtime"
"ulib_passtimeout"
"ulx spawnecho"
"ulx tsay"
"ulx csay"
"ulx gimp"
"ulx mute"
"ulx ungimp"
"ulx unmute"
"ulx gag"
"ulx ungag"
"ulx chattime"
"ulx welcomemessage"
"ulx slap"
"ulx whip"
"ulx slay"
"ulx sslay"
"ulx ignite"
"ulx unignite"
"ulx playsound"
"ulx freeze"
"ulx unfreeze"
"ulx god"
"ulx ungod"
"ulx noclip"
"ulx hp"
"ulx armor"
"ulx cloak"
"ulx uncloak"
"ulx blind"
"ulx unblind"
"ulx jail"
"ulx unjail"
"ulx ghost"
"ulx unghost"
"ulx ragdoll"
"ulx unragdoll"
"ulx maul"
"ulx strip"
"ulx adminmenu"
"ulx clientmenu"
"ulx mapsmenu"
"ulx showmotd"
"ulx banmenu"
"ulx exec"
"ulx rslotsmode"
"ulx rslots"
"ulx rslotsvisible"
"ulx reservedslots"
"ulx bring"
"ulx goto"
"ulx send"
"ulx teleport"
"ulx tooldeny"
"ulx toolallow"
"ulx tooldenyuser"
"ulx toolallowuser"
"ulx tooldenyoverride"
"ulx map"
"ulx kick"
"ulx ban"
"ulx banid"
"ulx unban"
"ulx spectate"
"ulx mingekick"
"ulx physgunplayer"
"ulx vote"
"ulx votemap2"
"ulx votekick"
"ulx voteban"
"ulx veto"
}
"inherit_from"
{
                "operator"
}
}
"operator"
{
"deny"
{
}
"allow"
{
"ulx jail"
"ulx unjail"
"ulx bring"
"ulx goto"
"ulx votemap"
"ulx tsay"
"ulx csay"
"ulx gimp"
"ulx mute"
"ulx ungimp"
"ulx unmute"
"ulx gag"
"ulx ungag"
"ulx slap"
"ulx whip"
"ulx slay"
"ulx sslay"
"ulx ignite"
"ulx unignite"
"ulx playsound"
"ulx freeze"
"ulx unfreeze"
"ulx god"
"ulx ungod"
"ulx noclip"
"ulx physgunplayer"
"ulx strip"
"ulx adminmenu"
"ulx menu"
"ulx clientmenu"
"ulx mapsmenu"
"ulx seeasay"
"ulx voteban"
"ulx kick"
}
"inherit_from"
{
}
}
"donator"
{
"deny"
{
}
"allow"
{
}
"inherit_from"
{
}
}
"none"
{
"deny"
{
}
"allow"
{
"ulx logecho"
"ulx logfile"
"ulx logevents"
"ulx logchat"
"ulx logspawns"
"ulx logspawnsecho"
"ulx logdir"
"ulx addgimpsay"
"ulx addadvert"
"ulx addcsayadvert"
"ulx addforceddownload"
"ulx debuginfo"
"ulx voteecho"
"ulx votemap2successratio"
"ulx votemap2minvotes"
"ulx votekicksuccessratio"
"ulx votekickminvotes"
"ulx votebansuccessratio"
"ulx votebanminvotes"
"ulx votemapenabled"
"ulx votemapmintime"
"ulx votemapwaittime"
"ulx votemapsuccessratio"
"ulx votemapminvotes"
"ulx votemapvetotime"
"ulx votemapmapmode"
"ulx votemapaddmap"
}
"inherit_from"
{
}
}


Now i get the color on the groups, if i dont add the "inherit_from" when im adding group trough console. But if i type inherit from admin while adding a group trough console, and restarts the server.. The group changes color to green and name to admin.

so im still confused... If i  make a group "zero" from console, should i inherit it from admin, operator or something? because it changes the color and name if i do this and restarts.

Megiddo_at_work

  • Guest
Re: Uteam/ulib groups
« Reply #12 on: May 21, 2008, 07:23:55 AM »
For your purposes, leave inheritance blank and everything (if you configured the other stuff right) should work.

Warlizzard

  • Guest
Re: Uteam/ulib groups
« Reply #13 on: May 21, 2008, 07:26:23 AM »
For your purposes, leave inheritance blank and everything (if you configured the other stuff right) should work.


Yeah i get it to work when i set permits for the zero group. But he are not able to remove the players props or use the simple prop protection then, same with admin menu. But he can use the other commands. So.. how should i add so he can remove other peoples stuff and use the simple prop protection?

Warlizzard

  • Guest
Re: Uteam/ulib groups
« Reply #14 on: May 22, 2008, 07:35:48 AM »
bump :/ still cant fix so the zer and rob (admins) can remove the other players props. any idea out there?