This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.


ConfigPermissionsSource code

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.


  • 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 "") 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: - without it, Essentials automatically gets rid of the dots in messages.

Usage Data Collection

The plugin by default submits anonymous usage data to 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.

MCStats Graphs


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).


  • To post a comment, please or register a new account.
Posts Quoted:
Clear All Quotes

About This Project



Recent Files