AntiXray | Folia/Spigot/Paper 1.16-26.3
by lHawk_
Buy, download and save
Free
Download the plugin for free to use on your servers.
Sign in to downloadUse it on your servers. Reselling, redistributing or publishing the file as your own is not allowed (terms).
Save to favorites289 downloads · 1,028 views

About the plugin
Advanced packet-level Anti-Xray: hides ores, structures and entities behind walls with adaptive motion-cached raycasting. Folia ready.
Documentation
AntiXray
Advanced packet-level Anti-Xray and adaptive entity occlusion for Spigot, Paper and Folia
Author: lHawk_ | Contact: https://minebuilders.com.br/discord
⛏ What is AntiXray?
AntiXray stops X-ray texture packs, freecam and ESP cheats without placing fake ores into your world save. Outgoing chunk data is processed on asynchronous network threads via PacketEvents before packets reach the client. Valuable ores and dungeon blocks turn into natural surrounding stone, deepslate, netherrack, or end stone, and are only revealed when the player can actually see them.
Exposed ores in caves are validated using real line of sight raycasting. If solid terrain stands between the player and an ore block, the block stays masked as stone. Once the player walks away, it is securely re-masked. In addition, players, mobs, and minecarts behind walls are hidden dynamically using an adaptive, motion-cached occlusion engine, neutralizing wallhacks and radar cheats.
⚡ Core Features
- Non-Destructive Packet Obfuscation: The world files on disk are never modified. Only outbound network packets are dynamically rewritten.
- Dynamic Line of Sight: Exposed ores in caves stay hidden until a player has a direct, unblocked line of sight within the proximity threshold.
- Anti-ESP Entity Occlusion: Players, mobs, and minecarts behind walls are not sent to clients (Paper and Folia 1.21+).
- Adaptive Motion Caching: High-performance motion-based raycast engine reduces CPU raycasting overhead by over 80% for stationary entities.
- Lock-Free O(1) Chunk Storage: Advanced concurrent data architecture guarantees thread-safe, race-free operations across Netty packet pipelines and Folia region threads.
- Comprehensive Masking: Hides ores, raw metal blocks, refined mineral blocks, mob spawners, trial chambers, vaults, chests, rails, cobwebs, and silverfish infested blocks.
- Instant Interactive Reveal: Mining, explosions, and piston movements automatically re-evaluate line of sight and reveal exposed blocks immediately.
- Full Folia Support: Region-aware scheduling and concurrent chunk boundaries prevent server tick lag and cross-region deadlocks.
✦ Hidden Blocks by Default
- Ores: Coal, Iron, Copper, Gold, Redstone, Lapis, Diamond, Emerald, Deepslate variants, Nether Gold, Nether Quartz, and Ancient Debris.
- Storage & Mineral Blocks: Raw Iron, Raw Copper, Raw Gold blocks, plus Iron, Gold, Diamond, Emerald, Lapis, Redstone, and Netherite blocks.
- Structures & Dungeons: Mob Spawners, Trial Spawners, Vaults, and Mossy Cobblestone.
- Loot & Mineshafts: Regular Chests, Trapped Chests, Minecart Rails, and Cobwebs.
- Infested Blocks: Masked as regular stone or deepslate to preserve surprise traps.
- Entities: Players, living mobs, and minecarts concealed behind solid walls.
⚙ Configuration (config.yml)
worlds: - world - world_nether - world_the_end hidden-blocks: - DIAMOND_ORE - DEEPSLATE_DIAMOND_ORE - ANCIENT_DEBRIS - CHEST=AIR - SPAWNER=AIR - INFESTED_STONE=STONE proximity-distance: 16
Use BLOCK=REPLACEMENT to customize the visual substitute for any block, and proximity-distance to configure the maximum detection radius in blocks (up to 64).
⌨ Commands & Permissions
/antixray- Displays plugin information and command help./antixray status- Displays real-time statistics on processed chunks, hidden blocks, active entity occlusions, and cached players./antixray reload- Reloads configuration and refreshes block state lookup tables.
All administrative commands require the antixray.admin permission (default: OP).
⬇ Installation & Requirements
- Download and install PacketEvents (version 2.14.0 or newer) in the
plugins/folder. - Place AntiXray.jar in the
plugins/folder. - Ensure your server runs on Java 21 LTS or newer.
- Start or restart your server.
- Verify protected worlds in
config.ymland execute/antixray reload.
📊 Performance & Scalability
AntiXray was built for high-traffic servers:
- O(1) Concurrent Sets: Zero quadratic array allocations when processing multi-block changes or chunk batches.
- Voxel DDA Acceleration: Optimized 3D grid traversal terminates early as soon as any bounding point is verified visible.
- Zero RAM Bloat: Memory structures are automatically purged when chunks unload or players disconnect.
Crafted with excellence by lHawk_
Versions
Current version
Spigot, Paper and Folia · Minecraft 1.8 or newer
Performance & Concurrency Optimization:
- BlockManager: Replaced O(n²) array reallocation with O(1) concurrent chunk sets, eliminating monitor lock contention and data races across Netty and server threads.
- Java 21 Toolchain: Upgraded build configuration and pom.xml to Java 21 release targeting, fully compatible with modern Spigot/Paper 26.3+.
- EntityHider: Implemented adaptive motion caching, hierarchical early-exit raycasting (Center -> Head -> Feet -> Corners), and eye-location hoisting, reducing raycast CPU load by >80%.
- Testing: Added automated JUnit 5 test suite validating coordinate packing, concurrency, and performance.
Version history
Earlier versions stay here as a record of the changes. Only the current version can be downloaded.
- 1.0.8Published on October 10, 2026
Spigot, Paper and Folia · Minecraft 1.8 or newer
Entities hidden behind walls, simpler config
Reviews
No reviews yet.
Rate
Whoever has the plugin — downloaded it while free or bought it while for sale — gives a rating from 1 to 5 stars and tells how it went. Sign in to review.
Similar plugins

MineBuilders plugin1.8–26.3TreeCollapse | Tree Felling [1.8-26.3]
Chop down entire trees with a single swing! TreeCollapse brings smooth, realistic tree-felling anima
Platforms: SpigotPaper
by lHawk_Free
177 downloads714 views

MineBuilders plugin1.8–26.3ItemStacker | Efficient Item Stacking
Reduce your server lag by stacking dropped items on the ground! Paper, Spigot & Folia Support.
Platforms: SpigotPaperFolia
by lHawk_Free
151 downloads622 views

MineBuilders plugin1.16–26.3CraftPanel Web, Minecraft Server Manager
Manage your Minecraft server through a web panel with real-time console, plugin management, configuration editor…
Platforms: SpigotPaperPurpurFolia
by lHawk_Average rating 5.0 out of 5, from 3 reviews
Free
40 downloads308 views

MineBuilders plugin1.8+PacketScreen | In-Game Image & Gifs
Display images, GIFs, and videos on in-game screens. Compatible with Spigot, Paper, and Folia (1.8–26.3).
Platforms: SpigotPaperFolia
by lHawk_Free
35 downloads195 views