Ulysses Stuff > Ulysses Release Archives
UTeam - Set teams based on usergroup.
Gareth_25:
I've been an avid user of UTeam since it has first appeared and first and foremost big thanks to all for ULX, ULib and UTeam's respective creators and contributors.
However i've come accross a situation where I would like to know whether the following is possible:
Presently we are running on our server the UTime module (bare with me, it gets more relevent) and once a user reaches a certain length of playtime eg, 10, 20, 40, 60 etc. hours, then we upgrade their rank by the ULX adduser command.
Is it possible to have UTeam configured to automatically upgrade the users to the relevent ranks after X amount of time has surpassed, and further more have "rules" for this to occur. Eg to "Start" at user and cycle through 4 or 5 groups to "stop" before moderator?
JamminR:
Gareth_25, please see a major discussion similiar to your request here. "Linking the two" [http://forums.ulyssesmod.net/index.php/topic,3308.0.html]
No plans (I know of) by Megiddo or SPBogie are currently in the near future for your idea, at least for UTeam and UTime combined.
Perhaps an addon by someone of our community might be released.
I believe someone posted working code in the above link though.
Alex:
Hey guys, there's a problem with my Uteam. Sorry if this is the wrong form but I need help. :)
Heres the problem I tried out Uteam thought It was pretty cool, so I wanted to make my own group. Then when I made it it didn't work when I played Gmod. :'(
So heres my Uteam.txt:
--- Code: ---"Out"
{
"teams"
{
"1"
{
"name" "SuperAdmins"
"group" "superadmin"
"armor" "1000"
"hp" "1000"
"color"
{
"a" "255"
"B" "85"
"g" "200"
"r" "0"
}
"model" "combine"
"plytable"
{
"1" "SprintSpeed:1000"
"2" "WalkSpeed:500"
}
}
"2"
{
"name" "Admins"
"group" "admin"
"armor" "500"
"hp" "500"
"color"
{
"a" "255"
"B" "50"
"g" "50"
"r" "255"
}
"model" "police"
}
"3"
{
"name" "Operators"
"group" "operator"
"armor" "200"
"hp" "200"
"color"
{
"a" "255"
"B" "0"
"g" "200"
"r" "255"
}
}
"4"
{
"name" "Moterators
"group" "moterator"
"color"
{
"a" "255"
"B" "255"
"g" "0"
"r" "100"
}
"model" "breen"
}
"5"
{
"name" "Players"
"group" "user"
"color"
{
"a" "255"
"B" "255"
"g" "100"
"r" "0"
}
"model" "male1"
}
}
"gamemodes"
{
"1" "Sandbox"
}
}
--- End code ---
And heres my groups.txt:
--- Code: ---"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"
"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"
"ups_damage"
"ups_vehicle"
"ups_freeze"
"ups_physgun"
"ups_remove"
"ups_tool"
"ups_unfreeze"
"ups_use"
"ups disableplayers"
"ups miscdeletionaccess"
}
"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"
{
}
}
"operator"
{
"deny"
{
}
"allow"
{
"ulx seeasay"
}
"inherit_from"
{
}
}
"moterator"
{
"deny"
{
}
"allow"
{
"ulx mute"
"ulx unmute"
"ulx gag"
"ulx ungag"
"ulx gimp"
"ulx ungimp"
}
"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"
{
}
}
--- End code ---
As you see I added the group "moterator". So I hope you help me fix it soon! :) Again sorry if I posted on the wrong form.
Megiddo:
You have to add someone to the group.
Alex:
No, the thing is NO PART of Uteam will work, the user, admin, and superadmin won't work. See what I mean?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version