Author Topic: Issue with restricting ban time  (Read 2125 times)

0 Members and 3 Guests are viewing this topic.

Offline sscnet

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Issue with restricting ban time
« on: January 30, 2012, 10:03:58 AM »
I'm having some issues restricting the ban times for a certain group on my server. I am trying to restrict it between 1 to 60 minutes. I've tried putting 1~60 in the whitelisted values under the ulx ban command in xgui, but that didn't work. I have also tried the following command in console: ulx groupallow serveradmin "ulx ban" "* 1~60".

The following error shows up if I try to ban someone:
Command "ulx ban", argument #2: invalid string

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Issue with restricting ban time
« Reply #1 on: January 30, 2012, 10:34:37 AM »
The way to restrict this changed and the sticky hasn't been updated.

Here's something I found from one of my old data files....  Should help.
Code: [Select]
"ulx voteban" "!%donor 1:1440"

Offline sscnet

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Issue with restricting ban time
« Reply #2 on: January 30, 2012, 12:26:09 PM »
The way to restrict this changed and the sticky hasn't been updated.

Here's something I found from one of my old data files....  Should help.
Code: [Select]
"ulx voteban" "!%donor 1:1440"

Hmm, that's odd. It still doesnt seem to be working

edit: I realized it has something to do with the changes from standard integers(1440) for banning to using strings(1w, etc) now.
« Last Edit: January 30, 2012, 03:26:43 PM by sscnet »