Guide menu ▾

Modules

Generator miner

On cobblestone and ore generators the bot keeps breaking the block under its crosshair, picks the best tool and keeps it from breaking.

Last updated: November 5, 2026

The bot breaks the block it is looking at and breaks it again when a new one appears. It is used to farm money and materials on cobblestone, stone or ore generators.

Generator miner settings
Generator miner settings

Setup

  1. 1Turn on Enable the generator miner module in the bot's settings and save.
  2. 2Restart the bot, bring it in front of the generator and make it look at the block (use the movement panel if needed).
  3. 3Type .generator start in the console or press Mine (generator) → Start on the Movement tab.
.generator start
.generator stop
.generator status
.generator tune
.generator tune stop
SettingDefaultDescription
Range (blocks)41-6. How far the bot reaches.
Wait when no block (ms)10020-5000. Pause when there is nothing to break.
Rotation modeNoRe-sends the look direction at an interval; helps against some servers' AFK checks.
Rotation interval (ms)750100-10000

Speed test

The speed test finds out by itself how fast the bot can break blocks on this server. It first shortens the waits, then finishes each dig a little earlier step by step. Once the server or its anti-cheat starts undoing breaks, it stops, steps back once, checks the result with a longer run and saves it to the bot's settings.

  1. 1Bring the bot in front of the generator, make it look at the block and put the tool it should use in its inventory. With several blocks in a row where it looks, the bot moves on to the one behind after breaking the front one; like vanilla it reaches at most 4.5 blocks (raise the Reach setting to match).
  2. 2Type .generator tune in the console, press Mine (generator) → Speed test on the Movement tab, or use Start speed test in the settings.
  3. 3The test takes a few minutes and every step shows in the console. When it ends, the setting found and the speeds appear in the Speed test box in the settings; they are kept when the bot restarts.
Generator miner — AFKBot