Is X-Ray bannable on Minecraft servers?
Short answer: on almost every public server, yes. Long answer: it depends on how the server detects X-Ray, which is nothing like what most players think. Here is what actually happens under the hood, which servers enforce it, and when you can ignore the whole question.
TL;DR
How anti-xray plugins actually work
The two widely-deployed anti-xray systems on public Minecraft servers are Orebfuscator(Bukkit / Paper / Spigot) and Paper's built-in anti-xray engine. They do not scan your Minecraft installation. They cannot see your resource packs folder, your mod loader, or what plugins you have running on the client. They only see the packets your client sends the server: which blocks you mine, in what order, and where you walk.
What they do instead is either hideores before they are exposed (Paper's engine replaces unmined ore blocks with stone textures in the chunk data sent to your client), or watch your mining pattern for anomalies (plugins like Matrix Anti-Cheat and Grim score the ore-to-stone ratio of blocks you break and alert staff when it exceeds a threshold).
Paper's engine is the scary one for X-Ray users because it makes the pack itself useless — a diamond block buried in stone shows up as stone textures until you actually mine through to it. Your pack shows you there is "nothing" there because the server literally sent your client stone blocks. You think the X-Ray pack is broken. It is not; the server is obfuscating the chunk.
Pattern-detection plugins are the ones that ban you. They log every block break, calculate ore yield per 1,000 blocks mined, and flag accounts that deviate from the normal distribution. Normal players average roughly 1-2 diamonds per 1,000 stone blocks mined at Y=-59. X-Ray users easily clear 20+. The math is not subtle.
Which servers actively ban X-Ray
Any server with a public ruleset and a staff team: Hypixel, CubeCraft, MineplexCubed, Munchy, Wynncraft, 2B2T (in spirit, if not technically), and essentially every SMP server with a Discord and a moderator role. Most of these state it explicitly in their rules page:
- "X-Ray of any kind — mod, resource pack, glitch — is prohibited. First offense is a permanent ban."
- Typical variants replace "permanent" with a 30-day or 90-day ban on first offense escalating to permanent on repeat.
Smaller private servers vary. Some explicitly allow it as part of a "do what you want" ethos. Most disallow it because running an economy with X-Ray users destroys the market for ores. If there is a rule document, assume X-Ray is banned unless it explicitly says otherwise.
Where you can use X-Ray without any risk
Singleplayer worlds. There is no server, no admin, no rules, and no anti-cheat. Your local world file is entirely yours. Run the Java pack or the Bedrock pack and ignore this guide entirely.
Realms you own. You pay for it, you run it. Mojang does not police resource packs inside Realms. As long as the other players in your Realm are okay with it, go ahead.
LAN games. Opening a singleplayer world to LAN does not add any anti-cheat layer. Same rules as singleplayer.
Private servers without plugins. A vanilla server you and three friends run has no ban mechanism. If the other players do not mind, neither does the server.
"Can I get unbanned after an X-Ray ban?"
Rarely. The appeal process on most servers starts with "we have logged every block you broke in the past 30 days and scored your mining pattern against our baseline." If the score is high enough to trigger a ban, it is usually high enough that appeal staff reject the appeal. A first-offense 30-day ban is the usual outcome; lying in the appeal ("I was just lucky") generally upgrades to permanent.
The practical reading: if you want to use X-Ray, play on your own world. Do not use it on a public server and assume you will talk your way out.
Related guides
Best Y levels for every ore
Use X-Ray at the right depth and you will actually find diamonds.
How to find diamonds fast
Step-by-step mining route with and without X-Ray.
Finding ancient debris
Nether-specific X-Ray strategies and the TNT-mining alternative.
Resource pack vs mod
Feature-by-feature comparison of the two X-Ray methods.
Frequently asked questions
Will I get banned for using X-Ray on Hypixel, CubeCraft, or Mineplex?
Yes. Every large public Minecraft server explicitly bans X-Ray in their rules and runs automated detection. On Hypixel in particular, staff review mining pattern reports and issue permanent bans. Mineplex and CubeCraft enforce the same policy.
Do servers scan my resource packs folder to detect X-Ray?
No. Servers cannot see your local files. Detection works by watching how you mine: the blocks you break, the tunnels you dig, and the ratio of ore-bearing blocks to filler stone. X-Ray users break an unusually high fraction of ore blocks, and that pattern is what gets flagged.
Can I use X-Ray on a server if I only use it to find caves, not ores?
Most anti-cheat plugins detect both. They flag unusually direct paths to unexposed caves just like they flag direct paths to ores. If the server bans X-Ray, they ban the behavior, not just the intent.
Is X-Ray bannable on Realms or LAN worlds?
No. Realms you own and LAN games are your own servers. There is no moderation team, no anti-cheat plugin, and no rules you are agreeing to. You can install X-Ray freely and it is not bannable in any meaningful sense.
What about on a friend's server with no rules?
If the server does not run an anti-cheat plugin and the owner does not mind, there is no ban mechanism to worry about. The risk is social, not technical — check with the owner first so you are not the reason they change the rules.
Can I be banned for using a resource pack that is not technically X-Ray but is similar?
Yes. Anti-cheat plugins care about behavior, not which pack you have installed. If you mine with suspicious efficiency — whether from a full X-Ray pack, a glow ores pack, an ore finder mod, or vanilla glitches — the plugin can flag you. The fix is to play on your own world.