Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: BrandonR on June 29, 2007, 09:26:20 AM
-
I'm trying to enable the votekick command for players on my server so I modified the groups.txt file to look like this:
"Out"
{
"operator"
{
"allow"
{
"1" "ulx god"
"8" "ulx hp"
"3" "ulx map"
"2" "ulx ungod"
"5" "ulx kick"
"4" "ulx ban"
"7" "ulx slap"
"6" "ulx slay"
"9" "ulx unjail"
"15" "ulx goto"
"16" "ulx spectate"
"14" "ulx bring"
"13" "ulx teleport"
"12" "ulx ragdoll"
"11" "ulx unragdoll"
"10" "ulx jail"
}
"deny"
{
"1" "ulx cexec"
"3" "ulx toolallow"
"2" "ulx rcon"
"5" "ulx userallow"
"4" "ulx adduser"
}
}
"superadmin"
{
}
"admin"
{
"allow"
{
"1" "ulx rcon"
}
}
"user"
{
"allow"
{
"1" "ulx votekick"
}
}
}
Yet it still gives them a permission denied or incorrect privileges or whatever error.... Help?
-
I believe ULX/ULib calls "users" guests. Try changing your user group to guest. You also don't need to deny operators commands because they don't have rights to anything by default.
From what I understand, you seem to want your operators to act like admins and want your admins to have rcon (which is basically superadmin). I would suggest just bumping your operators to admins and your admins to superadmins. Your code would be a lot simpler.
"Out"
{
"admin"
{
"deny"
{
"1" "ulx cexec"
"3" "ulx toolallow"
"2" "ulx rcon"
"5" "ulx userallow"
"4" "ulx adduser"
}
}
"guest"
{
"allow"
{
"1" "ulx votekick"
}
}
}
Of course give your current superadmins (not the admins you bumped up) immunity if you fear mutiny. I also am not sure that you need to deny your admins anything. I can't remember what they don't have access to by default. You forgot the opposite of those commands anyways (tooldenyuser, tooldeny, etc). I'm sure a Ulysses team member will respond with who has what by default. :)
-
user is the correct group.
Make sure you are running the latest version of both ULX and ULib.
-
Thanks, my version I was running was the last version but I updated today...
-
No problem!