AntiXrayMining [1.21.10] | Proximity-Based Ore Protection
1.0.0Ores stay hidden until players get close. X-Ray sees nothing but stone
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
- 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
Advantages
- 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
Installation
- 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
Configuration
# 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
Permissions
-
antixraymining.admin — access to admin commands (default: op)
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta