AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   SourceBans Checker (https://forums.alliedmods.net/showthread.php?t=137033)

psychonic 09-01-2010 19:18

SourceBans Checker
 
3 Attachment(s)
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


Afronanny 09-01-2010 20:08

Re: SourceBans Checker
 
PHP Code:

    // hax against valvefail
    
if (GuessSDKVersion() == SOURCE_SDK_EPISODE2VALVE)
        
SetConVarString(g_VersionCvarVERSION); 

What?

:crab:

psychonic 09-01-2010 20:10

Re: SourceBans Checker
 
Quote:

Originally Posted by Afronanny (Post 1288534)
PHP Code:

    // hax against valvefail
    
if (GuessSDKVersion() == SOURCE_SDK_EPISODE2VALVE)
        
SetConVarString(g_VersionCvarVERSION); 

What?

:crab:

The convar value is re-set after each map change to workaround a2s_rules query issues on linux ep2v servers.

prom3th3an 09-02-2010 03:57

Re: SourceBans Checker
 
Awesome, will test it on my servers and provide feedback here.

prom3th3an 09-02-2010 04:17

Re: SourceBans Checker
 
Just tested it, works great. Highly recommended for any server.

Hollanda 09-02-2010 07:46

Re: SourceBans Checker
 
Can you show a ingame printscreen?

And will it show previous IP or SteamID bans?

psychonic 09-02-2010 07:50

Re: SourceBans Checker
 
Quote:

Originally Posted by Hollanda (Post 1288876)
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 (Post 1288876)
And will it show previous IP or SteamID bans?

It will show all.

Groger 09-02-2010 09:09

Re: SourceBans Checker
 
works like a charm :)

Inflikted 09-02-2010 12:33

Re: SourceBans Checker
 
nice work :) thanks

Hollanda 09-02-2010 13:08

Re: SourceBans Checker
 
Plugins seems to be disconnecting players with previous bans at every round end...


All times are GMT -4. The time now is 15:41.

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