Set up RealMines on your Minecraft server
Install WorldEdit and RealMines, create a block mine with /rm create, set its resets and permissions, and fix mines that do not refill.
RealMines is a plugin for mines that refill themselves: you mark out an area, tell the plugin which blocks to fill it with, and it resets on a timer or once enough has been mined. It is built for classic prison style mines. It runs only on the server, so players install nothing.
Checked against RealMines 1.9 and WorldEdit 7.4.6, both listed on Modrinth for Paper 26.3, October 2026.
What you need
- A Paper or Purpur server, which shows a Plugins tab under Content in the panel menu.
- WorldEdit or FastAsyncWorldEdit. RealMines will not work without one of them. Set up WorldEdit on your Minecraft server covers it.
- Optional: Vault, so a mined block can pay money, and PlaceholderAPI for placeholders.
Install the plugins
The RealMines listing on Modrinth does not name WorldEdit as a dependency, so the store will not offer it for you. Install it first.
- Open the Plugins tab and keep Modrinth selected in the source chip row at the top of the tab.
- Search for
WorldEdit, click Install, then open Console and click Restart. - Back in the Plugins tab, search for
RealMinesand click Install. - Restart again from Console. Plugins load only at startup.
On the first start RealMines makes a plugins/RealMines folder. It holds config.yml, language.yml, sql.yml, achievements.yml and a mines folder with one .yml file per mine, which makes mines easy to back up or move.
Create your first mine
Do these steps in game, as an operator, because the area comes from your WorldEdit selection.
- Select the region with the WorldEdit wand. Run
//wand, left-click one corner and right-click the opposite corner. - Run
/rm create <name> blocks. - RealMines lists the materials it found in the selection and asks in chat whether to add them. Type
yesto add them all at 10% each, orcancelto start with plain stone. - Run
/rm mine <name>to open the mine's menu and set the reset mode, icon, colour and teleport point. - Run
/rm blocks <name>to set the percentage of each block.
Besides blocks, the type can be farm for a crop field or schematic to paste a WorldEdit schematic on every reset. /rm panel opens the main menu with all your mines.
Resets and settings
A mine can reset on a timer with /rm setcountdown <name> <seconds>, after a set share of it is mined, or by hand with /rm reset <name>. To reset several mines together, create a task with /rmrt create <name> <delay> and add mines with /rmrt link <taskname> <mine>.
A few switches in config.yml are worth knowing. Edit it in File Manager, click Save, then run rm reload in the Console:
teleportPlayersmoves players out of a mine before it refills.resetMinesWhenNoPlayersdecides whether timers keep running when the server is empty.disableMineResetOnServerStartstops every mine resetting when the server boots.useWorldEditForBlockPlacementfills mines with WorldEdit, which is much faster on large mines.
You can also change most of these in game with /rm settings.
Permissions
realmines.admincovers every admin command and menu. Operators have every permission by default.realmines.tptogether withrealmines.tp.<mine>lets a player use/rm tp <mine>for that mine.realmines.resetallows/rm reset.realmines.<mine>.breakis needed to break blocks in a mine only when that mine'sMine break permissionsetting is on.
Common problems
- The plugin does not load. WorldEdit or FastAsyncWorldEdit is missing or failed to load. Check the Console at startup.
- Players are stuck in a mine when it refills. Check that
teleportPlayersis stilltrue, which is its default in the plugin'sconfig.yml, and set the teleport point with/rm settp <name>. - Mines did not reset while the server was empty.
resetMinesWhenNoPlayersdecides whether timers keep running with nobody online, and it defaults tofalse. Set it totrueif you want mines to refill on an empty server.
Was this guide helpful?
Related guides
Get modpack features with Paper plugins
Match common modpack features such as claims, quests and vein mining to Paper plugins that need no client mods, and see what has no plugin equivalent.
Protect your builds with GriefPrevention
Install GriefPrevention so players claim land with a golden shovel, share it with /trust and stop griefing without admin work.
Minecraft plugins vs mods: which to run
How plugins and mods differ on a Minecraft server, which software runs each, what players must install, and how to choose between them.
