Home›Java›Mods›AntiXrayMining [1.21.10] | Proximity-Based Ore Protection
AntiXrayMining [1.21.10] | Proximity-Based Ore Protection
ModsJava

AntiXrayMining [1.21.10] | Proximity-Based Ore Protection

⬇ Download on Spigot
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
  1. All ores in loaded chunks appear as stone (or deepslate/netherrack) to players
  2. When a player approaches within 4 blocks — the ore is revealed
  3. When moving away from the ore — it becomes hidden again
Advantages
Installation
  1. Download anti-xray-mining-1.0.0.jar
  2. Place it in your Paper server's plugins/ folder
  3. Restart the server
  4. Configure config.yml as needed
Configuration
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
Commands
upload_2025-12-20_4-8-43.png

Permissions

Quick facts

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.

Explore more