View Single Post
Cerobug
Member
Join Date: Jun 2008
Old 04-11-2012 , 17:38   Re: Maximum ban time
Reply With Quote #9

It does work along side sourcebans perfectly as long as you use /ban from chat but the admin menu still bans. Is there a way that you could set it up to also keep it from allowing the bans to be placed through the admin menu or will I have to make a custom one no matter what? and could you set it up to have cvar access (cfg file) so i could define which flag would have which time limit say something like this with say 6 different sm_limitban1-6 so there could be up to 6 different groups.



// This file was auto-generated by SourceMod (v1.4.1)
// ConVars for plugin "sm_limitban.smx"


// Select which flag and time you would like to set (which flag and time in minutes)
// Ex. "ADMFLAG_CUSTOM1,60"
sm_limitban1 "ADMFLAG_CUSTOM1,60"

// Select which flag and time you would like to set (which flag and time in minutes)
// Ex. "ADMFLAG_CUSTOM2,60"
sm_limitban2 "ADMFLAG_CUSTOM2,120"

// Select which flag and time you would like to set (which flag and time in minutes)
// Ex. "ADMFLAG_CUSTOM4,60"
sm_limitban3 "ADMFLAG_CUSTOM4,0"

Last edited by Cerobug; 04-11-2012 at 20:56.
Cerobug is offline