Description
AntiXrayMining is an alternative anti-cheat solution for X-Ray protection. The plugin disguises ores as regular stone until a player gets within a certain distance.
How It Works
Commands
Permissions
AntiXrayMining is an alternative anti-cheat solution for X-Ray protection. The plugin disguises ores as regular stone until a player gets within a certain distance.
How It Works
- All ores in loaded chunks appear as stone (or deepslate/netherrack) to players
- When a player approaches within 4 blocks — the ore is revealed
- When moving away from the ore — it becomes hidden again
- Cheaters can't see ores from afar — even with X-Ray, only stone is visible
- Fair gameplay — legitimate players see ores normally when mining
- Low overhead — uses client-side packets, doesn't modify actual blocks
- Folia-compatible — supports multi-threaded servers
- Download anti-xray-mining-1.0.0.jar
- Place it in your Paper server's plugins/ folder
- Restart the server
- Configure config.yml as needed
Code (Text):
# Distance in blocks at which ores become visible
reveal-distance: 4
# Check interval (in ticks, 20 = 1 second)
check-interval: 5
# Disguise block (STONE, DEEPSLATE, NETHERRACK, END_STONE)
disguise-block: STONE
# Which ores to hide
hidden-ores:
DIAMOND_ORE: true
DEEPSLATE_DIAMOND_ORE: true
# ... and others
# Worlds where the plugin is active (empty = all worlds)
enabled-worlds: []
# Debug mode
debug: false
reveal-distance: 4
# Check interval (in ticks, 20 = 1 second)
check-interval: 5
# Disguise block (STONE, DEEPSLATE, NETHERRACK, END_STONE)
disguise-block: STONE
# Which ores to hide
hidden-ores:
DIAMOND_ORE: true
DEEPSLATE_DIAMOND_ORE: true
# ... and others
# Worlds where the plugin is active (empty = all worlds)
enabled-worlds: []
# Debug mode
debug: false
Permissions
-
antixraymining.admin — access to admin commands (default: op)Click to expand...
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21
- 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 Spigot — 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.
AntiXrayMining [1.21.10] | Proximity-Based Ore Protection is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 472 times (via Spigot). Download it and open it directly in the game.