
Anti-Exploit
一款即插即用的 Fabric 服务端模组,用于防止常见的战斗、交互及基于数据包的漏洞利用。 该模组可与其他反作弊系统(如 GrimAC)完美配合。它还能修复 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, // 防止 Anti-Xray 绕过
"capNetherViewDistance": true, // 使下界视距匹配原版迷雾效果
"capNetherViewDistanceBuffer": false, // 为延迟连接提供额外的 1 个区块缓冲
"checkBookNBTSize": true, // 防止书籍封禁漏洞
"maxBookNBTSizeKB": 10 // 书籍 NBT 最大大小(KB)
}
}
尝试体验
hardcoreanarchy.gay (死亡惩罚无政府状态)
sky.hardcoreanarchy.gay (天空岛无政府状态)
与 GrimAC 兼容
GrimAC 未能正确取消 START_DESTROY_BLOCK 数据包,且其放置/破坏检测非常薄弱。为了使其不干扰本模组对 Anti-xray 的修复,请进入你的
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 上的属性交换 / 突破交换
查看所有模组
支持
许可证

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
Support
License
下载 Anti-Exploit
下载 Anti-Exploit
下载 Anti-Exploit
下载 Anti-Exploit
下载 Anti-Exploit
下载 Anti-Exploit
下载 Anti-Exploit
下载 Anti-Exploit
下载 Anti-Exploit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Anti-Exploit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 在数据包生成时清理装备,而不是在 write() 中;发送被大幅限制速度的假传送(该假传送会将实体甩飞)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。



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