Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: soccercrazy195 on August 01, 2010, 11:41:45 PM

Title: How to configure ban times?
Post by: soccercrazy195 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
Title: Re: How to configure ban times?
Post by: Stickly Man! 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 (http://forums.ulyssesmod.net/index.php/topic,4192.msg15861.html#msg15861) 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)