[MAX] ML Anti XRay 图标

Minecraft 服务端插件

[MAX] ML Anti XRay

Automatically flag potential xrayers with Machine Learning

版本范围
1.17–1.21.11
下载量
2.5 万

插件介绍

AI Anti-Xray Detection Plugin

This plugin is designed to help Minecraft server administrators detect and prevent x-ray cheating using a simple AI model. It monitors players' ore mining behavior and collects various data points to determine if a player is likely using x-ray mods.


Key Features

  • AI-Driven Detection:
    The plugin uses two sets of model weights (for legit and x-ray behavior) to compute a confidence score indicating the likelihood that a player is x-raying.

  • Comprehensive Data Collection:

    • Distance Calculation: Tracks the distance from the last mined ore.
    • Exposure Analysis: Determines whether an ore was naturally visible or revealed due to nearby block breaking.
    • Ore Vein Grouping: Data is only recorded once per ore vein to avoid duplicate counts.
    • Mining History: Maintains a rolling history of ore mining events (default: 10 minutes).
    • Rotation from last ore: Checks how big of a rotation you'd have to do in order to reach an ore from the last one.
  • Dynamic Training System:
    Use the /train <legit|xray> command to adjust the AI model weights based on player behavior. This allows the model to learn and improve over time:

    • Legit Training: Adjusts the model if a player is confidently a legitimate miner.
    • Xray Training: Adjusts the model when a player is detected as using x-ray mods.
  • Customizable Configuration:
    Configure the plugin via config.yml to set:

    • Flag threshold (confidence percentage).
    • Flag messages.
    • List of ores to monitor.
    • Mining time window for data collection.
    • And more...
  • Automatic File Management:
    The plugin automatically creates necessary folders and files (e.g., ML/legit.dat, ML/xray.dat) if they do not exist, ensuring smooth first-time setup.


How It Works

  1. Data Collection:

    • When a player breaks a block, the plugin checks if it's an ore of interest.
    • If a non-ore block is broken, the plugin scans adjacent blocks for ores and marks them as "revealed."
    • When an ore is mined, the plugin checks if it was naturally exposed (i.e., visible without needing to break any adjacent block) before recording the event.
  2. Feature Extraction:
    The plugin calculates:

    • Player rotation difference to the ore.
    • Distance from the previous ore break.
    • Exposure status (using the revealed ore list).
    • Count of similar ores mined within the configured time window.
  3. AI Prediction:
    The collected features are processed through a weighted model, and a confidence score is computed that indicates the likelihood of x-ray usage.

  4. Training & Adaptation:
    The /train command allows administrators or trusted players to train the model based on observed behavior, updating the weights stored in ML/legit.dat or ML/xray.dat.

  5. Flagging Suspicious Behavior:
    If the confidence score exceeds the configured threshold, the plugin flags the player which then notifies staff of their potentially unfair behaviour.


Usage

  • Installation:
    Place the plugin jar into your server's plugins folder. On first run, the necessary configuration and ML data files will be created automatically.

  • Configuration:
    Edit config.yml in the plugin’s data folder to customize the detection thresholds, messages, and ore list.

  • Commands:

    • /train <legit|xray>
      Use this command to train the AI model based on a player's recent mining behavior.

Conclusion

This AI Anti-Xray Detection Plugin leverages in-game data to help maintain a fair play environment on your server by dynamically learning and adapting to player behavior. Enjoy a smarter, self-improving system for combatting x-ray cheats!

Feel free to reach out with feedback or suggestions to improve the plugin further. Happy mining!

https://bstats.org/plugin/bukkit/MLAntiXray/25104

版本与下载

推荐下载

MLAntiXray-R3HF.jar版本 R3HF · 3 MBSHA-1 d5a1941c9c4e766b0fe36591f6c9f70dfa912d8d下载 MLAntiXray-R3HF.jar

R3HF

正式版
加载器
bukkit · paper · spigot
MC 版本
1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10 · 1.21.11
MLAntiXray-R3HF.jar3 MBSHA-1 d5a1941c9c4e766b0fe36591f6c9f70dfa912d8d获取文件 MLAntiXray-R3HF.jar
展开更新日志

Fixed a vulnerability and removed the version of the plugin on the modrinth page which contains it. It is critical you update to this version.

Audit logs

Log player infractions with configurable limits on the amount of player infractions to save at a time, and how many of their infractions to save, this ensures admins know that a player has been likely xraying and lets them teleport to where that infraction happened without bloating storage space.

Audit logs

Checking for updates

Plugin will now automatically warn you when updates are available so you never fail to have the newest protections against xray!

R2

正式版
加载器
bukkit · paper · spigot
MC 版本
1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10 · 1.21.11
MLAntiXray-R2.jar3 MBSHA-1 4269f02f571bf190c403e3689a19b3a68a3bd29f获取文件 MLAntiXray-R2.jar
展开更新日志

HUGE UPDATE

Refined config naming

Fixed the awful naming of only-count-unexposed-ores to a much more understandable exposed-ores-counted

Refined exposed ore logic

It used to be that, if a block was broken near an ore which was already exposed, it would count that as an ore the player probably illegitimately uncovered! This caused many issues with the plugin's false positives and I'm happy to announce that this is now fixed!

Late to catch an xrayer? Don't worry!

If the plugin suspects someone it'll automatically allow you to teleport to the mine they were using in order to check whether it looked illegitmate or not. This is also logged in the console AND webhooks for easy catching!

New command

This new command is basically exclusive to the feature above, it allows you to quickly teleport to abusers via a teleport id. This teleport id is shown in console and webhooks. Usage /xray teleport <id>

R1HF

正式版
加载器
bukkit · paper · spigot
MC 版本
1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8
MLAntiXray-R1HF.jar3 MBSHA-1 4eca44841c615f40810a6b1796f036e86618f512获取文件 MLAntiXray-R1HF.jar
展开更新日志

Bug fixes relating to players changing dimensions

R1

正式版
加载器
bukkit · paper · spigot
MC 版本
1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7
MLAntiXray-R1.jar3 MBSHA-1 699ae6281ed5ae79e6cf15a9773bb9ac2f55ad60获取文件 MLAntiXray-R1.jar
展开更新日志
  • Added automatic punishment option
  • Alongside with config settings to change it's threshold, command and whether it's enabled (by default it's not)

B3

测试版
加载器
bukkit · paper · spigot
MC 版本
1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4
MLAntiXray-B3.jar3 MBSHA-1 ef6b2f70fbb723c6310cdc5f151eefa1465db5dd获取文件 MLAntiXray-B3.jar
展开更新日志

Fixed a weight being based off the wrong value (sorry this may break some ppls configs) and added a ML update system so we can improve detections for you (confirmed by you don't worry your config will never be overwritten without your permission)!

B2

测试版
加载器
bukkit · paper · spigot
MC 版本
1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4
MLAntiXray-B2.jar3 MBSHA-1 b47ce8493a196477736b8ba5a0ed2df3ec5914ba获取文件 MLAntiXray-B2.jar
展开更新日志

Logs xray alerts in console now and fixed a bug where /xray reload didn't require any extra permissions so it is recommended to update to this version asap or it may allow players to lag the server slightly.

1

测试版
加载器
bukkit · paper · spigot
MC 版本
1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4
MLAntiXray-1.jar3 MBSHA-1 41235f2042678c0328dfde3c0a49e7036df1bd87获取文件 MLAntiXray-1.jar
展开更新日志

BStats implementation + Discord webhooks

2

早期版
加载器
bukkit · paper · spigot
MC 版本
1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4
MLAntiXray-1.jar19.7 KBSHA-1 4b3fc7b4b3686dc51c12457299aa6ac6f4a8eef2获取文件 MLAntiXray-1.jar
展开更新日志

Now contains /xray <reload/alerts> to toggle alerts and reload the configuration. Also added to the detections with a new config data piece called "only-count-unexposed-ores" where the model will only care when you mine an ore that wasn't previously exposed which prevents some rare possible falses and is enabled by default.

1

早期版
加载器
bukkit · paper · spigot
MC 版本
1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4
MLAntiXray-1.jar15.4 KBSHA-1 72c7dbde5fbd51fd039b551bee457526a3c64310获取文件 MLAntiXray-1.jar
展开更新日志

Created the original plugin.