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.
@upsj
Alright well once SRV records are supported this will defenentally help many servers :D
@deaddude22
This could be due to the fact that the plugin doesn't support SRV records yet..
Hopefully, I will be able to fix this soon, but there are also some exams to be written etc.
Many advertisment are going right through this plugin lately. I use /serverping and it queries back with no minecraft server but once i go and check through direct connect &/or add it to my server list it pings the server showing players on it. So they advertise a live minecraft yet this plugin can't detect it.
@upsj
well idk if it's this plugin so you may be right it's just the commands looked a bit a like and its name was AntiAd and well idk... this was the closest thing I got to it... but I could probably try replaceing it with this plugin
@shadowwalker97
There is no such option in my plugin, maybe you're confusing it with another chat protection plugin...
BTW AntiAdvertising doesn't do any spam detection at all, it just detects server advertisement ;-)
Hey I've tried to turn of spam detection by setting "spam-detection-on: false" but it still kicks players for spam I only want it to block server IP's and links any suggestion?
@henrikil
Seems unlikely... Messages are either passed through or blocked, not sent twice.
Do you use any chat plugins? (If the chat plugin displays the messages without checking whether the message event has been cancelled, then there is nothing I can do)
looks like its broken. someone post an ip in the chat. the replacement message and the custom command runs, but the actual message also shows up...
@dotapurex1
you might wanna re-post that config on a site like this: http://pastebin.com/
What you just posted here is a MESS.
How does this actually work? I have the following config options enabled, but when i use a test account it doesnt block or do anything. I have the config Can you also explain to me one: false/true does? And attempts?
Thanks!
enabled: true network: timeout: 1000 actions: kick: attempts: 1 once: true message: You were kicked because of server advertisement! broadcast: attempts: 1 once: true message: '%NAME% was kicked because of server advertisement' hide: attempts: 1 once: true nofityMods: attempts: 1 once: true message: '%NAME% advertised a server:' format: '%MOTD% (%PLAYERS%/%MAX%)' command: attempts: 1 once: true command: ban %NAME% log: attempts: 0 once: false censor: attempts: 1 once: true chat: commands: [] whitelist: []
@upsj
Now i check and the server is offline but it appeared to be online during the time of advertisement according to voting websites.
@deaddude22
Does the domain name resolve to the correct server IP? Or does the server owner use SRV records? (unfortunately, they're not supported yet)
What is the output if you /serverping the domain manually?
A player advertised a server using
domain.no-ip.org
That was the server IP and he was able to bypass this plugin.
@sycoinc87
Jep, it's the standard YAML list format ;-)
Or you can use
whitelist:
- server1
- server2
Great plugin, works with 1.6.1 also (most likely 1.6.2)... just everyone remember to change something in the config.yml file to get it working.
Also what is the format for the whitelist is it [111.111.111.11, 111.111.111.12] ?
@dmulloy2
Both
@upsj
When you do it, does it do both? Or just one?
@dmulloy2
Sorry, but I can't tell you what the problem is, using the config you posted, the plugin works just fine for me...
@deaddude22
I explained in the FAQ why I won't be doing this - sorry. If somebody joins your server, not knowing about this plugin, to advertise his server, then he will quite probably use the 'normal' address format domain.tdl:port.
If he already knows about the plugin, there will always be ways to circumvent the advertisement recognition...
Can you make it so it detects the server IP even if the player tries to bypass it by typing IP(dot).com or whatever?
I would like for it to censor the message in chat (like join this awesome server **.**.**.**) as well as send the moderators a warning. I tried to do it with this configuration: http://pastie.org/8076715 but it would just send the moderators a message and then block it from global entirely. Any ideas?