



KeranAntiXray is a high-performance Anti-Xray and Anti-Freecam plugin designed specifically for Paper, Folia, and Canvas 1.21+. It provides advanced Nether Roof protection to prevent players from using Freecam to inspect areas above or below the bedrock layer.
Core Features
World-Based Anti-Xray
- Separate configuration for:
- Overworld
- Nether
- Hide blocks below a configurable Y-level
- Optimized for high-performance servers
Nether Roof Protection (Anti-Freecam) When a player is below the bedrock roof:
- All blocks above the configured roof Y-level are sent as air
- Freecam cannot see bases or builds on the Nether roof when the player is below the bedrock roof
- Full chunk data is restored automatically
- No interference with legitimate roof gameplay
Compatibility
- ✅ Paper 1.21+
- ✅ Folia
- ✅ Canvas
- ✅ Java 21+
- ❌ No ProtocolLib required
- ❌ No external AntiCheat required
Configuration Example
antixray:
enabled: true
worlds:
world:
hide-below-y: 16
world_nether:
anti-freecam:
enabled: true
roof-y: 128
cloak-below-roof-when-on-roof: true
hide-roof-until-player-above-roof: true
Configuration Explanation
roof-y→ Height of the Nether bedrock roofhide-roof-until-player-above-roof→ Sends AIR above roof until player climbs upcloak-below-roof-when-on-roof→ Disables restriction once player is above roof
Designed For
- Survival Servers
- SMP
- Anarchy
- Skyblock with Nether
- Folia / Canvas performance servers
Prevents:
- Freecam roof base scouting
- Xray under bedrock
- Unauthorized structure inspection
Notes
- Operates at chunk data level (server-side)
- Does not modify actual blocks on the server
- Does not interfere with entities
- Fully region-thread safe for Folia
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21, 1.21.1, 1.21.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as keranantixray-1.2.1.jar — drop this file into the mods folder
- Download size: 70 KB
- Download link checked 9 Sept 2026 — working
These come from our own check of the pack file, not from the source page.