AntiAdvertiser
AntiAdvertiser makes sure advertisers can't steal your hard-earned players. It checks all chat messages, commands, signs and books for any type of IP addresses and domain names and gets rid of all messages that are found to be ads.
How it works
AntiAdvertiser listens to chat, commands, sign change and book drop events and runs some code. If the chat message, command, contents of the sign or contents of the book contain something detected as an IP address or domain name, the event is cancelled, staff members are notified. You may also run a custom command (mute or ban) or kick the player when they attempt to advertise.
Features
- Reject messages (or commands or signs or books) in real time, before they can be seen by other players. Without this plugin, players still see the ad even if you kicked the advertiser.
- Log all detections to a file
- Show the message that was rejected to staff so they can judge if it's against the rules or not.
- Execute a command on detection to mute/ban/whatever you desire the player upon advertising.
- API so other plugins can decide whether something is advertising or not as well!
- Custom blacklists and whitelists that can include regular expressions
- Disable any part of the plugin
Why AntiAdvertiser?
As a server administrator, you most likely want to protect your server from advertisers. There have been plenty of anti-advertising plugins popping up on Bukkit Dev lately, so why should you choose AntiAdvertiser?
AntiAdvertiser is configurable. You can define words that shouldn't be seen as advertising, you can create custom filters that can be as sensitive as you'd like them to be, you can disable any check. AntiAdvertiser tracks more actions than any other anti-advertising plugin.
AntiAdvertiser is the most up to date. There are two ways of detecting a domain name: A general regex (which detects any messages that contain a period, such as "Ender.man") or a list of TLDs. Most other anti-advertising plugins use the latter - the author defined a list of a few domain names (but most certainly not all) - AntiAdvertiser, on the other hand, uses a very recent list of top level domains obtained from the Internet Assigned Names Authority (the guys that are in charge of domain names on the internet). Version 1.1 will even add automatic filter updating (which will be completely optional) to make sure advertisers can't bypass the filters by using a recently added domain name.
Custom Filters
One of the great things about AntiAdvertiser is the customizability! You're able to define custom filters - we even have a few examples for you so you can easily also block the "clever" advertisers that replace the dots with spaces, for example.
More information on custom filters...
Plugin Conflicts
AntiAdvertiser should play well with most plugins, however if you have EssentialsChat installed, you need to give all players the following permission: essentials.chat.url - without it, Essentials automatically gets rid of the dots in messages.
Usage Data Collection
The plugin by default submits anonymous usage data to MCStats.org. The following information is collected and made publicly available in the form of graphs:
- Plugin version
- Server version (includes Minecraft version (1.7.9) and server software (CraftBukkit, Spigot))
- Number of online players
- Operating system information (name, version, architecture)
- Server information (country, number of CPU cores, Java version)
- The value of onDetect.action and whether you have a command in onDetect.command specified or not
You can opt out by editing /plugins/PluginMetrics/config.yml and setting opt-out to true.
Support
If you have any questions, simply leave a comment here on Bukkit Dev. If you've found a bug, please submit an issue report on GitHub (make sure the issue hasn't been reported yet).
VERY GOOD PLUGIN IS THE BEST THAT I HAVE FOUND AS PER MY SERVER BUT I'M FROM CHILE USE THE TRANSLATOR
I've uploaded AntiAdvertiser 0.2 file now, you'll be able to download them as soon as the Bukkit Dev staff approves it. :)
Urghh... finally finished AntiAdvertiser 0.2. I've been delaying it for so long D: I'll do some more testing and release it tomorrow. :)
This plugin is a awesome plugin, and is still working with R1.1 however it does need more features..
@DeprecatedNether
Any Updates?
?? in photo 2 mesagge send for admins ?
Great Plugin simply perfect
Works perfectly on latest CraftBukkit #2617 v1.4.7R0.2
Any Updates?
Just a heads up, updating may take a while longer due to some real life problems. I will, however, try to get a 1.4.5 version up by weekend though.
Please Update It
Due to the amount of Minecraft versions being released in November (1.4.1, 1.4.2, 1.4.4. and 1.4.5), I'm going to release a 1.4.5 version of the plugin within a couple days. The regex will not be improved a lot. I have a regex I may use but it still needs a lot of debugging. :)
I hope it gets updated to 1.4.4 or 1.4.5 soon. :3
doesnt work with 1.4.4...
@USM666
The plugin is fully compatible with both 1.3.2 and 1.4.2, otherwise how can you explain all the servers (including mine) using it?
Plugin didn't install,even more it is not 1.3.2 and 1.4.2 compatible. Don't waste your time.
probably use this if it gets few more todo list things added.
@DeprecatedNether
can i help u ?
@joehot200
I'm working on a far better regex lookup for the next version, which is why it's taking so long for it to come out, and it'll all commands and will also detect messages that have certain amount of characters, so for example also "12 dot 34 dot 56 dot 78" would get detected.
I'm also adding a feature to perform a certain action (kick, ban) people that were detected, but that still has to be added. ;)
2 ideas. first, it will show the ADVERTISER (only) that his message HAS got through! this will mean that he wont try devious things (random ip) like 24 . 18 . 175 . 9
also could it support commands, so people cant /f desc COME TO 24.18.175.9
lastly, could it IP ban anyone detected advertising?
This is a very nice idea, hope to see it fully working soon.