Macro steps: chat, waits, movement and items
Every everyday step: commands and chat, delays, looking and moving, mining, fishing, items and connection steps.
Commands, chat and log lines
| Step | What it does |
|---|---|
| Type Command | Sends a slash command, for example /home 1. |
| Send Chat | Sends a chat message as the account. |
| Log Message | Writes a line to the account’s console only. Handy for printing a variable while you test. |
All three accept tokens, filled in when the step runs:
| Token | Becomes |
|---|---|
%username% | The account’s own name. |
%random_username% | A random player the account can see, never one of your own accounts. Empty on an empty server. |
%random_java_username%, %random_bedrock_username% | The same, Java names only or Bedrock names only. |
%online_count% | How many players the account sees online. |
%random_number%, %random_number(1,100)% | A random digit, or a random whole number in your range. |
%loop% | The current loop of the run, starting at 1. |
%var:NAME% | A variable, or a field of it like %var:home.x%. See variables. |
Waits
| Step | What it does |
|---|---|
| Wait / Delay | A fixed pause, 50 ms to one hour. |
| Random Delay | A pause between a minimum and a maximum, so repeats are not perfectly regular. |
| Wait for Chat Reply | Waits for a new message that contains one of your keywords, with a timeout. Server messages count, action bars do not. |
| Wait Until Spawned | After Reconnect or Disconnect, waits until the account is back in the world, up to 120 seconds. |
| Wait For Time | Waits until day, night or a time tick (0 sunrise, 6000 noon, 12000 sunset, 18000 midnight). |
Waits for menus, slots and conditions are in inventory, menus and dialogs and variables, conditions and loops.
Looking, moving and the mouse
| Step | What it does |
|---|---|
| Look At | Turns by Direction, to Coordinates, or to exact angles with Head Position (angles), the same numbers as Head Position. |
| Walk Direction | Holds forward, backward, left or right for 100 to 60,000 ms. |
| Stop Movement | Lets go of every movement key and cancels pathfinding. |
| Toggle Sprint | Sprint on or off. |
| Jump | One jump. |
| Toggle Sneak, Toggle Jump | Switch the account’s saved Sneak or Jump setting, the one from Settings → Behavior. It stays on after the macro ends. |
| Swing Arm | One swing with the held item. |
| Use Item | One right click with the held item. |
| Hold Mouse Button | Holds left, right or both for 1 to 3600 seconds. |
| Mouse Click | Real clicks on what the crosshair is on: 1 to 100 left or right clicks with a delay between them. Aim with Look At first. |
| Enter Vehicle | Gets into the nearest boat, minecart or rideable mob in reach and waits until seated. To get out, add Toggle Sneak on, then off. Stops the macro when no vehicle is in reach. |
| Place Block | Java. Takes a block or sign from the hotbar or inventory and places it at the feet, in front, or where the account looks. *sign matches any sign. |
| Auto Sign | Java. Writes up to four lines on the sign just placed, typed at 10 to 300 words a minute. Tokens work. Put it right after Place Block. |
| Play Recording | Tier 2. Repeats a recording exactly: walking, looking, mining, menus and chat. See Macro Recording. |
Pathfinding and following
| Step | What it does |
|---|---|
| Goto Coords | Walks to X, Y, Z and waits until it arrives. Options: sprint, break blocks, humanized movement, stop the macro if there is no path. |
| Save Position | Stores the account’s X, Y, Z in a variable. |
| Walk to Saved Position | Walks back to a saved position. |
| Follow Player | Follows a player at 1 to 20 blocks for up to an hour, or 0 for until the macro stops. It climbs, swims and drops after them. Safe pathfinding (take no fall damage) only allows drops of 3 blocks or into water. |
| Random Walk | Walks to random spots within 4 to 96 blocks for the time you set. Real walking, so servers that count playtime only while you move count it. |
| Walk Blocks | Walks 1 to 2000 blocks forward, back, left, right or north, south, east, west, around obstacles. |
These steps work on Java and Bedrock and use the same pathfinder as the tasks in Control → Movement.
Mining
| Step | What it does |
|---|---|
| Mine Blocks | Walks to the nearest block with the name you type and mines it, up to 10,000 times within 2 to 96 blocks. Don’t move mines only what is in reach, Mine all block types ignores the name. Java adds Only blocks open to the sky, Pick up the drops and Stop when the inventory is full. A variable can receive why it ended: full, none, done or stuck. |
| Dig Down | Digs straight down and stops by itself at bedrock, or before lava, water or a long drop (Max safe drop, 1 to 10 blocks). Blocks to dig 0 means down to bedrock. Tick 3x3 drill tool for a drill like the DonutSMP one. |
| Right-Click Spawner | Looks at the nearest spawner within 2 to 48 blocks and right clicks it with the held item. |
| Click Block | Walks to blocks you name, up to 10 names, and right or left clicks each one once: heads, buttons, levers. Don’t move clicks only what is in reach. Don’t turn the head clicks without looking, which anti-cheats can flag. |
| Mine Area | Java. Mines out everything between two corners, together with every account that runs the same macro. See Area Miner. |
| Buy Tool from the Auction House | Java, DonutSMP. Buys a pickaxe from the auction house when the account has none, up to your price. |
Fishing
Auto Fish fishes like a player on a Java account: it casts, waits for a real bite, reels in and casts again. It does not turn, so face the water first.
| Setting | What it does |
|---|---|
| Fish until | A number of catches, a time limit, a full inventory, or forever. |
| Cast again when nothing bites for | 10 to 300 seconds, 45 by default. Raise it under a roof, where bites take longer. |
| Prefer enchanted rods | Takes the rod with the best enchantments. Untick it to keep the rod in hand. |
| When the rod is almost broken | Switch to another rod, stop fishing, or fish until it breaks. |
| Save the result to a variable | catches, items, reason and casts, for a Discord Alert. |
Items by name
Item names are the Minecraft ids, like diamond_sword. The pickers search as you type.
| Step | What it does |
|---|---|
| Set Hotbar | Selects a hotbar slot, 0 to 8. |
| Hold Item | Selects the hotbar slot that holds the item. It never moves items. |
| Equip Item | Finds the item anywhere in the inventory, moves it to the hotbar slot you pick and holds it. |
| Move Item | Finds the item anywhere in the inventory and puts it in the slot you pick: a hotbar slot, an inventory slot or the off-hand. Whatever was in that slot trades places with it, and the held item does not change. Close menus first. |
| Use Item by Name | Equips the item and holds right click for 50 to 60,000 ms: about 200 ms for a pearl, 1800 ms for a potion. |
| Eat Now | Finds any food, eats it and switches back. |
| Equip Armor | Wears the best armour the account carries. |
| Stop on Low Tool Durability | Watches the held tool for the rest of the run and stops the macro at your percentage. Put it before the mining step. |
| Drop Held Item, Drop Item, Drop All Items | See inventory, menus and dialogs. |
Connection and alerts
| Step | What it does |
|---|---|
| Disconnect | Leaves the server. Cancel Auto Reconnect is ticked by default and keeps the account offline until you click Connect or a Reconnect step brings it back. |
| Reconnect | Brings the account back after a Disconnect step, so Disconnect, Wait, Reconnect keeps it away for the time you pick. Without a Disconnect before it, the account leaves and rejoins. Follow it with Wait Until Spawned. |
| Discord Alert | Sends a message to a Discord webhook or, on Tier 3, through your bot. Tokens work. |
| Push Notification | Sends a message to the notification bell and to your phones and computers. A title is optional. Tokens work. See notifications on your phone. |
| Save Replay | Tier 3. Saves a Replay clip of the 30 seconds before and after the step. The account has to be a recording account. See Replay. |
A manual macro that is running when the account drops pauses, and carries on once the account is back online.
Java and Bedrock
Almost every step works on both editions. The exceptions: Auto Fish, Enchant Item, Villager Trade, Place Block, Auto Sign, Mine Area and Buy Tool from the Auction House are Java only, and the dialog steps need 1.21.6 or newer on a Java account. A step an account cannot run is skipped with a line in the console.
Check the troubleshooting guide or return to all guides.