AntiBranchMining — Remove Ores Hidden in Branch Mines

AntiBranchMining plugin for Minecraft removes ores only reachable by branch-mining, preserving cave-accessible veins. Perfect for UHC servers to enforce fair ore gathering.

Download AntiBranchMining for Minecraft 1.5.2, 1.4.7

Original name: AntiBranchMining

Minecraft: 1.4.7, 1.5.2

FileVersionLoaderSize
AntiBranchMining-0.1.jar12 КБDownload
AntiBranchMining-0.2.jar1.4.714 КБDownload
AntiBranchMining-0.3.jar1.5.216 КБDownload
AntiBranchMining-0.4.jar1.5.227 КБDownload

How AntiBranchMining Works

In the competitive world of Minecraft, particularly within Ultra-Hardcore (UHC) tournaments, few activities spark as much controversy as branch-mining. This method, which involves systematically carving narrow, straight tunnels at low depths to maximize the odds of striking diamond or gold veins, is undeniably efficient. Yet, it is often banned in organized play because it allows players to secure valuable resources with minimal risk, bypassing the dangers of monster-infested caves and treacherous ravines. For server administrators, policing this playstyle has historically been a nightmare, requiring manual log reviews, subjective rule interpretations, and endless player disputes. The plugin How AntiBranchMining Works was engineered to eliminate this problem at its root by altering the world generation itself.

Core Principle: Removing Ores Hidden in Solid Stone

The genius of this tool lies in its simplicity. When a new world is created, the plugin performs a comprehensive analysis of every ore vein as chunks are generated. It permanently deletes any ore block that is completely encased in solid stone, meaning it can only be accessed by deliberately digging a tunnel. Conversely, any ore vein that has even a single block exposed to air—whether in a cave, a ravine, or an underground structure—remains completely untouched.

The result is a fundamental shift in mining strategy. On a standard map measuring 1600x1600 blocks, the plugin preserves roughly 14,000 gold ore blocks and 5,000 diamond ore blocks, all of which are reachable exclusively through natural spelunking. This makes the classic "dig to Y=11 and bore straight lines" tactic completely futile. Players who attempt branch-mining will find nothing but empty stone, while those who explore caves will enjoy the same bountiful rewards as in vanilla Minecraft. For the vast majority of players, the difference is invisible unless they deliberately try to tunnel in straight lines.

Why Server Hosts and Players Benefit

This approach relieves server hosts of a significant administrative burden. There is no longer any need to parse ambiguous rules, review digging logs, or investigate reports of suspected cheating. The plugin makes branch-mining physically impossible, which removes the very foundation of most UHC-related conflicts. Players, in turn, are freed from the anxiety of accidentally breaking a rule when they dig a short connecting passage between two caves or follow the sound of lava. Any straight tunnel they create is now purely for navigation, and no one can accuse them of unfair resource gathering.

Installation and Initial Setup

Deploying this plugin is refreshingly straightforward. The administrator simply places the jar file into the plugins folder of the server and generates a fresh world. No further action is required; the plugin automatically processes each chunk as it is created. For those who prefer a more streamlined workflow, using a dedicated launcher can simplify the management of server-side modifications, allowing for quick downloads and updates directly from a user-friendly interface. This is particularly helpful for admins who frequently experiment with different plugin configurations.

How to Install

To get started, the process is as follows: download the plugin jar, stop the server, drop the file into the plugins directory, and restart. After that, create a new world. The plugin will handle everything else. For detailed instructions on the setup process, many server admins search for "how to install" guides specific to this tool. The configuration file, config.yml, is generated automatically upon the first run, allowing for immediate fine-tuning.

Flexible Configuration Options

While the default settings are effective for strict UHC rules, the developer has included a robust set of parameters to adapt the plugin to various server styles. All options are managed through the config.yml file.

Selective Ore Preservation

By default, the plugin removes 100% of ores that are only accessible via branch-mining. However, the removal-factor key allows administrators to specify a percentage. For instance, setting this value to 90 means that 90% of such veins will be deleted, while the remaining 10% are left as a rare "lucky find." This is ideal for servers that want to discourage, rather than completely forbid, tunnel digging while retaining a small element of chance. Importantly, the removal operates on entire veins, not individual blocks, which preserves the natural, vanilla-like appearance of the terrain.

Support for Custom Worlds

Servers using modified world generation—such as a custom Nether with quartz ore or unique biomes—can easily integrate this plugin. The ores list lets you define which blocks are considered valuable ores, and the ore-replacement-material setting determines what replaces the removed blocks. For the Nether, it is logical to add quartz to the ore list and set the replacement material to netherrack. This ensures the plugin functions correctly even in the most exotic modded environments.

Multi-World Configuration

Starting with version 0.2, the plugin supports multiple worlds simultaneously. The config.yml can contain separate sections for each world, allowing for unique settings regarding ore exceptions, check heights, and removal factors. This is particularly useful for servers hosting mini-games where one map enforces strict UHC rules while another uses more relaxed restrictions.

Commands and Permissions

To monitor the plugin's effectiveness, a single command is provided: /OreStats. This displays statistics about the remaining ores per chunk and the average time spent on their removal. To enable this data collection, the debugstats parameter must be set to true in the configuration file. The permission node antibranchmining.commands.orestats grants access to this command, typically assigned to server operators. No other permissions are required for the plugin to function.

Performance and Compatibility

Despite the thorough analysis performed on each chunk, the plugin adds only a 15–20% overhead to the loading time of new terrain—usually a delay of just a few milliseconds, imperceptible to players. If the arena is pre-generated with the plugin installed, it performs zero work during the match, ensuring there are no lag spikes. The plugin is fully compatible with the Bukkit API, meaning it works seamlessly with the vast majority of other plugins and will continue to function on future CraftBukkit versions. For optimal operation, Java 7 (or JDK 7 on Mac OS X) is required.

Conclusion

How AntiBranchMining Works is an elegant technical solution to a long-standing social problem within the UHC community. Rather than relying on player honesty or spending hours adjudicating disputes, organizers can install this plugin and permanently remove branch-mining from the equation. It preserves the thrill of dangerous cave exploration while making the game fairer and tournament preparation significantly easier. With its granular configuration options and support for custom worlds, this tool is an excellent fit for any server that values the true spirit of survival. For those looking to enhance their server's integrity, the ability to download How AntiBranchMining Works and integrate it into a setup is a decisive step forward. This plugin for Minecraft is a must-have for any serious UHC host.