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.
1.2.5 Only in Czech Language, Sorry guys ! http://forum.fakaheda.eu/viewtopic.php?f=85&t=6959 Download in Czech: http://www.freemc.cz/AntiReklama.jar
Hey, awesome plugin, but can you make it so when someone posts the IP, it censors it.
So if someone posts 123.123.123.123, it would come up as ...
How long to next version :3
Does this check private messages?
Hi,
This is a really good plugin. Really happy with it!!! However I am having a few minor problems:
- After someone is kicked, the notify has a lot of [NULL] blocks appear after the number of online users
Lastly
I am trying to execute the command:
- /tempban %NAME% 1 day
but it will not process this command? any reason?
thanks again :)
@RaesWolf
As hopefully there are no more major changes to do in the Bukkit-API, you may rest assured that this plugin will propably work with all the the following versions of Bukkit :-)
@deleted_8591593
Hiding the IP: Only players who have the AntiAdvertising.notify permission will get this notification. Anyway, you can remove %ADDRESS% from the notification message (config.yml) to not have the server's address shown ;-)
The next version will include custom commands to be executed when somebody adverts a server (variable count of attempts before execution)
@dangerousdale
As I already wrote: The next version will include custom commands to be executed when somebody adverts a server (variable count of attempts before execution)
Does this work for the most current CB
I love this, it really gets the point across to the players. However is there are way to not have the blocked ip show up in the chat?
It checks it, posts it, kicks the player and displays a message that they were kicked and then notifies the mods. I prefer if it didn't post the ip in the chat, if thats possible.
Also thought it would be great that if they attempted to do it more than X number of times they get banned.
Great work! Thanks.
Would love an option to have a custom command on kick, like /tempban {name} m:15
@iwuvtweets
I only uploaded the source if you're interested in how it works, you should download the compiled version (The big "Download" link ;-)
@kustomcraft
No problem, not at all noobish, just didn't think about signs :-D
@MyPictures
Thought about that before, maybe I'll implement it, but first, I have to pass my final exams @ school :-D
The next version will propably be released in the week.
@upsj
Can you add the ability to block ALL www. or .com's? (Configurable in chat)... For my purposes, I want ALL IPs, ALL websites of any kind (.net, .org, .com) blocked straight out. So if you enable like:
blockall: true
Then it won't even ping or check the website. Instantly blocked.
@upsj will you add a feature that saves checked and pinged IPs in a file? to Blacklist them? So AntiAdvertising dosent have to ping the adverted IP every time, to save performance.
Hope you understand me xD
You have done a excellent and outstanding job thinking and Developing this plugin thanks alot! I want to add the most noobish request, but if it is possible highly doubt it is, but make it checks signs for people writing sever ip's on them. o.O just a idea :)
umm, it wont work? btw where do i put the AntiAdvert folder that i downloaded from the source?
@Squirzy
IP censoring will be added in the next version
@BeastsMC
No trust in the DNS service? :-P
Asides from that: Every domain is only be checked once and the result of the first ping is being saved then.
@upsj
It still seems like a good idea to thread the domain lookup. If you don't, it could open up a vulnerability for server crashing/lagging. If a player keeps spamming the same link that is not running an MC server, those milliseconds start adding up.
@Squirzy
I agree, this would be very useful if it censored the spam IP address. Ill bookmark this and check back every now and then until it has censoring features before I download
Is it possible if you could have the server IP censored if they say it, as well as adding a ban option?
Would help alot, Thanks
@NordicBlue
Guess how it's done... ;-)
Looking up a Domain shouldn't take more than a few milliseconds, but pinging the servers is running in a seperate thread because i've set up a read and connect timeout of 5 seconds
about the feature request:
What if someone promotes a partner server that the administrator forgot to add to the whitelist? ;-)
I'll propably implement that, though.
And a feature request:
Add an option that allows me to execute a command on an advertising player.
Like:
action:
do: true
command: 'ban %NAME% advertising'
OR
action:
do: true
command: 'smite %NAME%'