Filling Mine: Automatic Mine Refilling for Minecraft

What Is the Filling Mine Plugin and Why Your Server Needs It Running a Minecraft server often means dealing with unsightly craters left behind after players mine out entire sand quarries or gravel pits. These empty holes not only ruin the landscape but can also cause lag and disrupt the natural f...

Download FillingMine

Original name: FillingMine

FileVersionLoaderSize
FillingMine.jar——19 КБDownload

What Is the Filling Mine Plugin and Why Your Server Needs It

Running a Minecraft server often means dealing with unsightly craters left behind after players mine out entire sand quarries or gravel pits. These empty holes not only ruin the landscape but can also cause lag and disrupt the natural flow of your world. The Filling Mine plugin solves this problem elegantly by automatically replenishing designated mining areas with a chosen material after each server restart. Instead of manually patching terrain or writing complex WorldEdit scripts, you can set up a self-sustaining mine that never stays empty.

How Automatic Refilling Works

The core mechanic is straightforward. You define a region using a special selection tool, assign a block type such as sand, gravel, or even red sand, and the plugin remembers that space. Whenever the server reboots, if the mine is depleted, it instantly refills with the specified material. This means players can repeatedly harvest resources from the same location without permanently scarring the world. The refill behavior is controlled by a simple config option: refill_on_restart_if_empty. Set it to true, and your mine becomes an infinite, renewable source.

Setting Up Your First Filling Mine

Getting started requires only a few steps. First, hold the selection item, which defaults to a golden hoe. Left-click one corner of the desired area and right-click the opposite corner to define a cuboid region. Then use the command /fm create [name] to register the mine. You can check all existing mines with /fm list. To assign a material, type /fm material [name] [material id]. For blocks with subtypes, like red sand, you would enter /fm material [name] 12 1 (where 12 is sand and 1 is the red variant). Finally, trigger an immediate fill with /fm fill [name] to see the magic happen.

Many server administrators appreciate how seamlessly this plugin integrates with permission systems. It relies on Vault, so you can grant granular access. The permission fillingmine.admin allows full control to create, edit, and remove mines. For regular players, fillingmine.mine.* lets them use all mines, while fillingmine.mine.minename restricts usage to a specific mine. This flexibility is perfect for economy servers where certain mining zones are reserved for donors or ranked members.

Commands and Permissions at a Glance

  • /fm create [name] – Defines a new mine from the selected region.
  • /fm list – Shows all configured mines.
  • /fm fill [name] – Instantly refills the mine with its assigned material.
  • /fm remove [name] – Deletes a mine and its data.
  • /fm material [name] [id] [subid] – Sets the block type (subid available in version 2.0).

Permissions are equally clean. fillingmine.admin is the master key, while fillingmine.mine.* and fillingmine.mine.minename offer tiered player access. The config file lets you change the selection tool (default 294, the golden hoe) and toggle the auto-refill behavior.

Practical Uses Beyond Sand Quarries

While the plugin’s name suggests sand, you can fill mines with any solid block. Imagine a gravel pit that regenerates for concrete production, a clay deposit for brick builders, or even a netherrack mine in a custom nether hub. Server owners running skyblock or resource-gathering challenges find this tool invaluable because it maintains a consistent gameplay loop without staff intervention. The automatic refill on restart ensures that even after a crash or scheduled maintenance, players return to a fully stocked mine.

If you enjoy experimenting with server-side mods, you might appreciate how tools like Filling Mine can be effortlessly added to your setup. For instance, many players now use the foxygame.net launcher, a convenient and modern Minecraft launcher that lets you browse and install mods directly from its menu, making plugin management feel almost effortless. This kind of streamlined experience encourages server admins to try out utility mods without wrestling with complicated manual installations.

Version 2.0 Enhancements and Subtype Support

The latest iteration of Filling Mine introduces material subtypes, a small but powerful upgrade. Previously, you could only specify a base block ID. Now, with the optional subid parameter, you can precisely define variants like red sand (12:1), different wool colors, or stained glass. This opens up creative possibilities for themed mines that match your server’s aesthetic. The command syntax remains intuitive: /fm material [name] [id] [subid]. If you omit the subid, it defaults to 0, preserving backward compatibility.

Why Filling Mine Beats Manual World Editing

WorldEdit is fantastic for one-time terrain sculpting, but it lacks the persistent, automated nature of Filling Mine. With WorldEdit, you would need to reselect and refill the area every time it gets emptied, or write a custom script. Filling Mine remembers the region, the material, and the refill rule, acting as a set-and-forget solution. It also reduces the risk of accidentally filling the wrong area or using an incorrect block, because the mine’s definition is stored and can be reviewed with /fm list.

Conclusion: A Must-Have for Sustainable Minecraft Servers

Filling Mine transforms how servers handle renewable resources. By automating the replenishment of designated mining zones, it preserves the world’s beauty, reduces admin workload, and keeps players engaged with a reliable source of materials. The simple golden hoe selection, clear command structure, and Vault-based permissions make it accessible even for those new to server management. Whether you run a small community server or a large network, adding this plugin means you will never again stare at ugly holes scattered across your landscape. Just set it, fill it, and let the plugin do the rest.