AntiAdvertising
Don't you hate these people joining your server, spamming their server's ip?
This plugin will bring an end to this.
It searches the chat messages (and specified commands) for server addresses like 111.111.111.111:12345 or server.domain.com. The plugin will then check if this message really points to a minecraft server (by pinging it) and in this case can:
CI-Server
If you want to support the development of this plugin, you can donate by clicking the button on the top right corner.
Thanks to Absolutionmc for donating.
This plugin will bring an end to this.
It searches the chat messages (and specified commands) for server addresses like 111.111.111.111:12345 or server.domain.com. The plugin will then check if this message really points to a minecraft server (by pinging it) and in this case can:
- drop the message
- censor the message (replace the advertisement by ***)
- kick the player
- broadcast a message
- notify moderators of the advertising
- execute a custom command
Frequently asked questions
Commands
- /antiadreload
-
Reloads the plugin configuration.
Permission: antiad.reload
- /serverping
-
Pings a server manually.
Permission: antiad.ping
Permissions
- antiad.notify
-
Permission to receive notifications about server advertisement.
- antiad.reload
-
Permissions to reload the configuration of the plugin.
- antiad.ignore
-
Permission to send chat messages without being checked.
- antiad.ping
-
Permissions to ping potential servers manually.
config.yml
Click the heading ;-)
Development builds
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.CI-Server
If you want to support the development of this plugin, you can donate by clicking the button on the top right corner.
Thanks to Absolutionmc for donating.
can you integreat
censor Link
www.google.de or http://bla.de htttp://www..bla.de
@upsj
Can you please fix the bug where typing something with a "." in it will trigger localhost. For example: ed.awg878
Please update it to 1.4.2 :)
@twisted067
banning and ip banning would be awsome too.
@twisted067
i would like that too. also could you add it so they cant use spaces? (my server ip is 109.111.221.39) so they couldent just advertise 109 . 111 . 221 . 39 also, as the other person says, a stealth mode would be quite cool. why dont u just BLOCK the message and then do player.sendmessage(player.getname + player.getname.getmessage) (might have got that slightly wrong but u get the idea)
can you add an option to ban a player who keeps coming back and advertising?
Somehow it triggers an advertisement if a player says like:
Hi mr.nordicblue, then it triggers an advertisement to the localhost. Whitelisting has no effect.
Custom command? like jail or tempban player, and also when they type the ip is it blocked out of chat so know one sees it ?
Update documentation please :)
@EDawg878
This would be difficult as many server owners use chat plugins that format all the chat messages seperately, so an advertising user could easily recognize the difference between the "stealth" message and a regular message...
@upsj
Could you add a stealth feature that works like this: When a advertising is detected, then plugin modifies the player chat recipients of the to only the advertiser himself. So he would think that the message went through but it really would not be seen to anybody else. This would also solve the problem of people trying to bypass the plugin using sneaky ways because the advertiser wouldn't know his message was blocked in the first place. Thanks
@xBlueXFoxx
That's already possible, just use the action.command config node. I'll have to update the documentation as soon as possible, I just don't have time for it at the moment.
How about support to ban people for advertising? I'm not light on advertising at all, kiddies who just come in to spam my server are not likely to play in it later on anyways, they're just trying to steal members. Also does this get rid of the message before it hits the chat? If not then that function would be really nice, possibly just have it fill 120 blank lines (like a typical clear chat plugin) when the IP is confirmed another servers.
@sillyrosster
It only has to check chat messages for IPs or domain names, perform a DNS lookup and a minecraft server ping, so it won't make any difference as all time-critical actions are run in a seperate thread.
In a nutshell: There will be no performance issue at all ;-)
How is this on performance?
Don't know if this has been asked before, but ill ask anyway.
Is it possible for to make the plugin also watch signs? I had a lot of advertisers using signs to get around this plugin. Would be a great feature if it also could detect those texts (and possible remove/change the sign) :)
@MaloCrafted
It works with both IPs and domains, it even recognizes specified port numbers like in 127.0.0.1:25561 ;-)
The main problem behind this is the latency of every request... To resolve a domain, a DNS lookup is done in the bukkit chat thread, blocking the whole chat while being processed, but as this system is very reliable, you don't notice this short latency. But in the second step, the plugin checks whether there's a minecraft server running on that IP by doing the regular server ping that's also used to show the user count in the minecraft client's server list. Depending on how 'laggy' the pinged server is, this request can take much more time, blocking the chat thread distinctly. So I decided only to block chat messages that contain server addresses that have already been adverted or to hide IPs directly.
Maybe in the future, I could hold the message back until it's checked to completely prevent server advertisement. I'll put that on my ToDo list
may i ask what type of ip's this works with? like domains only? or does it also work with number ip's. also, on my server i would like it just to not show the message and warn the player with a message like "Your message was detected as an advertisement and was not shown" or something.
@simpsda
I forgot to clear the whitelist before reloading it - the currently pending update should fix this bug ;-)
I can't seem to whitelist some servers.
Everytime I try to set a server, it just changes it to
- localhost
- localhost
- localhost