ULX

Author Topic: How to configure ban times?  (Read 3695 times)

0 Members and 1 Guest are viewing this topic.

Offline soccercrazy195

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
How to configure ban times?
« on: August 01, 2010, 11:41:45 PM »
I made a post in the suggestions forum asking for the ability to limit the ban time on certain ulx groups. I was told that it was already implemented in SVN. I'm just wondering how you would you use it? I tried looking around the forum, but couldnt find anything about it.

Thanks

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: How to configure ban times?
« Reply #1 on: August 02, 2010, 12:45:39 AM »
Hmm, thought there was a thread about the new access/restriction system, but I can't seem to find it.. (or I just might be too tired).. But, basically it works like this:

Code: [Select]
ulx groupallow <group> <command> "<restrictions>"
For example, if I wanted to make it so admins could slap only themselves with 10-20 damage, you would do this:

Code: [Select]
ulx groupallow admins "ulx slap" "^ 10~20"In this case, the <restriction> part splits each argument in the command-- Player, then damage, seperated by a space. Check this thread for info about how the player part works.

For your case, You would limit ban times like so:

Code: [Select]
ulx groupallow admins "ulx ban" "* 1~60"This will make it so admins can ban anyone ("*") for anywhere from 1 to 60 minutes. (Disables permabanning, too, as 0 minutes is outside that range)
« Last Edit: August 02, 2010, 12:55:58 PM by Stickly Man! »
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6