Ulysses Stuff > Ulysses Release Archives

UTeam - Set teams based on usergroup.

<< < (17/52) > >>

Typo001:
Ok, I did manage to make one group correctly, but when I added "owner", the unassigned problem came back. Could someone tell me what I did wrong:

My UTeam.Txt

--- Code: ---"Out"
{
"teams"
{
"1"
{
"name" "Owner"
"group" "superadmin"
"armor" "1000"
"hp" "1000"
"color"
{
"a" "255"
"B" "255"
"g" "255"
"r" "255"
}
"plytable"
{
"1" "SprintSpeed:1000"
"2" "WalkSpeed:500"
}
}
"2"
{
"name" "Moderator"
"group" "owner"
"armor" "1000"
"hp" "1000"
"color"
{
"a" "255"
"B" "0"
"g" "240"
"r" "222"
}
}
"3"
{
"name" "HIGHLY Respected"
"group" "admin"
"armor" "500"
"hp" "500"
"color"
{
"a" "255"
"B" "50"
"g" "50"
"r" "255"
}
}
"4"
{
"name" "Members"
"group" "operator"
"armor" "200"
"hp" "200"
"color"
{
"a" "255"
"B" "254"
"g" "172"
"r" "61"
}
}
"5"
{
"name" "N00b"
"group" "n00b"
"armor" "0"
"hp" "50"
"color"
{
"a" "255"
"B" "127"
"g" "127"
"r" "127"
}
}
"6"
{
"name" "Guest"
"group" "user"
"color"
{
"a" "255"
"B" "138"
"g" "0"
"r" "135"
}
}
"gamemodes"
{
"1" "Sandbox"
"2" "DarkRP"
}
}

--- End code ---

And my groups.Txt

--- Code: ---"superadmin"
{
"deny"
{
}
"allow"
{
"ulx addgroup"
"ulx removegroup"
}
"inherit_from"
{
"owner"
}
}
"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 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 ghost"
"ulx unghost"
"ulx ragdoll"
"ulx unragdoll"
"ulx maul"
"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"
"ulx unignite"
"ulx armor"
"ulx strip"
"umaps_extend"
}
"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"
"_umaps_chatprint"
"umaps_timeleft"
"umaps_nextmap"
}
"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"
{
}
}
"owner"
{
"deny"
{
}
"allow"
{
"overcomeimmunity"
"ulx hiddenecho"
"ulx rcon"
"ulx luarun"
"ulx cexec"
"ulx ent"
"ulx adduser"
"ulx removeuser"
"ulx userallow"
"ulx userdeny"
"ulx groupallow"
"ulx groupdeny"
}
"inherit_from"
{
"admin"
}
}
"n00b"
{
"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"
"_umaps_chatprint"
"umaps_timeleft"
"umaps_nextmap"
}
"inherit_from"
{
}
}
"operator"
{
"deny"
{
}
"allow"
{
"ulx seeasay"
}
"inherit_from"
{
}
}

--- End code ---

These are the files I have been messing with. Thanks for helping!

--- Quote from: JamminR on March 16, 2008, 07:43:14 PM ---Re:Uteam - You're welcome
Re:admin - please read the ulx_readme.txt ... if/when that doesn't answer your question, please explore this forum a little better... We have a FAQ (FREQUENTLY ASKED QUESTIONS) forum that I'm sure will answer any new questions you have.


--- End quote ---
Sorry, about not searching, I thought if any of these kind of questons would have been talked about in this thread. But I did find a lot of usfull things searching. ;D

Megiddo:
You have Owner as the title for superadmin and Moderator as the title for owner?

spbogie:
You don't have a closing bracket ( } ) for the "teams" table.

Typo001:

--- Quote from: Megiddo on March 17, 2008, 08:31:13 AM ---You have Owner as the title for superadmin and Moderator as the title for owner?

--- End quote ---
Well at first it was the other way around, but when I added and started getting problems. I thought It was like, where at the bottom, has to be user. I thought superadmin had to be on top, so I switched them. Still did not fix it. It was the closing bracket that I forgot to put. Now I can switch it back to what it was before. Owner, Superadmin, Moderator, HIGHLY Respected (admin), Members, N00b (lowest rank, but only for people that are N00bs), and Guest.


--- Quote from: spbogie on March 17, 2008, 09:16:14 AM ---You don't have a closing bracket ( } ) for the "teams" table.

--- End quote ---
Thanks you guys have been a lot of help! (I wish I could give you a rating like in Facepunch, Lua King/ Lua Helper/ Gold Star) ;)
Wow, it just stuns me how much human error there is in this kinda stuff. (Well I am sorta new to this, but still)

Oh yea just want to make sure I read this right, If I want a person on my server to be a 'operator', I would put: "ulx adduser <steam name> [operator]" Exactly like that, right?

Megiddo:
They have to be connected at the time, and remove the [], but yes.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version