GithubHelp home page GithubHelp logo

antiad's Introduction

antiad's People

Contributors

alexml avatar dependabot-preview[bot] avatar dependabot[bot] avatar ferrybig avatar games647 avatar hunlux avatar kasperfranz avatar mayomi avatar metalun4 avatar nathampa0909 avatar xxcoolgamesxx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

antiad's Issues

[Bug] missing spaces

bug
As you see, when a report is on 2 lines a space is missing between the ad messages and the actual line of spamm

thats all for now ;)

Feature from hungerforgod

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

Private Chat antiAD integration with AdminCmd

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!

bug on the ... of antiad.

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

Important ! Errors and features

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 ^^'

  • I don't want players who CAPS be warned 😞
     It doesn't block : EEE EEE EEE or ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! 😞
  • I set to fr, this is still in english 😞
  • AntiSpam is ver BAD, too slow :
  • I need warn+1 when someone say 5 things in 3 seconds 😃
  • I need block players to send an other time the Same thing in chat 😃

"#The Amount of time they are banned for" I don't understand 😛

Thanks 😄

Some Questions

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:

Standard Languge you wat to use (see http://dev.bukkit.org/server-mods/antiad/ for valid values here)

Language: en

Command sent to console when someone advertises

Command-Ad: ban
ban-ip

Command sent to console when someone spams

Command-Spam: kick

The Amount of time they are banned for

Time: 5000000

The message players are given if not banned.

Spam_Message: DO NOT SPAM!

The message players are given if not banned.

Ad_Message: DO NOT ADVERTISE!

Broadcasts a notification that someone has been punished for advertising

Notification-Message: true

Says Server is running AntiAd

JoinMsg-On: true

Check if there are spam

Spam-Detection: true

Says whether it will detect url's or not

URL-Detection: true

check if there are any URLS ex. google.com

AD-Detection: true

Number of characters without a space that become spam

Spam-Number-Letters: 20

Number of Capital Letters that become spam per word Eg More than 3 Letters Per Word Become Spam

Spam-Procent-Capital-Words: 80

What commands the plugin listens to (private, me and so on.)

Detected-Commands:

  • /msg
  • /me
  • /t
  • /message
  • /tell

So please guys help me to defeat these advertisers!

Banning Error

When a player is temp-banned from the server for advertising, it kicks them and says, "DO NOT ADVERTISE! 300". I have my tempban time set to 5 minutes, or 300 seconds, so I'm guessing that's where it comes from. Ideas on how to fix it?

capture

[Feature] - Check for new builds

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)

  • Permission node (default OP)
  • Send message to people with the permission node

Bugs

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.

Star alias to the advertisement whitelist

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

Spamming (same words)

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?

Feature Req: Custom messages

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.

Excessive Letter Blocking Request

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.

Language

Wich language support antiad?

Feature from xxtreepuncherxx

Also, Is there a way we can monitor Books? Seems some players hide IPs and URLs in books to bypass detection.

Spam-Procent-Capital-Words

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

Advertising Glitch

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

git-Bukkit-1.5.1-R0.2-6-g1baccb2-b2761jnks

[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

antiad does not detect advertising

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)

Minor issue text

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?

[Feature] - add an option for simple domain blocking

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

2 links in message

If the message contains 2 links 1 whitelisted and 1 not whitelisted, if the one whitelisted comes last it lets the message come thru.

More options! Please.

  • Add a option to configure the times before a person is banned.
  • 123.123.456.456 is a IP, but "123(dot)123(dot)456(dot)456" the program doesn't recognize it as a IP. :/
  • Put a blacklist-file to kick people who are swearing.....

If you add this in this Program, it will become perfect. :D

chat format error?

&6 Error while trying to execute command!

Just print this in game when user sent an ad.

No error on console.

Version 2.2

The version 2.2 Request/ working on list.

Bug of the loop text.

@dotapurex1

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?

Advertising Detection

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.

  • UNST3RBLICH

emojis on whitelist

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?

Feature Req: Configurable Limits

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

Adjustment instead of Block request

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!

some errors or cant understand things in the plugin (remake accident first one)

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

Spam Pattern fixes

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

Full website whitelist

Is is posible to make a full website whitelisted, we can't whitelist every url of our forum/website.

Thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.