Anti Xray++ is an advanced Paper server plugin designed to protect your server from more than just traditional xray. It prevents Xray resource packs, Ore ESP, Block ESP, Block Markers, Highlight Mods, and other block-scanning clients by obfuscating hidden block data before it reaches the player.
Unlike traditional anti-xray systems that mainly stop basic xray packs, Anti Xray++ is built to defend against modern client-side block detection while remaining lightweight and configurable.
antixrayplusplus-paper-1.0.0.jar
inside your server's plugins folder.
The plugin will automatically generate:
config/antixrayplusplus.json
config/paper-world-defaults.yml
<world>/paper-world.yml
Stop the server completely.
Start it again.
Note: The restart is required because Paper loads Anti-Xray settings when each world starts.
/antixrayplusplus status
/antixrayplusplus reload
/antixrayplusplus debug on
/antixrayplusplus debug off
All commands are available to server operators by default.
For the best compatibility, install ProtocolLib alongside Anti Xray++ for enhanced packet handling.
This plugin only works on Paper 1.21+ servers. It is not compatible with Fabric, Forge, Vanilla, or Spigot-only servers.
Most anti-xray plugins only stop basic xray resource packs.
Anti Xray++ goes further by preventing advanced client-side block detection techniques, helping keep hidden resources truly hidden until players discover them naturally.