Raised This Month: $12 Target: $400
 3% 

Restricting Admins to non permanent bans


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
htcarnage
Senior Member
Join Date: Oct 2009
Old 10-10-2012 , 23:47   Restricting Admins to non permanent bans
Reply With Quote #1

How would I go about restricting certain admins to non permanent bans?
htcarnage is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 10-11-2012 , 10:28   Re: Restricting Admins to non permanent bans
Reply With Quote #2

There was a plugin posted that would allow you to determine a certain ban time limit you allow your admins to use - not sure if it worked with SourceBans though...
__________________
View my Plugins | Donate
TnTSCS is offline
TheHardstyleBro
Senior Member
Join Date: Jun 2012
Location: Netherlands
Old 10-11-2012 , 10:39   Re: Restricting Admins to non permanent bans
Reply With Quote #3

Remove unban flag

PHP Code:
    // Get the ban time
    
GetCmdArg(2buffersizeof(buffer));
    new 
time StringToInt(buffer);
    if(!
time && client && !(CheckCommandAccess(client"sm_unban"ADMFLAG_UNBAN|ADMFLAG_ROOT)))
    {
        
ReplyToCommand(client"You do not have Perm Ban Permission");
        return 
Plugin_Handled;
    } 
from the original sourcebans.sp
__________________
TheHardstyleBro is offline
ecca
Sexy Santa
Join Date: Jan 2011
Old 10-11-2012 , 10:40   Re: Restricting Admins to non permanent bans
Reply With Quote #4

https://forums.alliedmods.net/showthread.php?p=1693332

Read the topic and he says he attatched some pre-edited version for sourcebans.
ecca is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode