Anti-Exploit

Anti-Exploit

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

9 152 downloads 28 followers

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

Version Minecraft Loader Download

Panda Anti-Exploit 2.1.13+26.3

2.1.13+26.3

26.3
fabric
Download

Panda Anti-Exploit 2.1.12+26.3

2.1.12+26.3

26.3
fabric
Download

Panda Anti-Exploit 2.1.11+26.3

2.1.11+26.3

26.3
fabric
Download

Panda Anti-Exploit 2.1.10+26.3

2.1.10+26.3

26.3
fabric
Download

Panda Anti-Exploit 2.1.9+26.3

2.1.9+26.3

26.3
fabric
Download

Panda Anti-Exploit 2.1.7+26.3

2.1.7+26.3

26.3
fabric
Download

Panda Anti-Exploit 2.1.5+26.2

2.1.5+26.2

26.2
fabric
Download

Panda Anti-Exploit 2.1.4+26.2

2.1.4+26.2

26.2
fabric
Download

Panda Anti-Exploit 2.1.3+26.1.1

2.1.3+26.1.1

26.1.1, 26.1.2
fabric
Download

Panda Anti-Exploit 2.1.2+26.1.1

2.1.2+26.1.1

26.1.1, 26.1.2
fabric
Download

Panda Anti-Exploit 2.1.1_1.21.11

2.1.1_1.21.11

1.21.11
fabric
Download

Panda Anti-Exploit 2.1.0_1.21.9+1.21.10

2.1.0_1.21.9+1.21.10

1.21.10, 1.21.9
fabric
Download

Panda Anti-Exploit 2.1.0_1.21.6+1.21.8

2.1.0_1.21.6+1.21.8

1.21.6, 1.21.7, 1.21.8
fabric
Download

Panda Anti-Exploit 2.0.4_1.21.6+1.21.8

2.0.4_1.21.6+1.21.8

1.21.6, 1.21.7, 1.21.8
fabric
Download

Panda Anti-Exploit 2.0.3_1.21.6+1.21.8

2.0.3_1.21.6+1.21.8

1.21.6, 1.21.7, 1.21.8
fabric
Download

Panda Anti-Exploit 2.0.2_1.21.6+1.21.8

2.0.2_1.21.6+1.21.8

1.21.6, 1.21.7, 1.21.8
fabric
Download

Panda Anti-Exploit 2.0.1_1.21.6+1.21.8

2.0.1_1.21.6+1.21.8

1.21.6, 1.21.7, 1.21.8
fabric
Download

Panda Anti-Exploit 2.0.0_1.21.6+1.21.8

2.0.0_1.21.6+1.21.8

1.21.6, 1.21.7, 1.21.8
fabric
Download

PandaAC 1.0.2_1.21.6+1.21.7

1.0.2_1.21.6+1.21.7

1.21.6, 1.21.7, 1.21.8
fabric
Download

PandaAC 1.0.2_1.21.5

1.0.2_1.21.5

1.21.5
fabric
Download

PandaAC 1.0.2_1.21.4

1.0.2_1.21.4

1.21.4
fabric
Download

panda-ac-1.0.1_1.21.4.jar

1.0.1_1.21.4

1.21.4
fabric
Download