Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started 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
-
Change the access from ULibACCESS_ADMIN to ULib.ACCESS_ALL
-
what line and what file is it in please
-
I think it's in util.lua, and search for !kickvote.
-
I thought the public vote commands were !votekick and !voteban?
-
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
-
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
-
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
"Out"
{
"user"
{
"allow"
{
"1" "ulx votekick"
}
}
}
-
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
"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).