Spam Blocker v3.6
4 Attachment(s)
Spam Blocker v3.6
Description: Monitoring my servers I noticed that a lot of players post ads in chat like "Want buy server? Call .... or visit cant_remember_site_address.co.il". Maybe this is some kind of adware, or maybe it's just an advertising campaign, I don't care. At first I banned them manually. Then I've got enough of that shi-- and wrote this plugin. So. This plugin can hide ads message and warn/kick/ban (either usual way or amxbans way) the spammer. This plugin detects AMXBans or Advanced Bans (if it's loaded) and uses it's ban method. Also you can set a whitelist (only for ban.ini and kick.ini). The plugin has three powerful features: — Just hide messages (I use this feature for hiding messages like changerace, /rank etc.) — Kick spammers — Warn spammers — Ban spammers (there are separate files for messages that cause in kick, ban or hide) Also the plugin supports immunity flags — by default q (ADMIN_LEVEL_E). CVAR list:
Manual installation: — Upload spam_blocker.amxx to your plugins directory. — Add this plugin to the end of your plugins.ini. — Create a folder "spam_blocker" in configs directory. — Create files hide.ini, kick.ini, ban.ini, warn.ini, whitelist.ini and config.cfg. — Set up a list of string in .ini files (examples: 1, 2). — Set cvars in config.cfg. — ??? — PROFIT! Fast installation: — Download & unzip attached archive to your mod folder (e. g. cstrike) — Download attached spam_blocker.amxx and put it to your plugins folder. — Edit hide.ini, kick.ini, ban.ini, warn.ini, whitelist.ini and config.cfg if needed. — Add spam_blocker.amxx to the end of your plugins.ini file. — Have fun! Changelog: Quote:
P. P. S. As for me, I use this plugin in three ways: 1. Ban spamers (with ban.ini) 2. Kick abusers (with kick.ini) 3. Hide messages like "/rank" (with hide.ini) P. P. P. S. Also I saw TF, HL and CZ severs, running this plugin. Please try this plugin at different mods and tell me! |
Re: Spam Blocker
Nice, I hate all spammers that says such things. +karma :D
|
Re: Spam Blocker
You're welcome, dude :)
|
Re: Spam Blocker
- use pcvars :crab:
- read_args (said, 127); - get_user_authid (id,szAuthID, 31) - you should check both say comands, i mean say and say_team |
Re: Spam Blocker
"ToDo:
— A config file with deprecated strings — AMXBans autodetection" Do you mean you are going to make a cfg, so you can write what the users isn't allowed to type? |
Re: Spam Blocker
maplebest, yes.
tuty, thx, goin to fix. |
Re: Spam Blocker
Okay, I see. I might add this to a server if I get one..
|
Re: Spam Blocker
Do not hurry. I'm going to release v1.1 in a few minutes.
|
Re: Spam Blocker
You should not be that specific.
- It would be more interesting to be able to write via a file a list of text to block - Use pcvar, it's faster. - Use a switch() instead of if() if() etc. |
Re: Spam Blocker v1.1.1
arkshine, moved to pcvars, moved to switch. But what do u mean about first suggestion? I didn't get it (sry, english is not my native lang).
tuty, what's wrong with read_args (said, 127) and get_user_authid (id,szAuthID, 31)? |
All times are GMT -4. The time now is 07:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.