My custom Anti- Xray Paper plugin
The way it works is honestly just a trick: X-ray packs make stone invisible to show the ores behind it, so my plugin stops this by disguising hidden ores as regular stone blocks in the game's code. Because the game thinks they are just stone, the X-ray pack hides them too, leaving the cheater looking at a completely blank wall. The moment a legitimate player walks right up to the block or clears the area around it, the script instantly snaps the block back into a real diamond so it can be seen and mined normally.
Dm me on Discord if you want the plugin
Dc username: Handsomeguy0705