ULX

Author Topic: !kickvote  (Read 5652 times)

0 Members and 1 Guest are viewing this topic.

Offline jnewcombe

  • Newbie
  • *
  • Posts: 27
  • Karma: 1
!kickvote
« on: May 15, 2007, 10:06:58 AM »
Hi


Just wondering how to make the !kickvote command availble for the public to use , at the moment when the normal players try kick someone it says "You do not have access to this command"


thanks

Jon


Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: !kickvote
« Reply #1 on: May 15, 2007, 11:24:07 AM »
Change the access from ULibACCESS_ADMIN to ULib.ACCESS_ALL
Experiencing God's grace one day at a time.

Offline jnewcombe

  • Newbie
  • *
  • Posts: 27
  • Karma: 1
Re: !kickvote
« Reply #2 on: May 15, 2007, 11:25:13 AM »
what line and what file is it in please

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: !kickvote
« Reply #3 on: May 15, 2007, 11:38:13 AM »
I think it's in util.lua, and search for !kickvote.
Experiencing God's grace one day at a time.

Offline atomicspark

  • Full Member
  • ***
  • Posts: 196
  • Karma: 12
Re: !kickvote
« Reply #4 on: May 15, 2007, 11:55:15 AM »
I thought the public vote commands were !votekick and !voteban?

Offline jnewcombe

  • Newbie
  • *
  • Posts: 27
  • Karma: 1
Re: !kickvote
« Reply #5 on: May 15, 2007, 02:21:32 PM »
no kick and ban votes are admin commands only but you can change them in the util.lua file , ive just change kick to public vote , ban is too harsh :D

Jon

Offline atomicspark

  • Full Member
  • ***
  • Posts: 196
  • Karma: 12
Re: !kickvote
« Reply #6 on: May 15, 2007, 03:14:46 PM »
I realized that too after looking at the code. Thanks! I changed both on my server and ban time to 60 mins.

I think it should changed to public by default and maybe ban time to 24 hours (like the Vote Kick (+ Ban) script by Luk0r). No reason to be admin only when admins can just use ulx kick or ulx ban. I can see reasons to combine the !votekick and !voteban (ulx votekick and ulx voteban) like Luk0r did or keep them separate. It would be up to the ULX dev team of course. Just my thoughts on the next release.

I would actually use Luk0r's but the new vote commands conflict with it. Everyone is used to the phrases and changing them to something different would be more work, so I just kept it out after I updated. Don't get me wrong tho, I do like the new features.  ;D

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: !kickvote
« Reply #7 on: May 15, 2007, 07:58:19 PM »
Megiddo, why are you teiling them to edit the Lua files? I thought we made UCL the way it is for exactly this reason.

Add ulx votekick to the to the users allow list in groups.txt

/data/ULib/groups.txt
Code: [Select]
"Out"
{
    "user"
    {
        "allow"
        {
            "1"    "ulx votekick"
        }
    }
}
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 atomicspark

  • Full Member
  • ***
  • Posts: 196
  • Karma: 12
Re: !kickvote
« Reply #8 on: May 15, 2007, 08:05:45 PM »
Megiddo, why are you telling them to edit the Lua files? I thought we made UCL the way it is for exactly this reason.

Add ulx votekick to the to the users allow list in groups.txt

/data/ULib/groups.txt
Code: [Select]
"Out"
{
    "user"
    {
        "allow"
        {
            "1"    "ulx votekick"
        }
    }
}

Thanks!

Instead of changing the default variables for the votekick and voteban in the LUA files, couldn't I just change them in server.ini like I do for the votemap command? I'm pretty sure I can, I just wanted to make sure before I implement it (testing ratios is hard).
« Last Edit: May 16, 2007, 10:18:04 AM by atomicspark »