[INACTIVE][FIX/SEC] AntiHack v2.1 - Blocks bugs, cheats and hacks! [953]

Discussion in 'Inactive/Unsupported Plugins' started by robin0van0der0v, Mar 20, 2011.

  1. Offline

    robin0van0der0v

    AntiHack - Blocks bugs, cheats and hacks!
    Version: v2.1

    Features:
    • Blocks interacting with blocks on a invalid location.
    • Blocks flying.
    • Blocks unknown items.
    • Blocks interacting with blocks/entities too far away.
    • Blocks infinity items.
    • Logs every violation.
    Download AntiHack!
    Source is inside the jar file.

    Permissions:
    Give the player you want this permissions for being an exempt to the block invalid location checking:
    Code:
    antihack.canblockinvalidlocation
    Give the player you want this permissions for being an exempt to the flying checking:
    Code:
    antihack.canfly
    Give the player you want this permissions for being an exempt to the unknown item checking:
    Code:
    antihack.canunknownitem
    Give the player you want this permissions for being an exempt to the too far checking:
    Code:
    antihack.cantoofar
    Give the player you want this permissions for being an exempt to the infinity item checking:
    Code:
    antihack.caninfinityitem
    Known bugs:
    You can't walk on half blocks.
    You can fly above layer 128.

    Properties:
    This plugin creates a properties file on Plugins/AntiHack/config.yml. ;)

    Standard properties:
    Code:
    antihack:
        blockinvalidlocation:
            check: true
            log: true
        fly:
            check: true
            log: true
        unknownitem:
            check: true
            log: true
        toofar:
            check: true
            log: true
        infinityitem:
            check: true
            log: true
    Changelog:
    Version 1.0
    • Release.
    Version 1.1
    • Added block for interacting with blocks to far away.
    Version 1.2
    • Added logging.
    Version 1.3
    • Works in Beta 1.4.
    Version 1.4
    • Fixed BLOCK_IGNITE NullPointerException.
    Version 1.5
    • Blocks fly mods.
    • Fixed door-cactus bug.
    Version 1.6
    • Added Permissions node for flying.
    • Fixed walking over slabs.
    • Fixed triple-chest bug.
    • Fixed placing cacti in ground.
    • Limited console messages for flying.
    Version 1.7
    • Blocks unknown items.
    • Blocks infinity items.
    Version 1.8
    • Fixed NullPointerException on reload.
    Version 1.9
    • Removed fix for door-cactus bug because this is fixed in 1.6.
    • Removed fix for triple-chest bug because this is fixed in 1.6.
    • Removed fix for placing cacti in ground because this is fixed in 1.6.
    Version 2.0
    • Now really blocks fly hacking, not just a message.
    Version 2.1
    • Added configuration file.
    • Added more Permission nodes.
    • You can no longer fly above layer 128.
     
  2. Offline

    Juze

    Why #493? We're living in time of #556.
     
  3. Offline

    ShaDooM

    does this also block those "one click" hackers?
    they remove a block with one hit (like // )
     
  4. Offline

    Racha

    Wtf there is hacks like this? :confused:
     
  5. Offline

    robin0van0der0v

    Yes. :)
     
  6. Dude, // is a World Edit command, which means that the players has been allowed by the server admin to use that "hack", which it really isn't. If it's a problem, then just block it off the server? :eek:

    -- How do you mean that they can't build blocks underground? :confused:
     
  7. Offline

    dimon51194

  8. Offline

    SharkWipf

    // indeed is a WorldEdit command, but the hack isn't. that's why ShaDooM said it's 'like //'. there is a hack which allows you to do the same.

    Anyway, looking good. Might try it later.
     
  9. Offline

    Jm Erestain

    WTF what if i try to make a mine... or an underground home... you know for saving resources
    and my members revolt if i use give command ^_^
     
  10. Offline

    Color42

    Not everyone has moved up yet for obvisius resons like not all plugins bening updated yet or the comming patch, anyways sounds cool will try it out and give some feedback
     
  11. Offline

    robin0van0der0v

    Moved to #556. ;)

    Changed namespace, added block for interacting with blocks to far away.
    And I tried to fix the door-cactus bug, but it that didn't work. I try to fix this in the next version! :p
     
  12. Eh, weird way to write it, makes it look like you mean that the command is a hack. I see what you mean though. Thanks.
     
  13. Offline

    undefinedarray

    i keep getting this error when my members try to burn something (i gave them flint and steel, and they can still burn stuff, but i get this error)
    http://pastebin.com/ssXwLZVm
     
  14. Offline

    Spazmic

    I don't know if there is a way to do that, but right now i'm having a HUGE problem with x-ray mods. It's getting boring, I see paths that are going directly to the diamonds.(Need to find who did it with logblock, after /ban each time) I really don't know how to do that, but is it possible to add ''mod hacks'' support or you understand what I mean lol :p
     
  15. Offline

    Eirik

    Yeah I got the same problem on my server
     
  16. Offline

    RawrSean

    Would it be possible to use Permissions? I'd love to block my users from hacking, but I like to fly hack, so I don't want it to block me. (the Server Owner)
     
  17. Offline

    Festuz

    Good job mate! Love this plugin! :D
     
  18. Offline

    godgodgodgo

    could not pass event BLOCK_IGNITE to AntiHack
     
  19. Offline

    byzantinian

    I get the same error for every single block interacted with...followed by a large string of garbage.
     
  20. Offline

    godgodgodgo

    can't wait for the update :)
     
  21. Offline

    robin0van0der0v

    Updated, but I unfortunately had to postpone the door cactus-bug. :(
     
  22. Offline

    Flopsie

    You can still use fly hacks ..
     
  23. Offline

    Nathan C

    How does this differ from the NoCheat plugin?
     
  24. Offline

    robin0van0der0v

    This plugin doesn't (yet) block fly hacks. ;)

    This plugin blocks interacting with blocks that are to far away (SMP Shape Builder) and NoCheat not. ;)
     
  25. Offline

    RazMaTaz

    Does this co-exist with NoCheat?
     
  26. Offline

    godgodgodgo

    Can you please fix this:
    could not pass event BLOCK_IGNITE to AntiHack

    Code:
    2011-04-05 21:36:00 [SEVERE] Could not pass event BLOCK_IGNITE to AntiHack
    java.lang.NullPointerException
        at nl.robinvandervliet.AntiHack.AntiHackBlockListener.onBlockIgnite(AntiHackBlockListener.java:421)
        at org.bukkit.plugin.java.JavaPluginLoader$27.execute(JavaPluginLoader.java:327)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.BlockStationary.a(BlockStationary.java:65)
        at net.minecraft.server.World.i(World.java:1475)
        at net.minecraft.server.World.h(World.java:1406)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:359)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 12, 2016
  27. Offline

    quickclay

    Will this block x-ray vision cheats?
     
  28. Offline

    skakri

    If there is "[1.4_01] newb XRay" used, you can check log for /ixrai12345 command.
     
    quickclay likes this.
  29. Offline

    CorneliousJD

    I'm also getting this error, doesn't cause lag though but it sure is annoying as hell.
     
  30. will This Block Xray for 1.4_01 ?
     

Share This Page