Back to mods
Anti-Exploit project artwork

Modrinth · Minecraft mod

Anti-Exploit

A drop-in mod for preventing common exploits. Fully configurable and works well alongside other anti-cheats like GrimAC.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Anti-Exploit release should I use?

Updated 26 days ago
Latest stable file 2.1.13+26.3
Game version 26.3
Loader Fabric

Anti-Exploit 2.1.13+26.3 targets 26.3 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

Is Anti-Exploit required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Anti-Exploit 2.1.13+26.3 need?

2.1.13+26.3. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Anti-Exploit 2.1.13+26.3
required
Matching file found Matched file: 0.166.2+26.3

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Anti-Exploit without breaking your instance.

Built for Anti-Exploit 2.1.13+26.3. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.1.13+26.3. It targets 26.3 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.1.13+26.3. It opens that exact file at the source.

About this project

What does Anti-Exploit add?

Anti-Exploit by TreeOfSelf

Anti-Exploit

Drop-in Fabric server mod that prevents common combat, interaction and packet-based exploits.
This works great with other anti-cheats, such as GrimAC. It also will fix a common problem with Anti xray where a player is able to hit blocks in freecam to reveal ores.

  • Combat: Prevents players from hitting through walls, checks for excessive reach, and validates hit angles.
  • Player Actions: Restricts actions for dead players, and prevents various entity interaction exploits.
  • Block Interaction: Manages block placement and breaking rules, including checks for air placement, distance, angle, and preventing interaction through walls. Also includes checks for long-range block breaking and usage.
  • Packets: Hardens the client-server communication by removing sensitive data from packets. This includes stripping teleport data for entities out of view, removing health and equipment details, sanitizing dropped item tags (preserving visible visuals and stack size), and obfuscating sound coordinates to prevent location exploits.

Configuring

config/PandaAntiExploit.json generated at runtime.
Reload at runtime: /panda-anti-exploit reloadConfig

{
  "doLogging": false,
  "combat": {
    "preventWallHit": true,
    "checkHitDistance": true,
    "checkHitAngle": true,
    "fixAttributeSwap": true //Patch attribute swap exploit 
  },
  "player": {
    "preventDeadPlayerActions": true
  },
  "blockPlacement": {
    "preventAirPlacement": true,
    "checkPlacementDistance": true,
    "preventThroughBlockPlacement": true,
    "checkPlacementAngle": true,
    "preventLongRangeBlockBreaking": true,
    "preventLongRangeBlockUsage": true
  },
  "packet": {
    "removeTeleportData": true, //Strip other player's teleport data from packet
    "removeHealthTags": true, //Remove health information of other players
    "removeHealthTagsFromMobs": true,
    "removeEquipmentTags": true, //Remove extra information from equipment (enchants and more)
    "removeDroppedItemTags": true, //Remove extra information from dropped items (enchants and more)
    "patchSoundExploits": true, //Obsfucate where global sounds came from so triangulation is harder
    "patchSoundExploitsStrict": true, //Make global sounds play from same block as player, making triangulation impossible
    "preventBlockBreakExploits": true, //Prevent Anti-Xray bypass
    "capNetherViewDistance": true, //Make nether view distance match vanilla fog
    "capNetherViewDistanceBuffer": false, //Extra 1 chunk buffer for laggy connections
    "checkBookNBTSize": true, //Prevent book ban exploits
    "maxBookNBTSizeKB": 10 //Maximum book NBT size in KB
  }
}

Try it out

Hardcore Anarchy Skyblock Anarchy

hardcoreanarchy.gay (Deathban Anarchy)
sky.hardcoreanarchy.gay (Skyblock Anarchy)

GrimAC Compatability

GrimAC doesn't cancel START_DESTROY_BLOCK packets properly, it also has really poor place/break checks. In order for it to not interfere with how this mod fixes anti-xray, go into your
config/GrimAC/punishments.yml
and comment out Break/Place checks

  Misc:
    remove-violations-after: 300
    checks:
      - "Vehicle"
      - "NoSlow"
      - "Sprint"
      - "MultiActions"
      #- "Place"
      - "Baritone"
      #- "Break"

More mods

  • Dupe Fix - A simple drop-in mod to prevent all forms of duping. TNT-Duping, Gravity block duping, and much more will not work with this mod enabled.
  • No Lag - Stop common causes of lag on your server. Configure to your likings.
  • TNT Fusion - Stop massive amounts of TNT from lagging or crashing your server
  • Attribute Swapping Fix - Simple drop-in mod to stop Attribute Swapping / Breach Swapping on Fabric

All my mods

Issues

Bugs and problems go on GitHub Issues. There is no Discord support.

License

CC0

Project description from Modrinth.

Pick your setup

Anti-Exploit by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

12 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Anti-Exploit versions and loaders

22 of 22 releases match

Looking for an older file? The official Modrinth project page is in Resources.