跳到正文

Anti-Exploit

作者:TreeOfSelf

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

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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

常见问题

Anti-Exploit 支持哪些 Minecraft 版本?

Anti-Exploit 支持 Minecraft Java 版 1.21.4–26.3,共 12 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Anti-Exploit 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

TreeOfSelf 的其他作品

查看全部 →