
Anti-Exploit
一款即插即用的 Fabric 服务端模组,可防止常见的战斗、交互及基于数据包的漏洞利用。 此模组与其他反作弊系统(如 GrimAC)配合效果极佳。它还能修复反 X 光(Anti xray)中玩家通过自由视角(freecam)击打方块以揭示矿石的常见问题。
- 战斗:防止玩家穿墙攻击,检查过远的攻击距离,并验证攻击角度。
- 玩家行为:限制死亡玩家的行动,并防止各种实体交互漏洞利用。
- 方块交互:管理方块的放置与破坏规则,包括检测空气放置、距离、角度,以及防止穿墙交互。还包含对远距离破坏和使用方块的检测。
- 数据包:通过从数据包中移除敏感数据来强化客户端与服务端的通信。这包括剥离视线外实体的传送数据、移除健康和装备详情、清理掉落物品标签(保留可见视觉效果和堆叠数量),以及混淆声音坐标以防止位置定位漏洞利用。
配置
config/PandaAntiExploit.json 在运行时生成。
运行时重载配置:/panda-anti-exploit reloadConfig
{
"doLogging": false,
"combat": {
"preventWallHit": true,
"checkHitDistance": true,
"checkHitAngle": true,
"fixAttributeSwap": true // 修复属性交换漏洞利用补丁
},
"player": {
"preventDeadPlayerActions": true
},
"blockPlacement": {
"preventAirPlacement": true,
"checkPlacementDistance": true,
"preventThroughBlockPlacement": true,
"checkPlacementAngle": true,
"preventLongRangeBlockBreaking": true,
"preventLongRangeBlockUsage": true
},
"packet": {
"removeTeleportData": true, // 从数据包中剥离其他玩家的传送数据
"removeHealthTags": true, // 移除其他玩家的健康信息
"removeHealthTagsFromMobs": true,
"removeEquipmentTags": true, // 移除装备上的额外信息(附魔等)
"removeDroppedItemTags": true, // 移除掉落物上的额外信息(附魔等)
"patchSoundExploits": true, // 混淆全局声音的来源,使三角定位更加困难
"patchSoundExploitsStrict": true, // 使全局声音在与玩家相同的方块处播放,从而使三角定位成为不可能
"preventBlockBreakExploits": true, // 防止反 X 光绕过
"capNetherViewDistance": true, // 使下界视距匹配原版雾效
"capNetherViewDistanceBuffer": false, // 为延迟连接提供额外的 1 个区块缓冲
"checkBookNBTSize": true, // 防止书籍封禁漏洞利用
"maxBookNBTSizeKB": 10 // 书籍 NBT 最大大小(KB)
}
}
试用
hardcoreanarchy.gay (死亡惩罚无政府状态)
sky.hardcoreanarchy.gay (空岛无政府状态)
GrimAC 兼容性
GrimAC 未能正确取消 START_DESTROY_BLOCK 数据包,且其放置/破坏检测效果非常差。为了使其不干扰本模组对反 X 光的修复,请进入你的
config/GrimAC/punishments.yml
并注释掉破坏/放置相关的检测项
Misc:
remove-violations-after: 300
checks:
- "Vehicle"
- "NoSlow"
- "Sprint"
- "MultiActions"
#- "Place"
- "Baritone"
#- "Break"
更多模组
Dupe Fix - 一款简单的即插即用模组,用于防止所有形式的刷物品。启用此模组后,TNT 刷物品、重力方块刷物品等将失效。
No Lag - 停止导致服务器卡顿的常见原因。可根据喜好进行配置。
TNT Fusion - 阻止大量 TNT 导致服务器卡顿或崩溃
Attribute Swapping Fix - 简单的即插即用模组,用于阻止 Fabric 平台上的属性交换 / 突破交换
查看所有我的模组
问题反馈
Bug 和问题请提交至 GitHub Issues。没有 Discord 支持渠道。
许可证

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
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
下载 Anti-Exploit
下载 Anti-Exploit
下载 Anti-Exploit
下载 Anti-Exploit
下载 Anti-Exploit
下载 Anti-Exploit
下载 Anti-Exploit
下载 Anti-Exploit
下载 Anti-Exploit
下载 Anti-Exploit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 当加载了 GeyserAC 扩展时,Bedrock(Geyser)玩家可跳过战斗距离/角度/穿墙命中、方块破坏可见性与范围、方块使用与放置的距离/角度/穿墙检测(由于基岩版的移动和瞄准机制与 Java 版不同且曾被拒绝)。空气方块放置检测仍然保留。
- 在握手/状态阶段失败的服务器列表 Ping 和扫描器会直接关闭连接,而不发送 play 阶段的断开数据包,因此日志中不再充斥“Error sending packet clientbound/minecraft:disconnect”错误信息。
- 在数据包生成时清理装备,而不是在 write() 中;发送被大幅限制速度的假传送(该假传送会将实体甩飞)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。



评论 0
登录后参与评分
还没有评论,来抢沙发吧