[ADMIN/SEC] mxAntiPVPCheat 1.11 - An approach against newest PVP Cheats [1000]

Discussion in 'Inactive/Unsupported Plugins' started by mxE333xm, Jul 23, 2011.

  1. Offline

    mxE333xm

    mxAntiPVPCheat
    Tested with bukkit build 1000​
    Important announce 3: If you experience Number-Consolespam from this Plugin please redownload it (v1.1)

    Last month this PVP-Cheatmod appeared. And it spreads fast! People using this mod have basically

    • Autoheal
    • Autoaim
    • A feature called Forcefield that auto-attacks all people in a sphere around the player without him doing something and even without him s eeing them.
    That makes them invincible and other players get bored. On this way the complete PVP-Activity on a server can get ruined.


    Also this can crash the economy on a Creative-Server. How? This allows you to farm Wool from sheeps automatically with the forcefield-Feature.

    This plugin tries to fight these Cheaters by indicating the Server administrators which player probably use this mod. How sure it is actually depends on the method used to determine whether they were cheating.

    Detecting Autoheal [Implemented]
    The autoheal-Feature of the Cheatmod allows players to use Food in their inventory to heal themselves without clicking it and without wasting possible harts. As soon as the health of the player has a value that can be perfectly healed (e.g. 15 + bread = 20) that food item is used. It's obvious that a player with a stack bread in his inventory pratically can't die.
    To fight this, it's logged how good the player heals himself in a timeframe of 30 seconds. So if he heals himself 2 times in < 30seconds without wasting half a heart (which is very hard to achive in a fight) you'll get this warning:
    [​IMG]
    If he healed a fifth time or a seventh the message is going to look like: "It's extremely probable that he uses PVP-Cheats". If the message contains got 11 perfect Heals you can be sure that he uses the cheatmod because that is just absolutely impossible to achive in a fight.

    Notice: Wasting hearts means healing with an item that regenerates theoretically more hearts than needed. So healing from 2 to 20 isn't considered to be a cheat by this plugin ;)

    Notice 2: Another characteristica of the cheatmod is that Food items get on fix places in the inventory when turning autoheal on. That will soon be used as alternative detection-method.

    Detecting Forcefield [Implemented]
    To detect forcefield this plugin counts how much times the player attacks other entities in a given timeframe. The forcefield-cheat attacks every entity in a radius of 6 around the player every Frame. That isn't possible without this cheat. So a message will look like this:
    [​IMG]
    If you get more then 1 message like this you can be pretty sure that he uses the cheat.

    Notice: Another characteristic of the Forcefield is the distance between attacked player and attacker when the attack takes place. That will soon be used as an alternative detection-method.

    Detecting Autoaim [Coming Soon!]
    Coming soon ;)

    Commands
    There are no commands at the moment. These messages appear automatically and are logged in a mxAntiPVPCheat.log - File in the directory of your Servers executables.

    Configuration
    A config.yml is generated with the default Values on the first start of this plugin.
    Code:
    # Section about the forcefield
    forcefield:
        # Autoaction enabled?
        autoaction_enable: false
        # Number of forcefield-violations (The red messages you get) to trigger this action
        autoaction_req_violations: 10
        # Command that has to be executed (without /).
        # e.g. globalban &1 Cheating or localban &1 &2  with glizer
        # &1 will be replaced through the player's name
        # &2 by a Reason-String. In this Case mxAntiPVPCheat - Forcefield - X Violations.
        autoaction_command:
    # Autoheal section, see above for info about the parameters if there is no comment
    autoheal:
        autoaction_enable: false
        # Number of perfect heals in a row in 30 seconds required to toggle this action
        autoaction_req_violations: 10
        autoaction_command: 
    Permissions
    Permission NodeFunction(Without Permissions) OP Only?
    mxAntiPVPCheat.AdminUsers with this Permission see the Cheat-Warning-MessagesYes
    mxAntiPVPCheat.bypassUsers with this Permission can cheat without being indicated.TD]Yes


    Coming Features:
    • Autoaim Detection
    • Supporting more Permission Systems
    • Arrowcheat detection
    Download
    Note: Due to some changes in the autoheal detection the values making you sure that autoheal is used have changed. Please re-read the chapter about this above or look at the adjectives in the messages ;)
    Note II: The Lag-Detection-Code is taken from the NoCheat code.
    Note III: Permissions 3.x or compatible are needed.
    Click me!

    Other Stuff:
    [​IMG] if you want to support my development activites :)

    Special thanks goes to: MiRROW :=)

    Changelog:
    v1.11 - fixed Consolespam

    v1.10 - fixed a bug in the lag-detection
    - fixed a logging bug
    - added a timestamp to the logfile entries
    - added autoaction features and a configuration file
    v1.02 - Arrows are now ignored as they aren't part of the Cheat and toggled detection.
    Older Entries: (open)

    v1.01 - Lags should not longer affect the Cheater-Detection
    v1.0 - Logging of anti-cheat-messages into a Logfile.
    v0.3 - Forcefield detection
    - Improved Autoheal-detection

    v0.1 - Initial Release
     
    zok, Codex Arcanum, Kain888 and 4 others like this.
  2. Offline

    OMGtehEPICNESSS

    very nice. this + NoCheat + Anti X-Ray = perfect uncheatable server :]
    by the way.... what does "forcefield" do?
     
  3. Offline

    mxE333xm

    Added a hint what forcefield does in the first post ;)
     
  4. Offline

    Evenprime

    I posted a link in my plugin thread to direct some people here, which will likely be interested in this plugin.
     
    mxE333xm likes this.
  5. Offline

    mxE333xm

    Thanks alot :)
     
    o0AzzA0o likes this.
  6. Offline

    o0AzzA0o

    Nice thanks for making this plugin cant wait to see the future of this plugin.
     
  7. Offline

    gameswereus

    Thanks so much! I'm planning on start a PvPish server so this will be awesome.
     
  8. Offline

    Drumpie

    Nice one, is this multiworld supported?
     
  9. Offline

    mxE333xm

    Yes, it is.

    We got a new version! :)
    • Forcefield detection!
    • Improved autoheal detection. Due to the changes in the method the values have changed. Please re-read the chapter about them in the first post or look at the adjectives of the messages ;)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  10. The video was made in craftingfactions.com
    i am the only admin there, it's made by: Jay_92 and his brother: spowney
    after some decompiling i saw that the hack cannot be used against spowney, jay_92 or rayray31(could be slightly different).
    thanks to the autoheal function you can dupe items too in some way.
    It ruined craftingfactions, and it's spreading fast.
    I will shutdown craftingfactions (with permission from fuzzy_bot the server owner) for some time, till this plugin is solid.

    Thanks
     
  11. Offline

    mxE333xm

    Yes, I saw that too.
    Well, I think it has his basic function now ;) It needs basically servers who use it to get feedback on the parameters and results. As you can detect the cheaters now I don't think that it's needfull to shutdown the server ;)
     
  12. I was planning to reset the map on 1.8 anyways, and spowney and jay are skillful coders.
    If this is all up and running could you work on a antixray plugin that hides chests and other things.
    Not using the lightlevel as a parameter.
     
  13. Offline

    mxE333xm

    There are 3 Plugins doing so I think?
     
  14. ah i will look into it, sorry.
    It seems to be working :)
    banned the first guy using a forcefield.
    The other bigproblem is NoClip.
    PikaClient and NexusClient allow that, not mentioning Yiffcraft.
    All custom clients.
     
  15. Offline

    mxE333xm

    Well, I think the NoCheat Plugin of Evenprime is a good way to catch such cheaters ;)
     
  16. I installed that one, it's not very straight imo, people teleporting are speedhacking says nocheat.
     
  17. Offline

    mxE333xm

    You may consider to post something about that in the NoCheat-Thread to help Evenprime to make his plugin better ;)
     
  18. Offline

    sukosevato

    This plugin sounds awesome!
     
    mxE333xm likes this.
  19. Offline

    mxE333xm

    :)

    I think I meet the plugin submission criterias to get in the Released-Plugins section btw.
     
  20. Offline

    jeffreylec

    This plugin is pretty cool. I can't believe I actually caught somebody using it because the mod is sort of a low-key mod. The MC Forum post got locked as well and the links got taken down.. Surprisingly, considering it's a mod, not necessarily a hack.. Anyway - before I start banhammering people, is this plugin pretty accurate? Check out these logs.

    http://pastie.org/2270087
     
  21. Offline

    mxE333xm

    Xproplayer is definitely cheating if you get that much messages. One can sometimes happen but that are about one hundred?
    thwhondini also.

    You can try it by yourself, just install the cheat, activate it and spawn some sheeps nearby you while forcefield is activated and watch the console ;)
     
  22. Offline

    jeffreylec

    Well thanks man :) He's notorious for that sort of stuff. Banned! Thanks to your plugin :)
     
    mxE333xm likes this.
  23. Offline

    Evenprime

    Thank you mxE333xm for writing this plugin, so I can focus on different things. :D

    @EvilSeph this should definitely go into the "released plugins" section now, please. :)
     
  24. Offline

    mxE333xm

    Have fun with NoCheat 2.0 :D No power for the cheaters!
     
  25. Offline

    gameswereus

    So is it possible for the plugin to make a mistake if someone is really good at PvP?
     
  26. Offline

    Lomz

    Thank you for making this. I sincerely appreciate it. :)

    As of current, it doesn't appear to log these messages, would it be possible to make it so that they're store in a separate log file? :)
     
  27. Offline

    mxE333xm

    @gameswereus
    It may be that the Attacked bla times messsage appears 1 time accidentially when someone is really good at PVP.
    But if someone uses the Cheatmod you'll get some kind of spam of the warnings so that you can definitely be sure that he is a cheater.

    @Lomz
    That will be the next step while developing this further ;)

    New Version: 1.0
    Features:
    • Anti-Cheat messages are now also logged into a Logfile. (mxAntiPVPCheat.log)
    Decided to change the Version number to 1.0 as the plugin now contains all basic features to work.
    Also I thought about it and decided that SEC is a better category than FIX for this plugin.

    @Staff: It would be great if that could be moved into Plugins Released ;)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  28. I found out that pvping while the server is lagging, saving, etc. makes your plugin says they are using pvpcheats.
    Banning loyal craftingfactions members 24/7 almost seems normal now...
     
  29. Offline

    mxE333xm

    Only the Forcefield-detection is misindicating, right?

    New Version - 1.01 - Update as fast as possible!
    -> Fixed misindication through lags now.

    Due to that I took some of the Lag-Checking Code from NoCheat.
    @Evenprime
    Hope thats OK for you ? :) Gave you credits in the first post.

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

    Evenprime

    Sure, no problem at all. I jusz hope it works for your needs. :)
     

Share This Page