Compatibility
Minecraft: Java Edition
Platforms
Links
Creators
Details
English
ADSAntiray2 - Keep Your Minecraft Server Fair. For Free.
Tired of players finding all your diamonds in minutes? ADSAntiray2 is a lightweight anti-cheat that just works. It silently watches for X-ray and auto-mining, so you can focus on running your server.
Why it's different:
- Runs Smoothly: Designed to have almost zero impact on your server's performance. No lag, just protection.
- It's Free. Really. This is a passion project. Use it on your community server, no strings attached.
- Gets the Job Done: Uses a mix of smart checks to tell the difference between a lucky digger and a cheater.
- Simple for Admins: Get alerts in chat, check player suspicion levels, and use simple commands. A clear GUI makes it easy to see what's up.
Important Stuff:
- Free for Community Use: You can't sell it or bundle it with a paid server host. Keep it free for everyone.
- All Rights Reserved: The code is closed source. Please don't decompile or reverse engineer it.
- Development: I work on this in my free time. Updates come when they're ready.
For server owners who want a no-nonsense, free solution to keep things fair.
中文版本
ADSAntiray2 - 免费为你的服务器守护公平
受够了玩家五分钟挖光所有钻石?ADSAntiray2 是一个轻量级反作弊,它默默工作,专门应对透视和自动挖矿,让你能专心管理服务器。
它的不同之处:
- 运行顺畅: 几乎不会拖慢你的服务器。不卡顿,只有保护。
- 完全免费,真心免费。 这是一个用爱发电的项目。放心用于你的社区服,没有套路。
- 效果到位: 通过多种智能判断来区分幸运儿和作弊者,有效减少误封。
- 管理简单: 在聊天栏接收警报、查询玩家可疑度、使用简单命令。清晰的管理界面让你一目了然。
重要须知:
- 免费用于社区: 禁止商用。你不能出售它或将其用于付费托管服务。让它对所有人免费。
- 保留所有权利: 本项目闭源。请勿进行反编译或逆向工程。
- 开发状态: 这是我利用空闲时间开发的项目。有更新时就会发布。
献给所有需要一款简单、免费、有效的公平游戏守护者的服主。
ADSAntiray2: How It Works
This plugin quietly runs on your server, watching how players mine blocks. It doesn't just count diamonds; it looks for patterns that don't make sense.
The Basics:
- Data Collection: It logs what blocks are broken, when, and where. It also notes how players look around while mining.
- Multi-World Check: It analyzes behavior separately in the Overworld, Nether, and End.
- Async Processing: All this analysis happens off the main server thread, so it doesn't cause lag.
What It Looks For:
The core of the plugin is a combined score (QSS) built from a few key checks:
- Value vs. Effort: Flags players who find a suspiciously high number of valuable ores without mining much else.
- Timing: Spots players who break valuable blocks with machine-like perfect timing.
- Movement: Detects robotic-looking head turns or movement between digs that seems too precise.
- Pathing: Identifies miners who take unbelievably efficient, straight-line paths to every ore.
Built for Performance, Offered for Free.
It's a single, self-contained plugin. It's free for you to use on your server. You can't use it for commercial purposes or reverse engineer it.
compare:
English Version:
New Features Added in the New VersionCompared to the Old:
- Multi-Version Support: Explicitly supports Minecraft versions 1.12 to 1.20.4 (based on Spigot 1.13.2 API), compared to 1.7.10-1.16.5 in the original. Includes compatibility layers for legacy (pre-1.13) and modern versions.
- GUI Systems:
- Admin GUI: A comprehensive graphical interface (
/adsar guiop
) for admins to view online players, their violation levels (VL), suspicion scores (QSS), perform actions like reloading configs, toggling the plugin, and accessing advanced settings. - Player Report GUI: A GUI system (
/adsar report
) allowing players to report suspicious players for X-Ray or AutoTool usage, which sends notifications to online admins. - Report Management GUI: Admins can view and manage pending player reports through a dedicated GUI.
- Admin GUI: A comprehensive graphical interface (
- Decoy Block Interaction (DBI): An active detection system that places hidden "decoy" blocks (client-side invisible) near high-VL players. Attempts to mine these decoys strongly indicate X-Ray usage and can lead to automatic kicks.
- AutoTool Detection: A new detection algorithm (
calculateAutoTool
) specifically designed to identify players using mods/clients that automatically switch to the optimal tool for the block being mined, based on rapid tool switch timings. - Enhanced Spatial Analysis (SLM & APE): Added two new detection algorithms:
- SLM (Straight-Line Mining): Detects mining in unusually straight lines.
- APE (Abnormal Path Efficiency): Detects pathfinding or movement that is abnormally efficient towards valuable blocks.
- Asynchronous Processing & Thread Management: Uses an
ExecutorService
(fixed thread pool) for potentially heavier tasks and emphasizes asynchronous execution for analysis to minimize server impact. - Data Encryption: Implements AES encryption for storing sensitive player data like kick records and report histories.
- Self-Test System: A comprehensive self-check runs on startup and periodically, verifying configs, version compatibility, algorithm weights, material definitions, reflection methods, and encryption, disabling the plugin if critical failures occur.
- More Detailed Player Data: Tracks tool switch timestamps in addition to block breaks and turn records.
- Extended Command Set: Several new administrative commands have been added for better control and investigation.
- Improved Kick and Report Handling: Saves encrypted logs of kicks and player reports for later review by admins.
- Configurable Alert & Kick Thresholds: Allows finer control over when alerts are sent and when players are kicked based on QSS scores and VL.
Command Usage (New Version):
Command | Description | Permission |
---|---|---|
/adsar on |
Enable the plugin | adsantiray.admin |
/adsar off |
Disable the plugin | adsantiray.admin |
/adsar restart |
Restart the plugin | adsantiray.admin |
/adsar reload |
Reload configuration file | adsantiray.admin |
/adsar vl <player> |
Show player's total violation level | adsantiray.admin |
/adsar auto <player> |
Recommend action based on VL analysis | adsantiray.admin |
/adsar sensitivity <1-10> |
Set detection sensitivity level | adsantiray.admin |
/adsar list |
List all online tracked players and their total VL | adsantiray.admin |
/adsar clear <player> |
Clear all data for a player | adsantiray.admin |
/adsar topvl |
Show top 10 online players by total violation level | adsantiray.admin |
/adsar notify <player> <message> |
Send a notification to a player | adsantiray.admin |
/adsar guiop |
Open the Admin GUI | adsantiray.admin |
/adsar report |
Open the Player Report GUI (for reporting others) | (None, but player only) |
/adsar history <player> |
Show kick history for a player | adsantiray.admin |
/adsar check <player> |
Immediately check a player and show detailed scores | adsantiray.admin |
/adsar setvl <player> <value> |
Manually set a player's violation level | adsantiray.admin |
/adsar reset <player> |
Completely reset all data for a player | adsantiray.admin |
/adsar help |
Show help menu | adsantiray.admin |
中文版本 (Chinese Version):
新版相比旧版增加的功能:
- 多版本支持: 明确支持 Minecraft 1.12 到 1.20.4 版本(基于 Spigot 1.13.2 API),而原版支持 1.7.10-1.16.5。包含了针对旧版(1.13之前)和新版的兼容层。
- GUI 系统:
- 管理员 GUI: 一个全面的图形界面 (
/adsar guiop
),供管理员查看在线玩家、他们的违规等级 (VL)、嫌疑评分 (QSS)、执行重载配置、开关插件、访问高级设置等操作。 - 玩家举报 GUI: 一个 GUI 系统 (
/adsar report
),允许玩家举报可疑玩家使用 X-Ray 或 AutoTool,举报会发送给在线的管理员。 - 举报管理 GUI: 管理员可以通过专门的 GUI 查看和处理待处理的玩家举报。
- 管理员 GUI: 一个全面的图形界面 (
- 伪方块交互探测 (DBI): 一种主动检测系统,会在高 VL 玩家附近放置隐藏的“诱饵”方块(客户端不可见)。尝试挖掘这些诱饵方块 strongly indicates X-Ray 使用行为,并可能导致自动踢出。
- 自动工具检测 (AutoTool Detection): 一个新的检测算法 (
calculateAutoTool
),专门设计用于识别使用 mods/客户端自动切换为最适合挖掘方块的工具的玩家,基于快速切换工具的时间。 - 增强的空间分析 (SLM & APE): 增加了两个新的检测算法:
- SLM (直线挖掘检测): 检测不自然的直线挖掘行为。
- APE (异常路径效率): 检测通向有价值方块的路径或移动异常高效。
- 异步处理与线程管理: 使用
ExecutorService
(固定线程池)处理潜在的重任务,并强调分析的异步执行以最小化服务器影响。 - 数据加密: 使用 AES 加密存储敏感的玩家数据,如踢出记录和举报历史。
- 自检系统: 一个全面的自检在启动时和定期运行,验证配置、版本兼容性、算法权重、材料定义、反射方法和加密,如果发生严重错误则禁用插件。
- 更详细的玩家数据: 除了记录方块破坏和转向,还记录工具切换的时间戳。
- 扩展的命令集: 增加了多个新的管理命令,以便更好地控制和调查。
- 改进的踢出和举报处理: 保存加密的踢出记录和玩家举报日志,供管理员后续查看。
- 可配置的警报和踢出阈值: 允许根据 QSS 分数和 VL 更精细地控制何时发送警报和踢出玩家。
指令用法 (新版):
指令 | 说明 | 权限 |
---|---|---|
/adsar on |
启用插件 | adsantiray.admin |
/adsar off |
禁用插件 | adsantiray.admin |
/adsar restart |
重启插件 | adsantiray.admin |
/adsar reload |
重载配置文件 | adsantiray.admin |
/adsar vl <玩家名> |
查看玩家的总违规等级 | adsantiray.admin |
/adsar auto <玩家名> |
根据 VL 分析推荐处理方式 | adsantiray.admin |
/adsar sensitivity <1-10> |
设置检测灵敏度 | adsantiray.admin |
/adsar list |
列出所有被追踪的在线玩家及其总VL | adsantiray.admin |
/adsar clear <玩家名> |
清除指定玩家的所有数据 | adsantiray.admin |
/adsar topvl |
显示违规等级前10名的在线玩家 | adsantiray.admin |
/adsar notify <玩家名> <消息> |
向玩家发送通知消息 | adsantiray.admin |
/adsar guiop |
打开管理员GUI | adsantiray.admin |
/adsar report |
打开玩家举报GUI(用于举报他人) | (无,但需玩家执行) |
/adsar history <玩家名> |
查看玩家的踢出历史记录 | adsantiray.admin |
/adsar check <玩家名> |
立即检查玩家并显示详细评分 | adsantiray.admin |
/adsar setvl <玩家名> <值> |
手动设置玩家的违规等级 | adsantiray.admin |
/adsar reset <玩家名> |
完全重置玩家的所有数据 | adsantiray.admin |
/adsar help |
显示帮助菜单 | adsantiray.admin |