HomeJavaMods[MAX] ML Anti XRay
[MAX] ML Anti XRay

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


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


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

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more