AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Simple Anti-Ad (https://forums.alliedmods.net/showthread.php?t=143645)

Mati_ 11-22-2010 11:13

Simple Anti-Ad
 
1 Attachment(s)
Hello,
I just wrote a small plugin which should block advertisements pretty effective and isn't bloated with hundreds of lines or configuration files. Couldn't find any plugin doing it that way, so I quickly wrote it.

Any URLs and/or IP addresses get blocked, messages from admins will be ignored.

Installation is as usual, download the AMXX-file or compile locally, put it in amxmodx/plugins and edit configs/plugins.ini.

vato loco [GE-S] 11-22-2010 14:19

Re: Simple Anti-Ad
 
i like it when a plugin is simple to use :wink:

xPaw 11-22-2010 14:47

Re: Simple Anti-Ad
 
Would be nice if you could replace the ip with **.**.**.** and maybe whitelist?

Exolent[jNr] 11-22-2010 14:49

Re: Simple Anti-Ad
 
What about cvars to control if admins are ignored, or whitelist (like xPaw), or replacements (like xPaw), or punishments?

Mati_ 11-22-2010 16:16

Re: Simple Anti-Ad
 
Quote:

Originally Posted by xPaw (Post 1354614)
Would be nice if you could replace the ip with **.**.**.**

Well the goal is imo that people don't get bothered at all with such messages, so they get blocked.

Quote:

and maybe whitelist?
Yeah, server-related links shouldn't be blocked. Insofar I would propose creating a string-array in the beginning, and the user can define his URLs there for minimum configuration effort?

Quote:

replacements
Don't see that usefull for an anti-ad plugin, maybe for a swear filter, but the goal for spam messages is a block, not a replacement.

Quote:

punishments
That might be a good addition, but I can't really imagine people continuing advertising when seeing it gets blocked, and additionally no one gets bothered by it.

bibu 11-22-2010 16:24

Re: Simple Anti-Ad
 
How about catching is_user_admin(id) on connect, cause it does everytime check it if a player writes something in chat, and that happens usually alot.

Mati_ 11-22-2010 16:35

Re: Simple Anti-Ad
 
Quote:

Originally Posted by bibu (Post 1354697)
How about catching is_user_admin(id) on connect, cause it does everytime check it if a player writes something in chat, and that happens usually alot.

Yeah true, that should be better. Will change that on the next small update.

xakintosh 11-22-2010 17:11

Re: Simple Anti-Ad
 
Sounds COol ^^

vL. 11-22-2010 17:29

Re: Simple Anti-Ad
 
Added do my server, tested and does the job well.

Exolent[jNr] 11-22-2010 21:55

Re: Simple Anti-Ad
 
Quote:

Originally Posted by Mati_ (Post 1354689)
Yeah, server-related links shouldn't be blocked. Insofar I would propose creating a string-array in the beginning, and the user can define his URLs there for minimum configuration effort?

Would be better to read from a file.

Quote:

Originally Posted by Mati_ (Post 1354689)
Don't see that usefull for an anti-ad plugin, maybe for a swear filter, but the goal for spam messages is a block, not a replacement.

That's just your opinion.
I would rather see what the player said with the spam replaced with X's or something.

Quote:

Originally Posted by Mati_ (Post 1354689)
That might be a good addition, but I can't really imagine people continuing advertising when seeing it gets blocked, and additionally no one gets bothered by it.

Some server administrators are strict on advertisement, and want punishment instead of blocking.

--

You need to remember that when you release a plugin, it is to be for the people and what needs they might have for the plugin.


All times are GMT -4. The time now is 20:48.

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