
A reverse perspective plugin designed specifically for Minecraft servers一个专为我的世界服务器设计的反透视插件
AntiESP是一个专为Minecraft服务器设计的反透视插件,通过实时计算玩家视线连接来防止透视外挂。插件采用先进的射线投射算法,精确检测玩家之间的视线遮挡,并智能拦截可能暴露玩家位置的数据包。
AntiESP is an anti-ESP (Extra Sensory Perception) plugin designed for Minecraft servers. It prevents ESP hacks by calculating player line-of-sight in real-time using advanced raycasting algorithms. The plugin intelligently detects visual obstructions between players and intercepts data packets that could expose player positions.
| 功能 / Feature | 中文描述 | English Description |
|---|---|---|
| 实时视线检测 | 使用射线投射算法实时计算玩家视线连接 | Real-time line-of-sight detection using raycasting algorithms |
| 智能数据包拦截 | 拦截可能暴露玩家位置的数据包 | Intelligent packet interception to prevent position exposure |
| 严格模式检测 | 可配置的阻挡阈值,要求玩家完全被遮挡才隐藏 | Configurable blocking thresholds for strict detection |
| 多角度检测 | 检查玩家周围的多个点,提高检测精度 | Multi-angle detection for improved accuracy |
| 队伍豁免系统 | 同队玩家之间不进行反透视处理 | Team exemption system for same-team players |
| 近距离豁免 | 近距离玩家始终可见,避免误判 | Close-range exemption to prevent false positives |
| 多语言支持 | 支持中文和英文界面 | Multi-language support (Chinese & English) |
| 详细调试模式 | 完整的调试信息输出 | Comprehensive debug mode with detailed logging |
| 功能 / Feature | 中文描述 | English Description |
|---|---|---|
| 眼睛高度检测 | 使用玩家眼睛高度进行视线检测 | Eye-height detection for realistic line-of-sight |
| 透明方块识别 | 智能识别透明和半透明方块 | Intelligent transparent block detection |
| 性能优化 | 异步处理和批量处理优化 | Performance optimization with async processing |
| 配置热重载 | 无需重启服务器即可重载配置 | Hot-reload configuration without server restart |
| 权限系统 | 完整的权限控制和绕过机制 | Complete permission system with bypass options |
| 队伍检测 | 支持计分板和权限两种队伍检测方法 | Team detection via scoreboard and permissions |
插件使用射线投射(Raycasting)算法来检测两个玩家之间是否有视线连接:
当检测到玩家被遮挡时,插件会:
同队玩家之间的豁免机制:
The plugin uses raycasting algorithms to detect line-of-sight connections between players:
When a player is detected as blocked:
Same-team player exemption mechanism:
AntiESP-1.1.4.jarplugins文件夹config.yml配置AntiESP-1.1.4.jarplugins folderconfig.yml as needed# 调试模式
debug: false
# 检查间隔(tick)
check-interval: 2
# 最大检测距离
max-distance: 64.0
# 最小检测距离(近距离豁免)
min-distance: 5.0
# 队伍豁免设置
team-exemption:
enabled: true
detection-method: "scoreboard" # scoreboard/permission/both
# 严格模式设置
advanced:
strict-mode:
enabled: true
blocking-threshold: 0.7 # 阻挡阈值
multi-angle-check: true
use-eye-height: true
# Debug mode
debug: false
# Check interval (ticks)
check-interval: 2
# Maximum detection distance
max-distance: 64.0
# Minimum detection distance (close-range exemption)
min-distance: 5.0
# Team exemption settings
team-exemption:
enabled: true
detection-method: "scoreboard" # scoreboard/permission/both
# Strict mode settings
advanced:
strict-mode:
enabled: true
blocking-threshold: 0.7 # Blocking threshold
multi-angle-check: true
use-eye-height: true
/antiesp # 显示帮助信息
/antiesp reload # 重载配置
/antiesp status # 查看插件状态
/antiesp debug on/off # 启用/禁用调试模式
/antiesp info # 查看插件信息
/antiesp stats # 查看统计信息
/antiesp team # 查看队伍豁免设置
/antiesp team enable/disable # 启用/禁用队伍豁免
/antiesp team method <方法> # 设置检测方法
/antiesp team info <玩家名> # 查看玩家队伍信息
/antiesp strict on/off # 启用/禁用严格模式
/antiesp strict threshold <值> # 设置阻挡阈值
/antiesp strict multiangle on/off # 启用/禁用多角度检测
/antiesp lang zh # 设置为中文
/antiesp lang en # 设置为英文
/antiesp # Show help information
/antiesp reload # Reload configuration
/antiesp status # View plugin status
/antiesp debug on/off # Enable/disable debug mode
/antiesp info # View plugin information
/antiesp stats # View statistics
/antiesp team # View team exemption settings
/antiesp team enable/disable # Enable/disable team exemption
/antiesp team method <method> # Set detection method
/antiesp team info <player> # View player team information
/antiesp strict on/off # Enable/disable strict mode
/antiesp strict threshold <value> # Set blocking threshold
/antiesp strict multiangle on/off # Enable/disable multi-angle detection
/antiesp lang zh # Set to Chinese
/antiesp lang en # Set to English
/antiesp debug on
启用调试模式后,控制台会输出详细信息:
可见性更新日志:
[INFO] === 开始可见性更新 ===
[INFO] 在线玩家数量: 5
[INFO] 处理时间: 1703123456789
[INFO] 开始处理玩家: Player1 (uuid)
[INFO] 观察者位置: (world, 100.00, 64.00, 200.00)
[INFO] 检查目标: Player2 距离: 15.50
队伍豁免日志:
[INFO] 队伍豁免检查: Player1 vs Player2 | 同队: true | 豁免生效: true
[INFO] 队伍豁免生效: Player1 和 Player2 在同一队伍,跳过反透视
[INFO] 队伍豁免显示: Player1 现在可以看到 Player2 (队伍豁免)
视线检测日志:
[INFO] 使用眼睛高度检测: 观察者 (world, 100.00, 65.60, 200.00) -> 目标 (world, 115.50, 65.60, 200.00)
[INFO] 视线检测结果: 可见 | 方法: 智能检测 | 距离: 15.50 | 耗时: 150μs
[INFO] 严格模式: 启用 | 阻挡阈值: 70%
[INFO] === 可见性更新完成 ===
[INFO] 处理玩家数量: 5
[INFO] 总耗时: 25ms
[INFO] 平均耗时: 5ms/玩家
/antiesp debug on
When debug mode is enabled, the console will output detailed information:
Visibility Update Logs:
[INFO] === Starting Visibility Update ===
[INFO] Online players: 5
[INFO] Processing time: 1703123456789
[INFO] Processing player: Player1 (uuid)
[INFO] Observer location: (world, 100.00, 64.00, 200.00)
[INFO] Checking target: Player2 distance: 15.50
Team Exemption Logs:
[INFO] Team exemption check: Player1 vs Player2 | Same team: true | Exemption active: true
[INFO] Team exemption active: Player1 and Player2 are in the same team, skipping anti-ESP
[INFO] Team exemption show: Player1 can now see Player2 (team exemption)
Line-of-Sight Detection Logs:
[INFO] Using eye height detection: Observer (world, 100.00, 65.60, 200.00) -> Target (world, 115.50, 65.60, 200.00)
[INFO] Line-of-sight result: Visible | Method: Smart detection | Distance: 15.50 | Time: 150μs
[INFO] Strict mode: Enabled | Blocking threshold: 70%
Performance Statistics Logs:
[INFO] === Visibility Update Complete ===
[INFO] Processed players: 5
[INFO] Total time: 25ms
[INFO] Average time: 5ms/player
| 权限 | 描述 | 默认 |
|---|---|---|
antiesp.admin |
管理员权限,可以使用所有命令 | OP |
antiesp.bypass |
绕过反透视检测 | 无 |
antiesp.team.<teamname> |
队伍权限,用于权限检测方法 | 无 |
antiesp.team.exemption |
队伍豁免权限 | 无 |
# LuckPerms 配置示例
lp user Player1 permission set antiesp.team.red true
lp user Player2 permission set antiesp.team.red true
lp user Player3 permission set antiesp.bypass true
| Permission | Description | Default |
|---|---|---|
antiesp.admin |
Admin permission, can use all commands | OP |
antiesp.bypass |
Bypass anti-ESP detection | None |
antiesp.team.<teamname> |
Team permission for permission detection method | None |
antiesp.team.exemption |
Team exemption permission | None |
# LuckPerms configuration example
lp user Player1 permission set antiesp.team.red true
lp user Player2 permission set antiesp.team.red true
lp user Player3 permission set antiesp.bypass true
/antiesp stats # 查看性能统计
/antiesp stats # View performance statistics
Q: 同队玩家仍然被隐藏
A: 检查以下项目:
/antiesp team/antiesp team info <玩家名>/antiesp debug onQ: 插件性能问题
A: 优化建议:
check-interval: 5max-distance: 32.0async-processing: trueQ: 配置不生效
A: 解决方案:
/antiesp reloadQ: Same-team players are still hidden
A: Check the following:
/antiesp team/antiesp team info <player>/antiesp debug onQ: Plugin performance issues
A: Optimization suggestions:
check-interval: 5max-distance: 32.0async-processing: trueQ: Configuration not working
A: Solutions:
/antiesp reload本项目采用MIT许可证 - 查看 LICENSE 文件了解详情。
This project is licensed under the MIT License - see the LICENSE file for details.
114514h - 插件开发者
114514h - Plugin Developer
感谢为这个项目做出贡献的我。
Thanks to me contributed to this project.