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>
Bug fixes relating to players changing dimensions
- Added automatic punishment option
- Alongside with config settings to change it's threshold, command and whether it's enabled (by default it's not)
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)!
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.
BStats implementation + Discord webhooks
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.
Created the original plugin.
![[MAX] ML Anti XRay](https://cdn.modrinth.com/data/u0aVZy46/d41e90364500f273c8bacb37523cf01121d7b2ae_96.webp)


