AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] LMAOban (https://forums.alliedmods.net/showthread.php?t=232688)

Aderic 01-03-2014 10:28

[ANY] LMAOban
 
3 Attachment(s)
Just an update: I no longer run servers, therefore I do not have an environment to continue updating my plugins. If you would like to take over development of one of my plugins, feel free to do so.

What does this plugin do?
Bans users who send the following strings, and blocks the messages from being broadcasted:
Code:

WWW.LMAOBOX.NET - BEST FREE TF2 HACK!
WWW.LMAOBOX.NET - BEST TF2 HACKS!
GET GOOD, GET LMAOBOX
GET GOOD, GET LMAOBOX!
LMAOBOX - WAY TO THE TOP

CVARS:
This plugin does not detect aimbots!
It is not a replacement for any aimbot detection you may already have in-place on your server.
It simply catches the users who joined the server and had LMAOBOX to spam that they were using said hack, bans them, and suppresses their chat message so nobody receives it.
People with premium versions of this aimbot can simply turn off spamming (rendering this plugin useless) while free versions (luckily the ones you will encounter 95% of the time) are forced to spam messages.

This will be the end result: These are real clients that connected to the server with LMAOBOX! Feel free to add them to your ban list.
Spoiler


CVARS:
Spoiler


Plugin Version Info:
Quote:

  • Version 1.0 - Initial Release
  • Version 1.1 - Allows the OnBanClient forward to be called so plugins like the latest SourceBans (2.x) will work with it.
  • Version 1.2 - Naughty characters are now stripped from the message and used for the comparison. Whitelisted characters are characters 32 through 126. Ascii Chart
    New CVAR added, if set to 1 the exact lines from LMAOBOX must be sent for a ban to be trigged. If 2, mentioning the URL (just LMAOBOX.NET) will trigger a ban. sm_lmaoban_detection
  • Version 1.3 - Now detects free and premium versions of LMAOBOX.
  • Version 1.4 - Added integration for SourceBans (1.x).
  • Plugin can now be more forgiving: new CVARs add banning on second detection (after being warned) or banning if spammed. Original chat message is suppressed either way.
  • Admins with access to "lmaoban_exempt" in overrides or BAN flag are exempt from these checks; meaning you can actually tell the users exactly what NOT to say without getting banned yourself.
  • Since the plugin can now be more forgiving; sm_lmaoban_detection now has a third option which will cause a trigger if only the name of the bot is mentioned.

Installation Instructions:
Spoiler

Snaggle 01-03-2014 11:21

Re: [ANY] LMAOban
 
Cool, a good idea. I had to add those phrases to a chat filter plugin we have but this is an even better approach. Will be using this and let you know how it goes.

krispx 01-03-2014 15:09

Re: [ANY] LMAOban
 
hi, it's compatible with sourcebans ?

Aderic 01-03-2014 16:04

Re: [ANY] LMAOban
 
Quote:

Originally Posted by krispx (Post 2080638)
hi, it's compatible with sourcebans ?

I have not tested it with sourcebans, this plugin calls SourceMod's BanClient method, so I would assume not.

I may release an updated version if this one doesn't suffice.

Edit: Looking at SourceBans 1.5 it states:
"Integrates with SourceMod's banning system (supporting BanClient / BanIdentity / RemoveBan)"

I believe this plugin will work with SourceBans.

Snaggle 01-03-2014 17:43

Re: [ANY] LMAOban
 
Doesn't appear to. I tried it myself and it just bans locally. A Sourcebans version would be appreciated as we run multiple servers.

Dr. Greg House 01-03-2014 18:35

Re: [ANY] LMAOban
 
Thanks.
Had to ban one manually after someone called me in. Didn't know it has become this popular.

m4ster 01-05-2014 11:09

Re: [ANY] LMAOban
 
I'm pretty sure you can do regexp without mentioning the url.

Quote:

Originally Posted by Dr. Greg House (Post 2080733)
Thanks.
Had to ban one manually after someone called me in. Didn't know it has become this popular.

Blame holidays.

Aderic 01-05-2014 11:39

Re: [ANY] LMAOban
 
Quote:

Originally Posted by m4ster (Post 2081521)
I'm pretty sure you can do regexp without mentioning the url.

Why would I want to not mention the URL?

Drixevel 01-05-2014 11:50

Re: [ANY] LMAOban
 
1 Attachment(s)
Sourcebans integration included in this version. Might be a bit overkill since it's a simple plugin but it works.

vadia111 01-12-2014 18:27

Re: [ANY] LMAOban
 
link don't work ..... =Z


All times are GMT -4. The time now is 16:11.

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