X-ray Fix defeats visual X-ray mods and seed-based exploits by re-generating ore locations using a private server secret and sending fake block data for hidden underground blocks, with no impact on server performance.

X-ray Fix is a high-performance Minecraft server plugin designed to defeat both visual X-ray mods and seed-based X-ray exploits. It works by decoupling ore generation from the world seed and using advanced packet-level obfuscation to hide underground blocks from clients.
ChunkSnapshot for efficient scanning and batched sendMultiBlockChange updates, ensuring zero impact on server MSPT.When a chunk is generated (or loaded for the first time after installation), X-ray Fix scans it and removes all naturally generated ores. New ore positions are then calculated using a PRNG seeded with the chunk coordinates combined with a private server-side secret — making placement consistent for the server, but completely unpredictable for players.
When a chunk is sent to a player, X-ray Fix identifies all blocks that are hidden (not exposed to air or transparent blocks) and replaces them in the outgoing packet with random selections from a configurable pool of fake materials. Players never see the real blocks until they're actually exposed.
When a block is broken, placed, or blown up, X-ray Fix instantly sends high-priority multi-block change packets for all 6 adjacent neighbors — ensuring newly exposed blocks are revealed immediately with no visual glitches.
plugins folder.config.yml.secret in config.yml. If left empty, one will be auto-generated.max_y and fake_materials to suit your needs.