Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: jnewcombe on May 15, 2007, 10:06:58 AM

Title: !kickvote
Post by: jnewcombe 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

Title: Re: !kickvote
Post by: Megiddo on May 15, 2007, 11:24:07 AM
Change the access from ULibACCESS_ADMIN to ULib.ACCESS_ALL
Title: Re: !kickvote
Post by: jnewcombe on May 15, 2007, 11:25:13 AM
what line and what file is it in please
Title: Re: !kickvote
Post by: Megiddo on May 15, 2007, 11:38:13 AM
I think it's in util.lua, and search for !kickvote.
Title: Re: !kickvote
Post by: atomicspark on May 15, 2007, 11:55:15 AM
I thought the public vote commands were !votekick and !voteban?
Title: Re: !kickvote
Post by: jnewcombe 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
Title: Re: !kickvote
Post by: atomicspark 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) (http://forums.facepunchstudios.com/showthread.php?t=247380) 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
Title: Re: !kickvote
Post by: spbogie 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"
        }
    }
}
Title: Re: !kickvote
Post by: atomicspark 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).