Ulysses
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Ulysses
»
Ulysses Stuff
»
General Chat & Help and Support
»
Is there a way to limit the amount of time a user can be votebanned for?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Is there a way to limit the amount of time a user can be votebanned for? (Read 1904 times)
0 Members and 1 Guest are viewing this topic.
YourPalRob
Newbie
Posts: 5
Karma: 0
Is there a way to limit the amount of time a user can be votebanned for?
«
on:
April 17, 2013, 05:50:02 AM »
I currently grant access to voteban for all my regulars but they keep banning people for 999999 minutes instead of 60 which would be suitable. I was wondering if there's a way to limit the maximum amount of time to 60 minutes?
Logged
nathan736
Full Member
Posts: 143
Karma: 4
Re: Is there a way to limit the amount of time a user can be votebanned for?
«
Reply #1 on:
April 17, 2013, 06:06:06 AM »
yes i believe its in the restrictions if i remember correctly
Logged
a person asked me how to code lua and i said this " its like building a rocket up side down then realizing you did it all wrong."
YourPalRob
Newbie
Posts: 5
Karma: 0
Re: Is there a way to limit the amount of time a user can be votebanned for?
«
Reply #2 on:
April 17, 2013, 07:04:22 AM »
Any chance you could me more on that, I'm pretty
confused.
Logged
Megiddo
Ulysses Team Member
Hero Member
Posts: 6214
Karma: 394
Project Lead
Re: Is there a way to limit the amount of time a user can be votebanned for?
«
Reply #3 on:
April 17, 2013, 07:46:58 AM »
To allow regular users to voteban other regular users (only) for up to 60 minutes, run this in your console:
Code:
[Select]
ulx groupallow user "ulx voteban" "#user 1:60"
If you want them to be able to voteban anyone, switch out "#user" for "*".
Logged
Experiencing God's grace one day at a time.
YourPalRob
Newbie
Posts: 5
Karma: 0
Re: Is there a way to limit the amount of time a user can be votebanned for?
«
Reply #4 on:
April 17, 2013, 07:48:03 AM »
Does this work the same if I put it in the groups.txt file?
Logged
Megiddo
Ulysses Team Member
Hero Member
Posts: 6214
Karma: 394
Project Lead
Re: Is there a way to limit the amount of time a user can be votebanned for?
«
Reply #5 on:
April 17, 2013, 07:51:36 AM »
No. No it does not. We generally shy away from instructing users to edit the data files by hand... too easy to screw them up.
«
Last Edit: April 17, 2013, 11:03:24 AM by Megiddo
»
Logged
Experiencing God's grace one day at a time.
YourPalRob
Newbie
Posts: 5
Karma: 0
Re: Is there a way to limit the amount of time a user can be votebanned for?
«
Reply #6 on:
April 17, 2013, 08:08:03 AM »
This works gloriously but is there a way to prevent having to do !voteban user 60, Can I set the default to 60?
Logged
nathan736
Full Member
Posts: 143
Karma: 4
Re: Is there a way to limit the amount of time a user can be votebanned for?
«
Reply #7 on:
April 17, 2013, 08:36:59 AM »
this would requre a small edit in the utility.lua file in the add-on and add a arg setting to the ban time for the ban command
ps: this is for people who know what they are doing editing ulx files can result in breaking or errors
,default = 60
Logged
a person asked me how to code lua and i said this " its like building a rocket up side down then realizing you did it all wrong."
Print
Pages: [
1
]
Go Up
« previous
next »
Ulysses
»
Ulysses Stuff
»
General Chat & Help and Support
»
Is there a way to limit the amount of time a user can be votebanned for?