[ADMN/SEC] AntiCheat v1.5.8 - Protect your server from hackers & cheaters [1.5.2-R2.0]

Discussion in 'Archived: Plugin Releases' started by Gravity, May 14, 2012.

  1. Offline

    Gravity

    [​IMG]
    AntiCheat helps server admins easily identify and block malicious users by monitoring and analyzing the behavior of your players. AntiCheat will look for tell-tale signs of hacked clients, as well as implement limits into the game so that players cannot gain an advantage by hacking. New features and bugfixes are typically added daily.
    [​IMG] Download latest version
    [​IMG] GitHub repository (Source code)
    [​IMG] Configuration
    [​IMG] Information/How to use
    [​IMG] Permissions
    [​IMG] Q&A
    [​IMG] API Documentation (How to make your plugin compatible with AntiCheat)
     
  2. Offline

    Gravity

    It does that automatically. AntiCheat obviously wouldn't penalize people in creative from flying.
     
  3. Offline

    gotchagain

    Well unless you set the anticheat.check.fly permission you can't fly in creative mode and as I noted before if you set that permission it also allows you to fly with zombe fly mod.
     
  4. Offline

    Gravity

    Mmmm.. you can fly in creative just fine..
     
  5. Offline

    gotchagain

    I tested it again and unless I have the permission I mentioned before set I cannot fly in creative mode. I hit the space bar to fly and it just returns me to the ground. I am not sure if this is a bug with anticheat or I have a setting wrong somewhere. Any help would be appreciated. Thanks!
     
  6. Offline

    Gravity

    That sounds like someone (a plugin) cancelling PlayerToggleFlightEvent. If you're unsure, please enable console logging and watch the console to be sure, and also send me a debug log (/anticheat debug) generated AFTER the problem has occurred at least once.
     
  7. Offline

    gotchagain

    It looks like flying in creative mode is causing a speed check fail.

    Console log:
    Debug Log: http://pastebin.com/Jg1ezvDA

    Hope this helps! Thanks again!

    I was able to resolve the issue by increasing the y_speed_max setting in magic.yml from 0.5 to 2.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
  8. Offline

    Pantheon

    First off, great plugin. I had ppl flying and whatnot all over my server with nocheat but yours fixed it.

    I seem to be getting a lot of false positives, though. Is there any documentation on tweaking the tolerances? If so, I didn't see it. I just don't want to break something by changing the wrong numbers.

    Also, I was perusing your collected statistics... What time zone are those stats reflecting?

    Thanks!
    Brandon
    Pantheoncraft.com:25572
     
  9. Offline

    Gravity

    There's some linked at the top of the magic.yml file. It's not really that user friendly yet though, so be warned. As far as stats go, I think it's EST but I'm not for sure because I don't run that system, just use it to collect the stats.
     
  10. Offline

    bradgillap

    I'm having trouble with anticheat shoving players into ground blocks when they spawn into the world. This causes their health to drop and they die as the chunks aren't fully formed immediately on the clients side. Can you add a spawn delay perhaps from anticheat kicking in or is there any way I can set a priority for when it loads?

    This may also be happening because another plugin griefprevention gives freshly killed players 10 seconds of immunity on death or spawn making anticheat believe there is no fall damage.

    Actually I did a little more testing and I found the issue stopped when I issued this permission.

    One more edit

    It's just like 3 or 4 different things at once. It's definitely because of network chatter between host and client. My west coast people are having the most trouble on this east coast server.




    anticheat.check.vclip

    Code:
    4:59:08 AM CONSOLE: [INFO] bradgillap[/76.10.137.149:27720] logged in with entity id 1229 at ([world] 240.98962042040523, 63.0, 211.76018172289753)
    4:59:08 AM CONSOLE: [WARNING] bradgillap moved too quickly! -232.48962042040523,2.0,-203.26018172289753 (232.48962042040523, 2.0, 203.26018172289753)
    4:59:08 AM *Console: Welcome back, bradgillap
    4:59:14 AM CONSOLE: [INFO] bradgillap tried to avoid fall damage (fall distance = 0 1 times in a row, max=+9)
    4:59:16 AM CONSOLE: [INFO] bradgillap tried to avoid fall damage (fall distance = 0 1 times in a row, max=+9)
    4:59:16 AM CONSOLE: [INFO] bradgillap tried to avoid fall damage (fall distance = 0 1 times in a row, max=+9)
     
  11. Offline

    Gravity

    bradgillap
    I don't think it's grief prevention; I went through its source and they never set the fall distance, they only use the immunity thing to cancel PvE/PvP damage. I believe this is the result of another plugin - perhaps you're in a WE region where there's no fall damage? Unless I know it's difficult for me to fix.
     
  12. Offline

    bradgillap

    Alright well thank you for checking. I'll let you know if I figure out which plugin is conflicting.
     
  13. Offline

    Gravity

    v1.5.6 has been posted providing futher compatibility with MC 1.4.7 and, of course, bugfixes!
    Changes (open)

    AntiCheat v1.5.6 is a bugfix and new features build
    CHANGELOG:
    Fixes:
    • Fixed some conflicts with teleportation plugins
    • Fixed compatibility with the Thorns enchantment
    • Fixed an UnhandledException when using language files
    • Fixed incompatibilities with "quick combos" such as swords on webs
    • Fixed redstone not calculating properly in xray stats
    • Fixed waterwalk being undetected in some cases where it was previously patched
    • Fixed common NullPointerException caused by the chat spam blocker
    Additions:
    • Implemented new levels system. Users can now define their own custom levels and actions for each level. See more here. Because of this change, event configuration has moved from config.yml into a new file 'events.yml'.
    • Implemented new Rules system. Users can now define their own conditional rules to further control AntiCheat's actions. See more here. Rules can also be configured from the new 'events.yml' file.
    Changes:
    • Modified fly check to operate later than other plugins, fixing potential incompatibilities with Stargate and other similar plugins.
    There is now an official AntiCheat repository for developer's usage.http://repo.gravitydevelopment.net/

    http://dev.bukkit.org/server-mods/anticheat/files/27-anti-cheat-v1-5-6/

    I should also mention that I've set up the Forum section of my BukkitDev page with two new subfourms: Language and Events/Rules.

    In the Language section you may share translated or modified versions of your lang.yml file with other people so they can benefit from them. If you're bilingual, this is a great opportunity to get some karma from translating the files into your native tongue, whatever that might be, and sharing them with others.

    In the Events/Rules section, you may share your setups for the new event system. In 1.5.6 I introduced the new 'events.yml' file which not only lets you configure custom events for any occasion, but also to setup a new, logic-based scriptable 'Rules' system for executing custom actions on your users in whatever cases you see fit.

    Feel free to make use of these new resources!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
  14. Offline

    jorisk322

    Will probably create a Dutch language file and post it there.

    EDIT: It's actually quite hard to translate some of the lines, even though Dutch is my native language, and I understand what everything means.

    EDIT 2:
    Done: http://dev.bukkit.org/server-mods/anticheat/forum/language/49482-dutch-language-file/
    It seems I need to fix some apostrophes though. The file in the jar is different from the example here.
     
    Gravity likes this.
  15. Offline

    Brady_

    I'm getting anti-cheat warnings even though I'm in a group with the "anticheat.check.exempt" permission, for apparently "winding up a bow too fast". Any ideas on how to fix this?
     
  16. Offline

    Gravity

    If you're still failing checks, you haven't applied the permission properly.
     
  17. Offline

    Brady_

    Well see, you say that, but...

    If my permissions weren't applied correctly I wouldn't be able to vanish, ban, summon...
    My moderators wouldn't be able to kick, whois, mute..
    My players wouldn't be able to use Essentials, Towny, McMMO...

    And since all of those things are working, based on the permissions groups I've been using for months now...

    Is it a possibility that it's something else? Because "wound up a bow too fast" is the only thing that is getting flagged for those players.

    Edit- I understand permission issues account for probably 99% of all problems, and I don't mean to sound like a smart ass, I just listed off all those things (while double checking them) to be certain that it isn't my permissions.
     
  18. Offline

    chicken7117

    Been getting warnings and kicks for using the Hylian luck ability with McMMO. It allows you to get gems such as diamond or emerald from breaking a flower pot with a sword, with a 10% chance at 1000 herbalism. As I was placing the flowerpots, at least once every, say, 20 flower pots placed I would get spammed to tell me "fastplacing detected". Well, to me it would seem pretty darned obvious you don't have to be standing outside of the block destination where the pot is going to be placed, thus being able to place them faster than, say, dirt. This reduces efficiency extremely- I'm limited to only placing a few at a time.
    Secondly, using the Leaf Blower passive ability with McMMO (a passive ability that lets you instantly break leaves with an axe) causes me to get kicked, which leads me to have to use my hand to break leaves. Inevitably, I'll graze a part of a leaf block when cutting down oak from the bottom, which happens every time I cut a tree. This incredibly innocent action with a low interval inbetween occurrences also has gotten me kicked.
    On top of all those, a particular version of an early anticheat version was also unstable. It ran perfectly fine with plugins like essentials and mcmmo for a time, then it crashed. It spammed people with warnings a few seconds prior to the crash, and somehow winded up killing me. I was kicked for an internal server error. Upon logging back in, I had died for no reason, as if /killed. I when to where I died, to find that nothing remained, even though only a minute had passed. All of the triple enchanted gear and weapons I had had all disappeared with the "death", except for my enchanted armour, which had lost its enchantments.
     
  19. Offline

    Gravity

  20. Offline

    Gravity

    Howdy guys,

    We're getting very close to releasing AntiCheat 2.0 officially. There's been a lot of hard work put into this new version, and there's a lot of things still to do, but my primary concern right now is stability and bugs. If you're interested in helping get the new version out quicker, please grab a copy of the newest dev build and try it out: http://ci.gravitydevelopment.net/job/AntiCheat/544/artifact/target/AntiCheat.jar

    So far, our testing of this build has been very stable, and I would be confident releasing it now, but I want to get more feedback from real users. That's where you come in! If you're willing to give it a test, it'd help out our release schedule a lot. All you need to do is download the new jar and replace your old one with it. This version has compatibility tailored to 1.7.x, so if you're experiencing issues with that, you might want to give it a go!

    AntiCheat 2.0 makes several configuration changes that you'll need to be aware of, specifically updating the entirety of config.yml and levels.yml. The system will notify you of what changes it made when you first start it. What I need is reports of any major issues or bugs in the build. This is my #1 concern to prepare for a release, and I'd really appreciate anyone who's able to give some feedback.

    If you do find a bug, please let me know: https://github.com/gravitylow/AntiCheat/issues?state=open
    If not, I'd also really appreciate a response letting me know it's working well for you.

    Thanks so much!
     
    drtshock likes this.

Share This Page