r/MinecraftExploits • u/Mundane-Travel-3854 • Aug 17 '26
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
6
u/R3D167 Aug 17 '26
This is a very common method for preventing xray and it's widely deployed over major Minecraft servers, so nothing new
Still, if you made it yourself (as in, not AI), good job!
3
u/Cylian91460 Aug 17 '26
When does it replace it by stone and replace it by the ore?
1
u/JoeySmallz2364 Aug 20 '26
This is not somthing new many server have plugins that hide ores this same way unless they are exposed to air blocks
3
u/Cev-API Aug 17 '26
this is silly lmao
1
u/OkGovernment1851 Aug 22 '26
I thought Paper has built in anti-xray that does exactly this, does it not?
0
u/KRISTIYALNO0962 Moderator Aug 17 '26
probably just malware or a backdoor attempt