Uh, I just got a server indirectly 2 days ago. (My friend bought it and I'm running it for him). I've put all the addons, maps, etc that we need, and moved onto Ulx. I installed Ulx and ULib via SVN and edited the groups.txt and uteam.txt. Here they are:
groups.txt
"lord and master"
{
"allow"
{
"ulx cexec"
}
"inherit_from" "owner"
}
"owner"
{
"allow"
{
"overcomeimmunity"
}
"inherit_from" "superadmin"
}
"user"
{
"allow"
{
"ulx"
"ulx asay"
"ulx clientmenu"
"ulx help"
"ulx logchat"
"ulx logdir"
"ulx logecho"
"ulx logevents"
"ulx logfile"
"ulx logspawns"
"ulx logspawnsecho"
"ulx menu"
"ulx motd"
"ulx mytitle"
"ulx psay"
"ulx thetime"
"ulx title"
"ulx usermanagementhelp"
"ulx votebanminvotes"
"ulx votebansuccessratio"
"ulx voteecho"
"ulx votekickminvotes"
"ulx votekicksuccessratio"
"ulx votemap"
"ulx votemap2minvotes"
"ulx votemap2successratio"
"ulx votemapenabled"
"ulx votemapmapmode"
"ulx votemapmintime"
"ulx votemapminvotes"
"ulx votemapsuccessratio"
"ulx votemapvetotime"
"ulx votemapwaittime"
"ulx who"
}
"inherit_from"
}
"superadmin"
{
"allow"
{
"ulx addgroup"
"ulx adduser"
"ulx adduserid"
"ulx ent"
"ulx exec"
"ulx groupallow"
"ulx hiddenecho"
"ulx luarun"
"ulx maul"
"ulx rcon"
"ulx removegroup"
"ulx removeuser"
"ulx renamegroup"
"ulx userallow"
}
"inherit_from" "admin"
}
"admin"
{
"allow"
{
"ulx adminmenu"
"ulx armor"
"ulx ban"
"ulx banid"
"ulx banmenu"
"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 jail"
"ulx kick"
"ulx map"
"ulx mapsmenu"
"ulx mute"
"ulx noclip"
"ulx physgunplayer"
"ulx playsound"
"ulx ragdoll"
"ulx reservedslots"
"ulx rslots"
"ulx rslotsmode"
"ulx rslotsvisible"
"ulx send"
"ulx settitle"
"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 ungod"
"ulx unignite"
"ulx unigniteall"
"ulx unjail"
"ulx unmute"
"ulx unragdoll"
"ulx veto"
"ulx vote"
"ulx voteban"
"ulx votekick"
"ulx votemap2"
"ulx welcomemessage"
"ulx whip"
"urestrict allowspawn"
"urestrict denyspawn"
"urestrict npcs"
"urestrict props"
"urestrict ragdolls"
"urestrict sents"
"urestrict vehicles"
}
"inherit_from" "operator"
}
"respected"
{
"allow"
{
"ulx votekick"
"ulx goto"
"ulx teleport"
"ulx god"
"ulx bring"
"ulx noclip"
}
"inherit_from" "player"
}
"operator"
{
"allow"
{
"ulx kick"
"ulx gag"
"ulx jail"
"ulx unjail"
}
"inherit_from" "respected"
}
Uteam.txt
"Out"
{
"teams"
{
"1"
{
"name" "Lord and Master"
"group" "lord and master"
"armor" "9001"
"hp" "9001"
"color"
{
"a" "255"
"B" "255"
"g" "255"
"r" "0"
}
}
"2"
{
"name" "Owner"
"group" "owner"
"armor" "1337"
"hp" "1337"
"color"
{
"a" "0"
"B" "0"
"g" "0"
"r" "0"
}
}
"3"
{
"name" "SuperAdmins"
"group" "superadmin"
"armor" "1000"
"hp" "1000"
"color"
{
"a" "0"
"B" "51"
"g" "204"
"r" "0"
}
}
"4"
{
"name" "Admins"
"group" "admin"
"armor" "500"
"hp" "500"
"color"
{
"a" "51"
"B" "153"
"g" "255"
"r" "255"
}
}
"5"
{
"name" "Operators"
"group" "operator"
"armor" "200"
"hp" "200"
"color"
{
"a" "102"
"B" "204"
"g" "255"
"r" "255"
}
}
"6"
{
"name" "Players"
"group" "player"
"color"
{
"a" "0"
"B" "255"
"g" "255"
"r" "0"
}
"model" "male1"
}
}
"gamemodes"
{
"1" "Sandbox"
}
}
Anyways, I put them on the server, restarted, and found I was still a superadmin. My rank is still green, and nothing has been changed, except none of my ulx commands work, and when I chat, my name is invisible. When I go in console, and type anything after "ulx " then in console I get an error ULib/shared/sh_ucl.lua:46: [ULIB] Unauthed player
. I really do hope this is a simple mistake, and easily fixable. Anyone know what I did wrong? :/ And yes, I'm not editing anything in my addons folder, it's all in my data folder. Hmm, I just went on urestrict, and when I was looking at what groups to edit loadouts, all my groups in groups.txt are there, so that means they exist. I've done more tests: I took out everything in the ULib folder and let it remake itself. Superadmin, admin, and player work, with all their commands, but when I put my groups.txt back, everything breaks. I stay superadmin, and I get the error whenever I use a ulx command. :/
Oh, and how do I add users to ranks? I mean, I'm only a super admin, how do I give myself the highest rank? And does adduser allow users to add themselves to ranks higher than what they are?