kasperfranz / antiad Goto Github PK
View Code? Open in Web Editor NEWAntiAd to stop IPs/URL and Spam on Bukkit, SpigotMC Server.
License: Apache License 2.0
AntiAd to stop IPs/URL and Spam on Bukkit, SpigotMC Server.
License: Apache License 2.0
It would be great if you made protection against spam like this too - http://img37.imageshack.us/img37/367/axk.png
Maybe by finding matching letters like mc. or .lv or ignore "space".
hey does my problem in #44 can be fixed if i update it to lates? version now?
Form hungerforgod
Ok so i really like this plugin, i think that aswell as telling the player not to advertise and warn them, it should send the ip/url but send the servers url/ip i think that should be an option :D
How disable the anti spam for Spam-Procent-Capital-Words and Spam-Number-Letters?
Hey, i use the newest version of antiad it works fine, but i need it for my private chat too.
We use AdminCMD for our private chat.
Players use /msg playername text.
But AntiAD dont work for this command. Please help / fix it.
Thanks a lot!
Form dotapurex1 Report.
Can you make it so that it doesn't detect stuff like:
Where... do i vote... ?
The "Dots" are making antiad think they are advertising.
Thanks
HI,
=> I have only : log, whitelist and config in the folder.
http://pastebin.com/p3GjDbwq
I thought it could block swearing 😕 swearing is kind of "bad ad" for the server ^^'
"#The Amount of time they are banned for" I don't understand 😛
Thanks 😄
I have AntiAd but it only bans players for i don't know how long. I want to ban them for IP because somebody maybe has two accounts or proxy or something, and that happened to me. The second problem is that they type **. *. *. **. so AntiAd bypasses that so how to make it to ban for that also. Also i have problem with this first that i tried to configure to banip does guys but it only bans them with reason: 5000000 ban-ip . This is my config:
Language: en
Command-Ad: ban
ban-ip
Command-Spam: kick
Time: 5000000
Spam_Message: DO NOT SPAM!
Ad_Message: DO NOT ADVERTISE!
Notification-Message: true
JoinMsg-On: true
Spam-Detection: true
URL-Detection: true
AD-Detection: true
Spam-Number-Letters: 20
Spam-Procent-Capital-Words: 80
Detected-Commands:
So please guys help me to defeat these advertisers!
The plugin should check if there is a new version ready on DBO (Dev.bukkit.org) and report it to the ops when logging in (only one time per opped player per restart)
As of Version 2.3 There are added 2 new strings to the translations
I added them as english strings in the translations, I translated the danish one
Tagged the users there have made translations so far for AntiAd:
Can i get you to update your translations with the 2 new strings :)?
Its not blocking the ips, neither punishging them. I can typ ip and site and all it does is removing the dots. They get no warning and it is still displayed:
Config: http://pastie.org/8539548
Fix plz?
Dear dev's
I noticed that the whitelist does not work and also you cant add like player names to the whitelist other wise when players type a name and its in CAPS it gets marked as spam.
if i set spam detection to false you can advertise with commas and then the CAPS error
is fixed but once is set it back to true you cant advertise with commas and thats how it should be but then CAPS error comes back.
We it to work in the bug of the factions.
Source: http://dev.bukkit.org/server-mods/antiad/?comment=51
Hello,
It would be awesome if you could add an option that we can use * to allow all A records of a domain. Like .MyServer.com would allow the use of play.myserver.com, mc.myserver.com, basically anything :P. Also it would be nice to not block play.myserver.com/forums/, by for instance adding *.myserver.com/.
I hope you can take this into account, since my members can not share any forum posts and such ;(
Sincerely,
Darthmineboy
How do you want this feature to be?
Should we look at the persons last 5 messages and if 2 af them are the same we gonna say "no no my boy ;)"?
or should we only look at the last message (so you can do this "anyone selling redstone?".." "anyone selling redstone?")
what do you want?
I want to fully customize the message being sent including prefix and whether to disable or not. Also to give how much chances i want to give the user or no chances at all and to just execute the command on the first strike.
http://gyazo.com/62641e797f6cd64172bab8312b662525
It displays what appears to be a debug message or the command its suppose to do when it bans/tempbans/kicks a player.
It would be wonderful if we could set a configuration limit for the use of words like..
"noooo" or "hiiii"
Since they don't fit under the Caps filter or reach the character limit for spam they still slip through it's quite annoying.
Wich language support antiad?
Hello,
I think it would be neat for you to make it so that we can choose how many warnings the player is given, rather than a straight up 3.
Thanks!
Also, Is there a way we can monitor Books? Seems some players hide IPs and URLs in books to bypass detection.
Please add the ability to pick up things like:
РVР ŚĔŔVĔŔ МČ-РŔР.ČŐМ
Thank you :)
Is there any way to turn off the cap limit
'Spam-Procent-Capital-Words:'
because its stuffing up heaps on my server =/ no one can use two numbers next to each other e.g 22 and cant go LOL or AMAZING. Changing it to 0, 100 or -1 doesn't work. Thanks =)
~Smiggle
Hello there, :)
I have found the glitch to bypass AntiAd blocking URL.
By making the URL address in all caps they can bypass it without getting caught.
Can you please fix this issue?
Thank you,
SimdolCraft Administrator
Source: http://dev.bukkit.org/server-mods/antiad/?comment=68
please add .pl
[SEVERE] Error occurred while enabling AntiAd v2.2-DEV (Is it up to date?)
java.util.regex.PatternSyntaxException: Unmatched closing ')' near index 274
(http://)|(https://)?(www)?\S{2,}((.com)|(.ru)|(.net)|(.org)|(.co.uk)|(.tk)|(.info)|(.es)|(.de)|(.arpa)|(.edu)|(.firm)|(.int)|(.mil)|(.mobi)|(.nato)|(.to)|(.fr)|(.ms)|(.vu)|(.eu)|(.nl)|(.us)|(.dk))[ ]?[., ][ ]?(?:25[0-5]|2[0-4][0-9]|[0-1]?[0-9]{1,2}))(?![0-9]))
^
at java.util.regex.Pattern.error(Unknown Source)
at java.util.regex.Pattern.compile(Unknown Source)
at java.util.regex.Pattern.(Unknown Source)
at java.util.regex.Pattern.compile(Unknown Source)
at me.jne.AntiAd.Adfinder.(Adfinder.java:43)
at me.jne.AntiAd.AntiAd.onEnable(AntiAd.java:31)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugin(CraftServer.java:282)
at org.bukkit.craftbukkit.v1_5_R2.CraftServer.enablePlugins(CraftServer.java:264)
at net.minecraft.server.v1_5_R2.MinecraftServer.j(MinecraftServer.java:303)
at net.minecraft.server.v1_5_R2.MinecraftServer.e(MinecraftServer.java:282)
at net.minecraft.server.v1_5_R2.MinecraftServer.a(MinecraftServer.java:242)
at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.java:150)
at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:381)
at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573
just had a server-advertising guy here, who is not detected by antiad, antibot or spamhammer.
His action was:
22:04:26 [INFO] SeruBans has checked in with database
22:04:31 [INFO] superman537[/85.81.61.166:57422] logged in with entity id 158654 at ([museum] -4293.782680641402, 52.0, -326.2141896953548)
22:04:53 [INFO] kkristan00 has leveled up from level 19 to level 20. Congratulations!
22:05:12 [SEVERE] Reached end of stream for /220.233.72.234
22:05:21 [SEVERE] Reached end of stream for /37.59.35.201
22:05:25 [INFO] [Alerter]: º6[Alerter]: ºeºf[10] ºanjortºf use a command: ºc/balºf
22:05:25 [INFO] njort issued server command: /bal
22:05:26 [SEVERE] Reached end of stream for /83.90.151.17
22:05:43 [INFO] [Alerter]: º6[Alerter]: ºeºf[11] ºasuperman537ºf use a command: ºc/MSG JesperM_202 JOIN DENNE SERVER! 85.236.101.220:30265ºf
22:05:43 [INFO] superman537 issued server command: /MSG JesperM_202 JOIN DENNE SERVER! 85.236.101.220:30265
22:05:49 [SEVERE] Reached end of stream for /83.90.151.17
22:05:54 [INFO] [Alerter]: º6[Alerter]: ºeºf[12] ºasuperman537ºf use a command: ºc/MSG kkristan00 JOIN DENNE SERVER! 85.236.101.220:30265ºf
22:05:54 [INFO] superman537 issued server command: /MSG kkristan00 JOIN DENNE SERVER! 85.236.101.220:30265
22:06:02 [SEVERE] Reached end of stream for /83.90.151.17
22:06:03 [SEVERE] Reached end of stream for /173.255.228.22
22:06:05 [SEVERE] Reached end of stream for /77.212.14.171
22:06:06 [INFO] [Alerter]: º6[Alerter]: ºeºf[13] ºasuperman537ºf use a command: ºc/MSG Lazsedk JOIN DENNE SERVER! 85.236.101.220:30265ºf
22:06:06 [INFO] superman537 issued server command: /MSG Lazsedk JOIN DENNE SERVER! 85.236.101.220:30265
22:06:15 [INFO] [Alerter]: º6[Alerter]: ºeºf[14] ºasuperman537ºf use a command: ºc/MSG njort JOIN DENNE SERVER! 85.236.101.220:30265ºf
22:06:15 [INFO] superman537 issued server command: /MSG njort JOIN DENNE SERVER! 85.236.101.220:30265
22:06:19 [SEVERE] Reached end of stream for /83.90.151.17
22:06:26 [INFO] [Alerter]: º6[Alerter]: ºeºf[15] ºasuperman537ºf use a command: ºc/MSG superman537 JOIN DENNE SERVER! 85.236.101.220:30265ºf
22:06:26 [INFO] superman537 issued server command: /MSG superman537 JOIN DENNE SERVER! 85.236.101.220:30265
This server is running CraftBukkit version git-Bukkit-1.5.2-R1.0-36-g386f7f5-b2825jnks (MC: 1.6.2) (Implementing API version 1.6.2-R0.1-SNAPSHOT)
At the tempban option, i have a danish text string, resulting in a temban with reklame for mc-server. Unfortunately, i have a few extre words , and they do not come along?
Here, you can see it says "for mc-server".
16:36:28 [INFO] [AntiAd] ºbyafetghºbºr was logged for advertising in chat.
16:36:36 [INFO] [AntiAd] ºbyafetghºbºr was logged for advertising in chat.
16:36:46 [INFO] [AntiAd] ºbyafetghºbºr was logged for advertising in chat.
16:36:46 [INFO] [SeruBans] Attempting to add player yafetgh to database;
16:36:46 [INFO] [SeruBans] Player Added: yafetgh Id: 1543
16:36:46 [INFO] [SeruBans] Banned: yafetgh Ban Id: 1962
16:36:46 [INFO] CONSOLE banned yafetgh for for MC-server
16:36:53 [INFO] [Delwins] [Indbygger] Ved leonardvdj: console
16:36:55 [WARNING] yafetgh LOGIN DENIED - BANNED
16:36:55 [INFO] Disconnecting yafetgh [/109.189.24.109:50846]: ºcDu er midlertidigt forvist af º4console, º4for MC-server, ºcindtil º4Tue Aug 06 15:56:46 CEST 2013. Abuse pÕ forum.mcraft.dk
but config says:
Command-Ad: tempban Reklame for MC-server
Is it a quote issue?
There should be an option in the config to set if the domain filter should be strict (as it is now, where it finds more than good is) or be simple where it would it would flag it if the TLD is one of these (there usecase is higher or equls to 0.2%) (source):
com, ru, net, org, de, jp, uk, br, pl, in, it, fr, au, info, nl, cn, ir, es, cz, biz, ca, kr, eu, ua, za, co, gr, ro, se, tw, vn, mx, ch, tr, at, be, hu, dk, tv, me, ar, us, no, sk, fi, id, cl, nz, by, pt
It's important to node that this pattern will have some of the same strict items eg. the space,comma and dot between domain and TLD
If the message contains 2 links 1 whitelisted and 1 not whitelisted, if the one whitelisted comes last it lets the message come thru.
If you add this in this Program, it will become perfect. :D
&6 Error while trying to execute command!
Just print this in game when user sent an ad.
No error on console.
The version 2.2 Request/ working on list.
Russian language file uses wrong encoding.
It should use UTF-8, not ANSI
The spam filter is atm doing to good and catches
"HERE"
"whats the warp called for here at the big tree TROY"
"i'm 9,000 blocks away. where are you?"
"I'll be back on at 5:00."
reported at: http://dev.bukkit.org/server-mods/antiad/#c12
Why does it ban the person and then repeat the same command in chat? Like it executes ban xxx advertising, and then says it again in chat, ban xxx advertising?
Hello,
[ISSUE]: I have noticed that the Advertising seems to be flagging things which do not contain urls or anything similar to such. Example from the Log:
Feb 13,2015 19:36 §2CrystalGreen3§r has advertised: thank you...they are after me!, in chat.
Could you please advise if something needs to be changed to correct this, or if it is otherwise a general bug? I do no wish players to be warned or kicked for normal chat lines, and to have their chat suppressed if they are not advertising.
[QUESTION]: If I set something to the whitelist, such as my server website, does this include all pages for the full domain, or just the specific page whitelisted?
Thank you, am enjoying the functionality of this plugin.
Will emojis work on whitelist? if i whitlist something like: =D will it whitelist just that emoji or will it whitelist any sentence with a D and = in it?
if it wont work on the whitelist, is there a way to allow emojies in chat?
Reload command is broken. Doesn't apply changes on config.
Source: http://dev.bukkit.org/server-mods/antiad/?comment=44
Please add the posiblity of having configurable limits, something along this:
Spam limit: 5
Action: kick
Spam limit: 10
Action: tempban 10m
Spam limit: 20
Action: tempban 1d
Ad Limit: 1
Action: tempban 1h
Ad Limit: 2
Action: ban
I love that this plugin does exactly what it is supposed to do, it will do wonders on my server.
I do however request that a feature be added to instead of block messages with a spam trigger, it corrects them?
IE: HELLO! -> Hello!
Dear developers,
Please help me if you can because the plugin in my server is acting so weird in the caps detection setting, if i set the caps detection to false it still detects caps. Another thing Developers if the caps procent or percent is 100 and players typed more than 3 words of caps does it includes spamming? how if i put 50 and below its still spamming cause its kinda weird for me, another thing is that if player still keeps spamming or doing things that is cause the plugin to give them warning it goes to a crash but the plugin doesnt give a WARN things or errors it just give us Java thing msg when kicked but nothing happening in console and does this plugin have the duplicate msg thing? and like if player caps they will be just edited to small letters like the right caps and the right things to be in cap like if players do ABC.ABC it will be converted to Abc.Abc or HEY!!!!!! it will be just Hey!. Please Developers do help me if you can TY verymuch
P.S How to set signature in bukkit :D hahaha just asking :P
The update seems to be a lot more sensitive towards caps. (Ex: this is taking FOREVER lol). Also my censored word replacement "@$&#" is counting as spam. Will post more observations.
Edit: "/r how did you get to -348?" is also counting as spam.
Edit 2: Time still counts as spam (ex: 3:15)
Edit 3: "1/40 chance" and "about time..." counts as spam.
Edit 4: "woo! 1.5!" counts as spam.
Edit 5: "have 11-13 fps" counts as spam.
Source: http://dev.bukkit.org/server-mods/antiad/?comment=44
Is is posible to make a full website whitelisted, we can't whitelist every url of our forum/website.
Thanks in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.