AntiXRay — 高性能光线追踪反 X-Ray
在不妨碍服务器性能的前提下阻止 X-Ray 作弊者。
AntiXRay 使用 DDA 光线追踪算法检查每个方块,判断玩家是否实际能看到矿石。如果没有清晰的视线,客户端将收到普通石头而非矿石——这样 X-Ray 客户端就没有真实内容可渲染了。
功能
- 三种引擎模式:
RAYTRACE(最安全)、PROXIMITY(最快)、HYBRID(最佳平衡,推荐) - 多射线 DDA 光线追踪,支持配置步数(精度与性能的权衡)
- 通过自动随 CPU 扩展的工作窃取线程池进行异步多线程处理
- 无锁 TTL 缓存,避免不必要的重新计算
- TPS 保护 —— 在服务器卡顿期间自动降低负载
- 内置 X-Ray 检测 —— 对采矿模式进行滑动窗口分析,每种矿石类型均可配置阈值
- 通知方式:控制台、工作人员聊天、日志文件或自定义命令
- 按世界配置 —— 每个世界独立设置模式、替换方块以及启用/禁用状态
- 完全支持 1.16 – 26.1.x,包括深板岩矿石、远古残骸、试炼刷怪笼和宝库
- 开箱即用兼容 Folia
- 为工作人员和创造模式玩家提供绕过权限
要求
| 要求 | 详情 |
|---|---|
| Java | 17+ |
| Minecraft | 1.16 – 26.3 |
| 服务端软件 | Bukkit / Spigot / Paper / Purpur / Folia |
| 依赖项 | ProtocolLib(必需——请使用最新版本) |
安装
- 确保服务器上已安装 ProtocolLib。
- 将
AntiXRay-2.0.0.jar放入plugins/文件夹。 - 重启服务器 ——
config.yml将自动生成。 - 根据服务器规模调整设置,然后运行
/axr reload。
命令与权限
| 命令 | 描述 |
|---|---|
/axr reload |
无需重启即可重新加载配置 |
/axr status |
显示引擎状态和统计数据 |
/axr debug |
切换/查看调试模式 |
/axr bypasslist |
显示拥有绕过权限的玩家列表 |
| 权限 | 默认值 | 描述 |
|---|---|---|
antixray.admin |
op | 访问所有管理命令 |
antixray.bypass |
false | 绕过方块混淆 |
antixray.notify |
op | 接收 X-Ray 检测通知 |
推荐预设
| 服务器规模 | ray_steps | cache_ttl_ticks | async_processing |
|---|---|---|---|
| 小型 (<50) | 16 | 2 | true |
| 中型 (50–200) | 12 | 4 | true |
| 大型 (200+) | 8 | 8 | true |
| 预算 VPS | 4 | 10 | false |
许可证
MIT —— 可免费使用和修改。
AntiXRay — High-Performance Raytrace Anti-XRay
Stop X-Ray cheaters without killing your server performance.
AntiXRay uses a DDA raytracing algorithm to check, for every block, whether an ore is actually visible to the player. If there's no clear line of sight, the client is sent plain stone instead — so X-Ray clients have nothing real left to render.
Features
- Three engine modes —
RAYTRACE(most secure),PROXIMITY(fastest),HYBRID(best balance, recommended) - Multi-ray DDA raytracing with configurable step count (accuracy vs. performance)
- Asynchronous, multithreaded processing via a work-stealing thread pool that scales automatically with your CPU
- Lock-free TTL cache to avoid unnecessary recalculations
- TPS guard — automatically reduces load during server lag
- Built-in X-Ray detection — sliding-window analysis of ore-mining patterns with configurable thresholds per ore type
- Notifications via console, staff chat, log file, or custom commands
- Per-world configuration — independent modes, replacement blocks, and enable/disable per world
- Full support for 1.16 – 26.1.x, including deepslate ores, Ancient Debris, Trial Spawners, and Vaults
- Folia-compatible out of the box
- Bypass permission for staff and creative-mode players
Requirements
| Requirement | Details |
|---|---|
| Java | 17+ |
| Minecraft | 1.16 – 26.3 |
| Server Software | Bukkit / Spigot / Paper / Purpur / Folia |
| Dependency | ProtocolLib (required — please use the latest version) |
Installation
- Make sure ProtocolLib is installed on your server.
- Drop
AntiXRay-2.0.0.jarinto yourplugins/folder. - Restart the server —
config.ymlwill be generated automatically. - Adjust the settings to fit your server size, then run
/axr reload.
Commands & Permissions
| Command | Description |
|---|---|
/axr reload |
Reload the configuration without a restart |
/axr status |
Show engine status and statistics |
/axr debug |
Toggle/view debug mode |
/axr bypasslist |
Show players with bypass permission |
| Permission | Default | Description |
|---|---|---|
antixray.admin |
op | Access to all admin commands |
antixray.bypass |
false | Bypass block obfuscation |
antixray.notify |
op | Receive X-Ray detection notifications |
Recommended Presets
| Server Size | ray_steps | cache_ttl_ticks | async_processing |
|---|---|---|---|
| Small (<50) | 16 | 2 | true |
| Medium (50–200) | 12 | 4 | true |
| Large (200+) | 8 | 8 | true |
| Budget VPS | 4 | 10 | false |
License
MIT — free to use and modify.
下载 AntiXRay
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AntiXRay
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AntiXRay
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AntiXRay
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AntiXRay
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AntiXRay
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AntiXRay
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧