简介
Anti Esp 是一款面向现代 Fabric 的先进且轻量的服务端模组,允许服务器管理员对抗诸如 X 光透视、箱子透视、实体透视、方块透视以及自由视角(freecam)等视觉作弊行为;从而保护矿石位置、基地位置、结构位置等信息不被泄露。
为什么选择 Anti Esp?
在 Fabric 平台上管理生存服务器一直颇具挑战,因为缺乏足够的管理工具。本模组的灵感来源于 Raycasted Anti Esp —— 一款适用于 Paper、Folia、Spigot、Bukkit 和 Purpur 的插件。由于目前 Fabric 平台尚无此类支持,我决定从零开始开发一款。
V1.2.1.R
新增了对 Paper 的支持。计划后续支持 Spigot、Folia 和 Purpur。
配置文件
添加模组并重启服务器后,会自动为您生成一个配置文件。文件管理器 --> config --> anti esp.toml
示例
hide_block_entities = true
隐藏容器(如箱子和熔炉),以及告示牌、刷怪笼、保险箱、潜声传感器、潜声幽匿兽以及其他任何方块实体。
extra_hidden_blocks = ["minecraft:gold_block"]
允许您添加原版或模组方块以进行保护。默认情况下已包含金块。可以添加更多方块,各值之间用逗号分隔。
石矿层级的简单通用基地

同一基地,通过另一名使用自由视角作弊的玩家视角查看

Anti Esp 关闭状态

Anti Esp 开启状态

核心功能
Anti Esp
每一刻(tick),服务器都会从玩家的碰撞盒绘制射线,检查是否与被保护方块存在直接视线。一旦记录/预测到直接视线,服务器便会向客户端发送方块/实体信息。Anti Esp 还会预测未来的移动轨迹,以便提前揭示被保护的方块,从而降低数据延迟发送给客户端的风险。最近引入的光线和声音欺骗机制降低了最先进基地探测作弊的有效性。
Anti freecam
Anti Esp 在防止自由视角方面发挥核心作用,但我们对抗自由视角的另一种方式是不向客户端发送低于特定 Y 层级的区块数据。这将隐藏该 Y 层级以下的所有区块数据(默认为 0),防止自由视角看到更远的位置。这对于保护基地免受透视和自由视角作弊很有帮助。
Anti xray
采用与 Anti Esp 完全相同的架构,因为它们本质相同——除了矿石仅在被实心方块完全包围时才进行混淆,默认情况下隐藏矿脉但不会隐藏裸露的矿石,从而减少闪烁现象。为确保数据不延迟发送,矿脉会监控周围方块是否发生任何变化(如方块移动或破坏)——这会使矿石向客户端发送数据。同类型的相连矿石始终一次性发送所有数据,从而减少额外且资源消耗巨大的计算。
附加信息
方块保护
重写发送给客户端的区块和方块更新数据包,将受保护的方块替换为“虚假”替代方块,以便在没有采样可用时融入普通地形或其他预设方块中。同时抑制方块实体数据(如箱子内容)。
可见性检测
使用基于体素的射线遍历(DDA)加载中的区块。只有完整、不透明且非流体的方块才算作掩护。这种掩护会触发对受保护方块和实体的混淆。透明方块、流体方块或半方块不会触发混淆。移动预测、角落检测、周围方块状态以及可见性宽容度有助于消除闪烁现象(注意:服务器卡顿或高延迟连接可能导致信息延迟发送给客户端)。
实体保护
挂钩实体追踪系统,以控制是否向客户端发送实体信息(如模型、手持物品和施加的效果)。玩家使用更严格的可见性检测标准。
地下掩膜(反自由视角)
从客户端隐藏一切内容,包括结构、生物群系数据等,直至特定的 Y 层级以下。默认情况下仅在主世界启用此功能。这会移除所有低于此可配置 Y 层级的区块数据发送给客户端,这是阻止自由视角和透视作弊定位基地和结构的关键部分。默认值为 Y: 0,我不建议增加该数值。一旦高级移动预测告诉服务器玩家与 Y: 0 之间只有空气/液体/半方块相隔,区块数据就会发送给客户端。
性能控制
使用缓存结果、优先级队列和时间片预算。受保护的投射物实体(如末影珍珠)默认每个玩家每刻每种类型最多执行 5 次可见性检测,以减少服务器卡顿。
此外,这在低端设备上实际上可以提高客户端性能,因为实体和方块实体无法穿透墙壁渲染,从而减少了不必要的开销。
请注意,Anti Esp 会在你首次查看受保护方块时按玩家存储这些方块。受保护方块仅在你重新加载区块时尝试隐藏。这不适用于实体。
概述
这款 Anti Esp 可能是 Fabric 平台上公开可用的最先进的反透视模组。我想说明的是,这是首个版本,我还没有足够的时间或资源对其进行广泛测试。如有任何错误报告、建议或未来模组创意;请加入我的 Discord 服务器。
Introduction
Anti Esp is an advanced but lightweight server side mod for modern fabric that allows server owners to combat visual cheats such as X-ray, chest esp, entity esp, block esp and freecam; protecting information such as ore locations, base locations, structure locations, etc.
Why Anti Esp?
Moderating a survival server on fabric has always been difficult due to the lack of moderation tools. This mod was inspired by Raycasted Anti Esp - a plugin for paper, folia, spigot, bukkit and purpur. With no current support for fabric, I decided to make one from scratch.
V1.2.1.R
Added support for Paper. Support is planned for Spigot, Folia and Purpur.
Config file
A config file will be generated automatically for you once you reboot the server after adding the mod. File manager --> config --> anti esp.toml
Examples
hide_block_entities = true
Hide containers such as chests and furnaces, along with signs, spawners, vaults, sculk sensors, sculk shriekers and any other block entities.
extra_hidden_blocks = ["minecraft:gold_block"]
Allows you to add vanilla or modded blocks to protect. Gold blocks are included by default. More blocks can be added, separate each value with a comma.
A simple, generic base at stone level

The same base, viewed by a different player using freecam cheats

Anti esp off

Anti esp on

Core functionality
Anti Esp
Every tick, the server draws ray lines from the players hitbox, checking for direct line of sight to a protected block. Once direct line of sight is recorded/predicted, the server then sends block/entity information to the client. Anti esp also predicts future movements to reveal protected blocks early to reduce the chance of data being sent to the client late. Recent introduction of light & sound spoofing reduce the effectiveness of the most advanced base finding cheats.
Anti freecam
Anti esp plays the core role in preventing freecam too, however another way we combat freecam is not sending chunk data to the client below a certain Y level. This hides all chunk data below that Y level (0 by default), preventing freecam from seeing beyond that. This is good for protecting bases from esp and freecam.
Anti xray
Uses the exact same architecture as anti esp as it's all the same - except ores only obfuscate when fully enclosed by solid blocks, hiding ore veins but not exposed ores by default, reducing pop ins. To make sure data isn't sent late, ore veins monitor their surrounding blocks for any changes such as block movement or destruction - which tells an ore to send data to the client. Connected ores of the same type always send all their data at once, reducing extra, resource heavy calculations.
Extra information
Block protection
Rewrites chunk and block update packets sent to the client, replacing protected blocks with 'fake' alternative blocks to blend in ordinary terrain or other preset blocks when sampling isn't available. It also surpresses block entity data such as chest data.
Visibility checks
Uses voxel based ray traversal, or DDA, through loaded chunks. Only full, opaque and non fluid blocks count as cover. This cover triggers the obfuscation of protected blocks and entities. Transparent blocks, fluid block or half blocks do not trigger obfuscation. Movement prediction, corner checks, surrounding block states and visibility grace help to eliminate pop ins (note that server lag, or high latency connections, may cause information to be sent to the client late)
Entity protection
Hooks into entity tracking to control whether entity information is sent to the client such as model, held items and applied effects. Players uses stricter visibility checks.
Underground mask (anti freecam)
Hides everything from structures, to mobs, to biome data; from the client below a certain Y level. This is only enabled in the overworld by default. This removes all chunk data below this configurable Y level from being sent to the client, the fundamental part of stopping freecam and esp cheats from locating bases and structures. The default is Y: 0 and I don't recommend increasing it. Chunk data will be sent to the client once advanced movement prediction tells the server that their is only air/liquid/half blocks separating the player from Y: 0, sending the information.
Performance controls
Uses cached results, priority queues and tick budgets. Protected projectile entities such as enderpearls default to 5 visibility checks per type, per player, per tick by default to reduce server lag.
Additionally, this can actually increase client performance on low end devices since entities and block entities are unable to render through walls, reducing unnecessary overhead.
Note that anti esp stores protected blocks when you first view them, per player. Protected blocks will only attempt to hide when you reload the chunk. This does not apply to entities.
Overview
This anti esp may be the most advanced out of all there have been on fabric, publicly available for use. I would like to disclose the fact that this is the first release, I haven't had much time or the resources to test this extensively. For any bug reports, suggestions or future mod ideas; join my discord server.
下载 Anti Esp
下载 Anti Esp
下载 Anti Esp
下载 Anti Esp
下载 Anti Esp
下载 Anti Esp
下载 Anti Esp
下载 Anti Esp
下载 Anti Esp
下载 Anti Esp
Paper - 26.3
更改
- Freecam 保护默认恢复启用
- 受保护的方块不再受 Y 轴高度限制
- Freecam 保护不再因暴露于天空而激活(由于存在一个独立的视觉错误)
- 更新了模组描述以匹配项目说明
功能
- 添加了光照等级保护(光照欺骗)
- 添加了声音事件保护(声音欺骗)
V1.2.1.R - 1.21.11
更改
- Freecam 保护默认恢复启用
- 受保护的方块不再受 Y 轴高度限制
- Freecam 保护在暴露于天空时不再激活(由于存在一个独立的视觉 bug)
- 更新模组描述以匹配项目说明
功能
- 添加了光照等级保护(光照欺骗)
- 添加了声音事件保护(声音欺骗)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
一个用于收集生物掉落物的多区块模组。
模组
原版世界生成优化模组
模组
一个基于构建器的 Minecraft 配置库!
模组
为你的终界增添新生物群系、神秘仪式和全新生物
模组
? 使用命令保存和加载玩家或他人的背包/套装。
评论 0
登录后参与评分
还没有评论,来抢沙发吧