AntiAD
Introduction
The goal of AntiAd is to help you maintain a server where people don't advertise, spam or write in all caps.
When a player is sending advertisement or spam in the chat it shows a message to the people with the permission `antiad.see` the advertised/spammy message - The advertising/spammy player gets a warning and a message that spam/advertisement isn't allowed (the message can be changed in the config).
We are doing this by giving everyone n (default 3) chances (resets with a server restart), when they used their 3 chances there a executed a command (the command can be set in the config).
Spotlight From EpicTimoZz
Important
- Essentials Chat: Essentials chat works well with AntiAd for the most part with the exception of URL filtering and perhaps some other modes. To allow AntiAd to take over and monitor for IP addresses and URLS... give your default players the following permission. - essentials.chat.url
Features:
- Stop IP/URL on Sign.
- Blocks spam (Large words, and Caps)
- Detects Nicknames
- Config file with lots of configurable options
- Implemented permissions
- Customizable ban and non-ban messages
- Recognises websites and blocks them
- 3 Warnings before action
- Sepparate actions for spam and advertising, fully configurable
- It also blocks URLs even if typed badly and prevents Spam.
- Logging the spam and the advertising in the log.txt
- Stealth mode so the players are not aware of AntiAd
Commands
Commands | Description |
---|---|
/antiad add | It to add the URL's or IP's in the whitelist |
/antiad reload | Reloads the plugin, includes configuration |
To Do:
If you have any suggestion that you would like me to add into the plugin, just post a comment or make a ticket of it.
Language
We have made language support special for you :) Currently this languages is added to AntiAd
- EN - English (2.1+)
- ES - Spanish (2.1+)
- DE - German (2.2+)
- DA - Danish (2.2+)
- FR - French (2.2+)
- PL - Polish (2.2+)
- RU - Russian (2.2.1)
- CN - Chinese (2.2.5)
- TR - Turkish (2.2.5)
- HU - Hungarian (2.3.4)
- pt-br Brazilian Portuguese (2.3.4)
To add it just put the DE,EN etc. in your config. if you want to add any new languages you can make a pull request on Github (where you also can make requests for changes)
Changelog
Version 2.3.4 Changes:
Added
- Added hungarian - thank you @HunLux
- Added Brazilian Portuguese - thank you @nathampa0909
- Added some basic tests - thank you @ferrybig
Fixed
- an issue where you could bypass the webpattern with uppercae - thank you @ferrybig
Full history: Click Here
Metrics
To determine popularity of this plugin, plugin installs are automatically tracked by the Metrics plugin tracking system. If you don't want to help or are paranoid, edit plugins/PluginMetrics/config.yml and set opt-out to true. But seeing more users makes me very happy.
AntiAd Statistics by Metrics
Acknowledgements
I would like to thank everyone who has donated to AntiAd. I really appreciate it. :)
It's illegal to say something like "$10.". I typed "It's only $10." and it counts the "$10." as illegal. Hopefully you can change this.
@hotshot0101
make a ticket about it with the version number and the config
@franzmedia
nope and i removed pwnfilter and it still doesnt work it just removes the periods but leaves the text and no warning either. plugins - essentials, factions updated
Would it be possible to block things like 111(dot)111(dot)111(dot)? Or ads written in books?
Hi, I really like your plugin but could you make that you could change the english text like : You have 1/2 chances. Or whatever it says, and it would be cool if you could change the [AntiAD] prefix in the warning messages.
And the url checking and blocking is not working, it block google.com but if I write some other links like god.lt, nothing happens.
@hotshot0101
please make a ticket about it :)
fenks for plugin
not blocking ads with spam off and ad on. any conflicts with pwnfilter maybe? i use pwnfilter to block swear words. antiad worked with version 1.9 but broke after 2.0
thank you i hope you fix it i really like this plugin
@megasnipez_
this is something we are working on https://github.com/antiAD/AntiAd/issues/9
i hope to have a bug fix out in about 2 weeks
-Kasper
hi, blocking some ip's people spam it blocks ip like this, these are fake ip's im about to post not real ones 44.22.50.82:25571 it stops ip's like that but when it comes to ip's like this testcraft.no-ip.org or testpvp.net it doesnt block them why? if you can help that would be good thanks.
it worked but i had to reload my server because anti-ad reload didnt fix it.
@megasnipez_
Change
to
i am still having trouble removing the spam feature and just keeping the anti-advertsing part can you help thank.
@IvannSenteno Please make a ticket about this :)
@ok12Boss
please report this in a ticket :)
If I may recommend a bug fix, the whitelist works well and all. However, it still does not apply to player messaging in-game. Players still get kicked or banned for advertising whitelisted links through messaging, but works perfectly fine in the public chat.
Would be great if it could be fixed, thanks!
The plugin warn me when i talk with my friends...... i just say (On My God =,=) and then i get the warning
@joehot200
I will look at this (it takes 1 space haven't seen any with 4 spaces yet )
Gonna add the admin warn :)
This does not block all advertisments, a guy spammed my server 4 seperate occasions with 8 messages, with something like: Come on this server 198 .144 .192. 368
When i spammed him back (i warned him twice to not spam me, i cant make empty threats...) i typed this:
Come on this awesome server endcraft , net free diamonds + free elemental swords + guns + more!
(and at least 17+ of the people online on his server (35 people online) went off and joined mine)
So, i think it should:
Filter spaces.
Tell an admin when it detects advertising (e.g. if they try normal IP first, admins can ban them before they put spaces)
Look for key words in a message, e.g. server and free diamonds == blocked message
And i think you should also stop people adding a char - i spammed the same message over and over again (like he did!) by putting an extra ! of taking away an ! on the end.
Just trying to help you improve your plugin ;)
@fungreenfox
This is fixed in The beta :D