Author Topic: Getting votekick to work  (Read 3067 times)

0 Members and 1 Guest are viewing this topic.

Offline BrandonR

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Getting votekick to work
« 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:

Code: [Select]
"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?

Offline atomicspark

  • Full Member
  • ***
  • Posts: 196
  • Karma: 12
Re: Getting votekick to work
« Reply #1 on: June 29, 2007, 12:24:57 PM »
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.

Code: [Select]
"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. :)
« Last Edit: June 29, 2007, 12:34:21 PM by atomicspark »

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: Getting votekick to work
« Reply #2 on: June 29, 2007, 01:47:12 PM »
user is the correct group.

Make sure you are running the latest version of both ULX and ULib.
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Offline BrandonR

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Getting votekick to work
« Reply #3 on: June 30, 2007, 10:01:45 AM »
Thanks, my version I was running was the last version but I updated today...

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Getting votekick to work
« Reply #4 on: June 30, 2007, 11:45:59 AM »
No problem!
Experiencing God's grace one day at a time.