[CS:GO] BetterBan (v1.0 1/6/17)
2 Attachment(s)
Hey guys this is my first plugin ever so I'm sure the code isn't 100% optimised and might be a few bugs, so if you could check it out and give me some feedback that would be great!
Summary BetterBan will SteamId ban a user when they are IP rejected from the server. Banning a Steam client using a generic method will just allow the user to change account and continue playing on the server. BetterBan will ban the client and also (for a specified amount of time bb_ip_banlength) will ban every user that attempt to connect using the same IP address. You might be thinking, why dont I just ban their IP? Well this will work but wouldn't you like to ban their second account or third account (and so on) that try to connect but are IP rejected? This is the functionality of this plugin. The only case that this plugin is inneffective is if the client changes their IP address before connecting with a new account. Installation Drag betterban.smx into your Sourcemod plugins folder and restart your server or type "sm plugins load betterban" into the server console. How To Use betterban <clientid> [Message to user]
bb_ip_banlength - determines the time (in seconds) that the IP addresses will ban a client, after this time the IP addresses will be removed from the iplist.cfg file. The default time is 432000 (5 days). |
Re: [CS:GO] BetterBan (v1.0 1/6/17)
Quote:
But you mix old and new syntax. Just use the new one. Try to use Code:
#pragma newdecals Iirc the sourcemod devs recomment to store clients data like bans in mysql not in keyvalues. To many bans in a txt could result in perfomance issues. |
Re: [CS:GO] BetterBan (v1.0 1/6/17)
so who using dynamic ip is safe? imo ban people from IP when you don't know if is static or dynamic is pretty useless.
|
Re: [CS:GO] BetterBan (v1.0 1/6/17)
Quote:
|
Re: [CS:GO] BetterBan (v1.0 1/6/17)
Tested this plugin out this morning, don't seem to be able to ban anyone. Anytime I try, the following error happens:
Code:
L 09/30/2018 - 06:00:58: [SM] Exception reported: invalid handle 0 (error: 4) |
All times are GMT -4. The time now is 19:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.