Raised This Month: $146 Target: $400
 36% 

SourceBans Checker


Post New Thread Reply   
 
Thread Tools Display Modes
Author
psychonic

BAFFLED
Join Date: May 2008
Plugin ID:
1926
Plugin Version:
1.0.2
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
Servers with this Plugin:
2663 
Plugin Description:
Simple plugin to notify admins of prior bans upon player connect.
Old 09-01-2010 , 19:18   SourceBans Checker
Reply With Quote #1

As requested here:

SourceBans Checker
Simple plugin to notify admins of prior bans upon player connect.

When a player with prior bans connects, admins with the ban flag (reconfigurable with admin_overrides) will be notified with the following message:
Code:
[SBChecker] Warning: Player NameHere has X previous SB bans on record.
The sm_listsbbans command is also available to list the bans:
Code:
sm_listsbbans <#userid|name> - Lists a user's prior bans from Sourcebans
Output shows in console in the following format:
Code:
Listing bans for PlayerName
Ban Date    Banned By     Length      End Date    R  Reason
-------------------------------------------------------------------------------
2010-07-16  psychonic     60          2010-07-16  E  Douchebaggery
2010-08-01  administr...  10080       2010-08-02  R  Mic-spamming
Attached Files
File Type: sp Get Plugin or Get Source (sbchecker.sp - 2113 views - 8.8 KB)

Last edited by psychonic; 08-21-2013 at 09:58.
psychonic is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 09-01-2010 , 20:08   Re: SourceBans Checker
Reply With Quote #2

PHP Code:
    // hax against valvefail
    
if (GuessSDKVersion() == SOURCE_SDK_EPISODE2VALVE)
        
SetConVarString(g_VersionCvarVERSION); 
What?

Afronanny is offline
psychonic

BAFFLED
Join Date: May 2008
Old 09-01-2010 , 20:10   Re: SourceBans Checker
Reply With Quote #3

Quote:
Originally Posted by Afronanny View Post
PHP Code:
    // hax against valvefail
    
if (GuessSDKVersion() == SOURCE_SDK_EPISODE2VALVE)
        
SetConVarString(g_VersionCvarVERSION); 
What?

The convar value is re-set after each map change to workaround a2s_rules query issues on linux ep2v servers.
psychonic is offline
prom3th3an
SourceMod Donor
Join Date: Jun 2010
Old 09-02-2010 , 03:57   Re: SourceBans Checker
Reply With Quote #4

Awesome, will test it on my servers and provide feedback here.
prom3th3an is offline
prom3th3an
SourceMod Donor
Join Date: Jun 2010
Old 09-02-2010 , 04:17   Re: SourceBans Checker
Reply With Quote #5

Just tested it, works great. Highly recommended for any server.
prom3th3an is offline
Hollanda
Senior Member
Join Date: Sep 2006
Location: Netherlands
Old 09-02-2010 , 07:46   Re: SourceBans Checker
Reply With Quote #6

Can you show a ingame printscreen?

And will it show previous IP or SteamID bans?
Hollanda is offline
psychonic

BAFFLED
Join Date: May 2008
Old 09-02-2010 , 07:50   Re: SourceBans Checker
Reply With Quote #7

Quote:
Originally Posted by Hollanda View Post
Can you show a ingame printscreen?
There's not much to see other than what I mentioned on the first post. It's just text, nothing fancy.

Quote:
Originally Posted by Hollanda View Post
And will it show previous IP or SteamID bans?
It will show all.
psychonic is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 09-02-2010 , 09:09   Re: SourceBans Checker
Reply With Quote #8

works like a charm
Groger is offline
Inflikted
SourceMod Donor
Join Date: Jan 2009
Old 09-02-2010 , 12:33   Re: SourceBans Checker
Reply With Quote #9

nice work thanks
Inflikted is offline
Hollanda
Senior Member
Join Date: Sep 2006
Location: Netherlands
Old 09-02-2010 , 13:08   Re: SourceBans Checker
Reply With Quote #10

Plugins seems to be disconnecting players with previous bans at every round end...
Hollanda 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 22:42.


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