HideOres: The Ultimate Anti-X-Ray Plugin for Minecraft Servers
Running a Minecraft server means constantly balancing fairness and fun. One of the biggest headaches for server admins is players using X-ray texture packs or mods to see through the ground and locate precious ores instantly. This ruins the survival experience and devalues the effort of honest miners. Enter HideOres, a lightweight CraftBukkit and Spigot plugin designed to stop X-ray cheaters in their tracks without punishing legitimate players. It cleverly hides ore blocks until a player gets close enough, then reveals them naturally, keeping your server economy intact and your community happy.
What is HideOres?
HideOres is an anti-X-ray plugin originally developed for CraftBukkit servers and later extended to Spigot. Instead of banning players or using complex packet inspection, it takes a smarter approach: it replaces designated ore blocks with mundane stone, dirt, or other common materials when they are far from any player. As a miner approaches within a configurable radius, the ores magically “appear” as the real blocks. This makes X-ray mods useless because the client never receives the ore data until the player is practically standing next to it. The plugin has been battle-tested across numerous server versions, from the old 1.5.2 days all the way up to 1.8.8, proving its reliability over time.
How Does It Work?
The core mechanic is deceptively simple. HideOres listens to player movement events and caches chunk data to minimize lag. When a player moves, the plugin checks the blocks around them within the configured radius. If any hidden ore is inside that radius, it sends a block change packet to the client, swapping the fake block for the real ore. Once the player moves away, the ore is hidden again. The system is highly optimized: early versions suffered from memory leaks and lag, but the developer refined the code with caching and smarter event processing, making it nearly invisible in terms of performance impact.
One standout feature introduced in later builds is block sensitivity. Ores that are completely surrounded by other blocks—like a diamond vein encased in solid stone—won’t reveal themselves prematurely. This prevents accidental exposure through thin walls or cave openings and adds an extra layer of realism. The plugin also avoids the dreaded 0/38 packet error that plagued some anti-X-ray solutions, ensuring a smooth client experience.
Installation and Configuration
Getting HideOres running on your server is straightforward. Simply place the HideOres.jar file into your server’s plugins folder and restart or reload the server. The first launch automatically generates a config.yml file where you can tweak every aspect of the plugin. For those who prefer a more streamlined setup, the foxygame.net launcher offers a convenient, flexible, and modern Minecraft launcher where you can download mods and plugins right from the menu—making it a breeze to install HideOres alongside other server enhancements without digging through file systems.
Config.yml Settings
The configuration file gives you full control over what gets hidden and how. Here’s a breakdown of the key options:
- radius: The distance in blocks within which ores become visible. Default is 3, but you can increase it for larger reveal areas or decrease it for tighter anti-cheat measures.
- ores: A list of block IDs that should be hidden. The default list covers virtually every valuable resource: diamond ore (56), gold ore (14), iron ore (15), coal ore (16), lapis lazuli (21), redstone ore (73, 74), emerald ore (129), and even blocks like mob spawners (52) or chests (54). You can trim or expand this list to match your server’s needs.
- replacingBlocks: The block IDs that will stand in for hidden ores. Common choices are stone (1), dirt (3), oak wood (17), or sandstone (24). Using multiple replacement blocks adds variety and makes the terrain look natural.
After editing the config, simply reload the server or use a plugin manager to apply changes without a full restart. There are no permissions or commands to worry about—HideOres works silently in the background for all players.
Version History and Compatibility
HideOres has evolved through many iterations, with each update squashing bugs and expanding compatibility. The plugin has been confirmed working on the following server versions:
- CraftBukkit 1.5.2 R1.0
- CraftBukkit 1.6.4 R2.0
- CraftBukkit 1.7.2 R0.4
- CraftBukkit 1.7.5 R0.1
- CraftBukkit 1.7.9 R0.1
- CraftBukkit 1.7.10 R0.1
- CraftBukkit 1.8
- CraftBukkit 1.8.3
- CraftBukkit 1.8.5
- CraftBukkit 1.8.6
- CraftBukkit 1.8.7
- CraftBukkit 1.8.8
- Spigot 1.8.8
The changelog highlights a journey from a rough beta to a polished tool. Early versions focused on fixing player move event processing and a notorious chest bug. Later releases tackled lag by introducing caching, fixed a critical memory leak, and made the plugin more sensitive to surrounding blocks. Version 0.1.3 brought full ore revelation within range and, surprisingly, started working flawlessly on Spigot 1.8.8—likely due to upstream changes by the Spigot team. The latest build, 0.1.4, resolved a packet error, cementing HideOres as a stable, no-fuss solution.
Conclusion
HideOres stands out as an elegant, low-maintenance defense against X-ray cheating. It requires no client-side mods, no complex permissions, and barely touches server performance. Whether you’re running a small private world or a large public network, this plugin preserves the thrill of discovery and keeps the mining economy fair. With its straightforward configuration and proven track record across numerous Minecraft versions, HideOres is a must-have for any server administrator serious about fair play. Give your players the authentic mining experience they deserve—let the ores stay hidden until they’ve earned the right to see them.