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.
does it still do the stars when someone do this with an IP?
111 111 111 111:12345
Leave the dots out?
@TheSigler49
Adding /g to the chat.commands list in the config.yml should be sufficient.
@upsj Um I am using herochat, if a player talks in global using "/g 123.456.7890" it will still say it. If he doesn't use the shortcut, just straight chat, it works, but my server revolved around the shortcuts. Any fix?
@ahmedseif
I know, I'm working on it, sorry :-/
not working :(
Yes definately a server (I tried the MCSG servers!)
Would you like to come on and see?
@smiggle0404
The config works fine for me ;-)
Are you sure that the IP you tried is the IP of a minecraft server? Otherwise, no actions will be taken.
This seems like a REALLY cool plugin, but it doesn't seem to be working for me? Do i have to give ranks a permission for it to work?
This is my config.yml
This is what i would like for it to happen;
Player spams ip.
It is censored into ***
Player is kicked
Logged
notified to staff with permission (I have given my staff the permission to receive notifications)
http://pastebin.com/v8RxjqxV
Thanks! I really like this plugin :3
@upsj
Thanks, ill begin testing it again now to see if there might be any other occurrences.
@deaddude22
Fixed it. I still don't know why this exception didn't occurr in my tests, but now it works ;-)
New version on the CI server.
@upsj
I use the latest most secure version: Version 7 Update 25
EDIT: i got this in my console also http://pastebin.com/TfgzAhhw
@CrossfireLR99
That's already on my to do list ;-)
@deaddude22
I never encountered this behaviour when I tested it, but I finished a fix and will upload it ASAP.
BTW which version of java do you use? (java -version should output it)
I would really like to use this plugin, but can you please add that the plugin also sees if someone writes an IP on a sign?
@upsj
Hey i got this error on startup with the latest version: http://pastebin.com/RBHqQdbq
EDIT: Why do i get this giant error why typing "/serverping twitch.com" http://pastebin.com/mbDvDYJW
@upsj
Yes thank you so much :D
@deaddude22
I finished the new version, I'll upload it ASAP
EDIT: The new version is up and waiting for approval ;-) If you need it now, you can also download it from my CI server (link above)
@deaddude22
I've got a software engineering exam to write today, but I'll see what I can do afterwards ;-)
The code is theoretically finished, but there are some timing issues:
Requesting the SRV records is quite fast. But servers that don't have such a record will cause a timeout and thereby delay the message perceivably.
I'm also thinking about including some kind of queue and cache overflow protection in case somebody decides to spam the chat with random domain-like messages, but that't for later ;-)
@upsj
How long till SRV records are completed because advertising is getting real high lately.
@creeperzee
As far as I know, it should work with version 1.6.2 ;-)
does it work on 1.6.2