Mine out an area with many accounts
Clear a room, a quarry or a patch of trees between two corners, with one account or many working together.
Start from the official macro
Area Miner mines out everything between two corners: a room for a base, a quarry, a hill or a patch of trees. It works on every paid plan, with Java accounts.
Copy the macro
Open Macros, then Community Macros, and click Use Macro on Area Miner. Your copy opens in the Builder.

The official Area Miner macro on the Community Macros tab. Click to enlarge. Set the two corners
Open the Mine Area step and fill in First corner (X, Y, Z) and Second corner (X, Y, Z) with two opposite corners, or let an online account do it with Use Account Position. The step shows the size of the box. Both corner blocks are mined too.

The Mine Area step with both corners and the size of the box. Click to enlarge. Run it
Put the accounts within 48 blocks of the area, pick them all and click Run Macro. The macro ends by itself when the area is empty.
Find the corners
A corner is one block, written as x, y and z. Take the two blocks at opposite ends of the area, in any order.
| Where | How |
|---|---|
| Your own Minecraft | Look at the block and press F3. Targeted Block shows its x, y and z. |
| Point of View | Go full screen and press F3. Block is where the account stands, Targeted Block is the block it looks at. |
| Use Account Position | In the step, pick an online account under Account to read positions from and click Use Account Position next to a corner. The corner becomes the block the account stands in. |
| Pick in Point of View, Tier 2 | Click Pick in Point of View in the step. Click full screen on the view, press F6 for Free Cam, press [ at the first corner and ] at the second, leave full screen and click Use These Corners. |
To flatten the ground, put the lower corner one block above the level you keep. For trees, put the box around them and list the logs and leaves as the only blocks to mine, so the ground stays.
One box is up to 256 blocks long on each side and 384 high. For a bigger area, add another Mine Area step for the next box.
Mine with many accounts
Run the same macro on as many accounts as you like. Accounts with the same corners on the same server and in the same dimension work as one team: each takes its own part, they go down layer by layer together, and nobody digs under another.
There is nothing to set up. Start more accounts at any time and they join in. When one dies, disconnects or is stopped, the others take over its part.
Settings worth knowing
| Setting | Starts at | What it does |
|---|---|---|
| Only mine these blocks | Empty | Empty mines every block. List blocks to take only those, like logs and leaves. |
| Never mine these blocks | Chests, spawners and other storage | Left in place. Add the blocks you want to keep. |
| Lava and water | Cover them with a block | Covers lava and water with a filler block and keeps mining. With Leave the blocks next to them, it skips every block that touches lava or water. |
| Place blocks | On | Lets the account place filler blocks to climb, bridge and stand safely. Off places nothing. |
| Blocks it may place | Cobblestone, deepslate, dirt and other stone | The only blocks it places, from its own inventory. What it mines refills them. |
| Spare tool durability | 10 | A tool this close to breaking is not used. 0 uses tools until they break. Keep it at 10 or less when the macro buys your pickaxes. |
| Stop when the inventory is full | Off | Off keeps mining. Drops it has no room for stay on the ground. |
Buy pickaxes on DonutSMP
The official macro starts with Buy Tool from the Auction House. When the account has no usable pickaxe, it searches the auction house with your Auction command and buys one, never above your Highest price. The account pays with its own money. After a try that finds nothing at your price or fails, it waits 10 minutes before the next one. On other servers it does nothing.
Why it stopped
Mine Area writes why it stopped to the console and to the variable area. The official macro ends on done, invalid and unsupported and tries again after a wait on the rest.
| Reason | What happened | What to do |
|---|---|---|
done | Nothing it can reach is left to mine. | Nothing, the area is clear. |
tool | No pickaxe above the spare tool durability, or none strong enough for what is left, like obsidian. | Give it one, or let the buy step buy one. |
blocked | What is left is out of reach or unsafe, like blocks next to lava. | Keep Place blocks on with filler blocks in the inventory, or mine those by hand. |
away | The account is in another dimension or more than 48 blocks away. | Add your /home command before the step. |
died | The account died. | Look at the area in Point of View before it goes back. |
full | The inventory is full, only with Stop when the inventory is full on. | Add your own sell steps. |
invalid | The corners are not set, or the box is too big. | Fix the corners. |
unsupported | A Bedrock account. | Use a Java account. |
Good to know
It breaks nothing outside the box and only places your filler blocks. One exception: a tool that breaks several blocks at once, like the DonutSMP 3 x 3 drill, can break one block past the edge. It does not sell, store or drop what it mines: add your own steps for that. It keeps no progress of its own: after a reconnect or a restart it looks at the blocks and carries on.
The AI assistant knows Area Miner. Try “make my 5 accounts mine out 100 -40 200 to 131 -33 231 and sell when full”.
Check the troubleshooting guide or return to all guides.