[{"data":1,"prerenderedAt":735},["ShallowReactive",2],{"docs-navigation":3,"discord-invite":321,"\u002Fdocs\u002Fuse-cases\u002Fpvp\u002F":375,"\u002Fdocs\u002Fuse-cases\u002Fpvp\u002F-surround":730},[4],{"title":5,"path":6,"stem":7,"children":8},"Docs","\u002Fdocs","docs",[9,13,45,170,285],{"title":10,"path":6,"stem":11,"icon":12},"Documentation","docs\u002Findex","i-lucide-house",{"title":14,"icon":15,"path":16,"stem":17,"children":18,"page":44},"Getting Started","i-lucide-rocket","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[19,24,29,34,39],{"title":20,"path":21,"stem":22,"icon":23},"Client access","\u002Fdocs\u002Fgetting-started\u002Fclient-access","docs\u002F1.getting-started\u002F1.client-access","i-lucide-check",{"title":25,"path":26,"stem":27,"icon":28},"Add a server","\u002Fdocs\u002Fgetting-started\u002Fadd-a-server","docs\u002F1.getting-started\u002F2.add-a-server","i-lucide-globe",{"title":30,"path":31,"stem":32,"icon":33},"Add your accounts","\u002Fdocs\u002Fgetting-started\u002Fadd-your-accounts","docs\u002F1.getting-started\u002F3.add-your-accounts","i-lucide-user-plus",{"title":35,"path":36,"stem":37,"icon":38},"Connect to a server","\u002Fdocs\u002Fgetting-started\u002Fconnect-to-a-server","docs\u002F1.getting-started\u002F4.connect-to-a-server","i-lucide-plug",{"title":40,"path":41,"stem":42,"icon":43},"Fix connection problems","\u002Fdocs\u002Fgetting-started\u002Ffix-connection-problems","docs\u002F1.getting-started\u002F5.fix-connection-problems","i-lucide-wrench",false,{"title":46,"icon":47,"path":48,"stem":49,"children":50,"page":44},"Features","i-lucide-book-open","\u002Fdocs\u002Ffeatures","docs\u002F2.features",[51,56,61,66,71,76,81,86,91,96,101,106,111,116,121,126,131,136,141,146,151,156,161,166],{"title":52,"path":53,"stem":54,"icon":55},"Anti-AFK","\u002Fdocs\u002Ffeatures\u002Fanti-afk","docs\u002F2.features\u002F01.anti-afk","i-lucide-activity",{"title":57,"path":58,"stem":59,"icon":60},"Chat and spam","\u002Fdocs\u002Ffeatures\u002Fchat-and-spam","docs\u002F2.features\u002F02.chat-and-spam","i-lucide-message-square",{"title":62,"path":63,"stem":64,"icon":65},"Movement","\u002Fdocs\u002Ffeatures\u002Fmovement","docs\u002F2.features\u002F03.movement","i-lucide-move",{"title":67,"path":68,"stem":69,"icon":70},"Pathfinding and waypoints","\u002Fdocs\u002Ffeatures\u002Fpathfinding","docs\u002F2.features\u002F04.pathfinding","i-lucide-footprints",{"title":72,"path":73,"stem":74,"icon":75},"Auto eat","\u002Fdocs\u002Ffeatures\u002Fauto-eat","docs\u002F2.features\u002F05.auto-eat","i-lucide-utensils",{"title":77,"path":78,"stem":79,"icon":80},"Inventory","\u002Fdocs\u002Ffeatures\u002Finventory","docs\u002F2.features\u002F06.inventory","i-lucide-box",{"title":82,"path":83,"stem":84,"icon":85},"POV","\u002Fdocs\u002Ffeatures\u002Fpov","docs\u002F2.features\u002F07.pov","i-lucide-eye",{"title":87,"path":88,"stem":89,"icon":90},"Save builds as schematics","\u002Fdocs\u002Ffeatures\u002Fschematics","docs\u002F2.features\u002F08.schematics","i-lucide-blocks",{"title":92,"path":93,"stem":94,"icon":95},"Proxies","\u002Fdocs\u002Ffeatures\u002Fproxies","docs\u002F2.features\u002F09.proxies","i-lucide-wifi",{"title":97,"path":98,"stem":99,"icon":100},"Macros","\u002Fdocs\u002Ffeatures\u002Fmacros","docs\u002F2.features\u002F10.macros","i-lucide-zap",{"title":102,"path":103,"stem":104,"icon":105},"Running macros","\u002Fdocs\u002Ffeatures\u002Frunning-macros","docs\u002F2.features\u002F11.running-macros","i-lucide-play",{"title":107,"path":108,"stem":109,"icon":110},"Macro variables","\u002Fdocs\u002Ffeatures\u002Fmacro-variables","docs\u002F2.features\u002F12.macro-variables","i-lucide-variable",{"title":112,"path":113,"stem":114,"icon":115},"Macro library and sharing","\u002Fdocs\u002Ffeatures\u002Fmacro-library","docs\u002F2.features\u002F13.macro-library","i-lucide-library",{"title":117,"path":118,"stem":119,"icon":120},"Discord webhooks","\u002Fdocs\u002Ffeatures\u002Fdiscord-webhooks","docs\u002F2.features\u002F14.discord-webhooks","i-lucide-webhook",{"title":122,"path":123,"stem":124,"icon":125},"Push notifications","\u002Fdocs\u002Ffeatures\u002Fpush-notifications","docs\u002F2.features\u002F15.push-notifications","i-lucide-bell-ring",{"title":127,"path":128,"stem":129,"icon":130},"Server profile settings","\u002Fdocs\u002Ffeatures\u002Fserver-settings","docs\u002F2.features\u002F16.server-settings","i-lucide-settings",{"title":132,"path":133,"stem":134,"icon":135},"Play from your Minecraft client","\u002Fdocs\u002Ffeatures\u002Fplay-from-minecraft","docs\u002F2.features\u002F17.play-from-minecraft","i-lucide-gamepad-2",{"title":137,"path":138,"stem":139,"icon":140},"Waypoints","\u002Fdocs\u002Ffeatures\u002Fwaypoints","docs\u002F2.features\u002F18.waypoints","i-lucide-map-pin",{"title":142,"path":143,"stem":144,"icon":145},"Villager trading","\u002Fdocs\u002Ffeatures\u002Fvillager-trading","docs\u002F2.features\u002F19.villager-trading","i-lucide-arrow-right-left",{"title":147,"path":148,"stem":149,"icon":150},"Map, tracers and zoom","\u002Fdocs\u002Ffeatures\u002Fmap-tracers-and-zoom","docs\u002F2.features\u002F20.map-tracers-and-zoom","i-lucide-map",{"title":152,"path":153,"stem":154,"icon":155},"Skins and capes","\u002Fdocs\u002Ffeatures\u002Fskins-and-capes","docs\u002F2.features\u002F21.skins-and-capes","i-lucide-shirt",{"title":157,"path":158,"stem":159,"icon":160},"Streamer mode","\u002Fdocs\u002Ffeatures\u002Fstreamer-mode","docs\u002F2.features\u002F22.streamer-mode","i-lucide-video",{"title":162,"path":163,"stem":164,"icon":165},"Ready-made server setups","\u002Fdocs\u002Ffeatures\u002Fready-made-setups","docs\u002F2.features\u002F23.ready-made-setups","i-lucide-wand-sparkles",{"title":167,"path":168,"stem":169,"icon":150},"Minimap","\u002Fdocs\u002Ffeatures\u002Fminimap","docs\u002F2.features\u002F24.minimap",{"title":171,"icon":172,"path":173,"stem":174,"children":175,"page":44},"FAQ","i-lucide-help-circle","\u002Fdocs\u002Ffaq","docs\u002F3.faq",[176,181,186,191,196,201,206,211,216,221,226,230,235,240,245,250,255,260,265,270,275,280],{"title":177,"path":178,"stem":179,"icon":180},"VPN blocks","\u002Fdocs\u002Ffaq\u002Fvpn-blocks","docs\u002F3.faq\u002F01.vpn-blocks","i-lucide-shield-alert",{"title":182,"path":183,"stem":184,"icon":185},"What are bot physics?","\u002Fdocs\u002Ffaq\u002Fwhat-are-bot-physics","docs\u002F3.faq\u002F02.what-are-bot-physics","i-lucide-atom",{"title":187,"path":188,"stem":189,"icon":190},"Can I AFK with my computer turned off?","\u002Fdocs\u002Ffaq\u002Fafk-with-computer-off","docs\u002F3.faq\u002F03.afk-with-computer-off","i-lucide-power-off",{"title":192,"path":193,"stem":194,"icon":195},"How do I AFK in singleplayer?","\u002Fdocs\u002Ffaq\u002Fafk-in-singleplayer","docs\u002F3.faq\u002F04.afk-in-singleplayer","i-lucide-user",{"title":197,"path":198,"stem":199,"icon":200},"How do I get shards on DonutSMP?","\u002Fdocs\u002Ffaq\u002Fshards-on-donutsmp","docs\u002F3.faq\u002F05.shards-on-donutsmp","i-lucide-gem",{"title":202,"path":203,"stem":204,"icon":205},"What are the best settings?","\u002Fdocs\u002Ffaq\u002Fbest-settings","docs\u002F3.faq\u002F06.best-settings","i-lucide-sliders",{"title":207,"path":208,"stem":209,"icon":210},"How do I manage my plan?","\u002Fdocs\u002Ffaq\u002Fmanage-my-plan","docs\u002F3.faq\u002F07.manage-my-plan","i-lucide-credit-card",{"title":212,"path":213,"stem":214,"icon":215},"Is AFK Console Client safe?","\u002Fdocs\u002Ffaq\u002Fis-afk-console-client-safe","docs\u002F3.faq\u002F08.is-afk-console-client-safe","i-lucide-shield-check",{"title":217,"path":218,"stem":219,"icon":220},"Does MinecraftAFK support Bedrock?","\u002Fdocs\u002Ffaq\u002Fbedrock-support","docs\u002F3.faq\u002F09.bedrock-support","i-lucide-square-stack",{"title":222,"path":223,"stem":224,"icon":225},"Link your Discord account","\u002Fdocs\u002Ffaq\u002Flink-discord","docs\u002F3.faq\u002F10.link-discord","i-lucide-link",{"title":227,"path":228,"stem":229,"icon":215},"Minehut captcha bypass","\u002Fdocs\u002Ffaq\u002Fminehut-captcha-bypass","docs\u002F3.faq\u002F11.minehut-captcha-bypass",{"title":231,"path":232,"stem":233,"icon":234},"How do I get stars on HugoSMP?","\u002Fdocs\u002Ffaq\u002Fstars-on-hugosmp","docs\u002F3.faq\u002F12.stars-on-hugosmp","i-lucide-star",{"title":236,"path":237,"stem":238,"icon":239},"Can I get banned for only AFKing?","\u002Fdocs\u002Ffaq\u002Fafk-only-bans","docs\u002F3.faq\u002F13.afk-only-bans","i-lucide-gavel",{"title":241,"path":242,"stem":243,"icon":244},"Paying with SEPA Direct Debit","\u002Fdocs\u002Ffaq\u002Fsepa-direct-debit","docs\u002F3.faq\u002F14.sepa-direct-debit","i-lucide-landmark",{"title":246,"path":247,"stem":248,"icon":249},"Which Minecraft versions are supported?","\u002Fdocs\u002Ffaq\u002Fsupported-versions","docs\u002F3.faq\u002F15.supported-versions","i-lucide-history",{"title":251,"path":252,"stem":253,"icon":254},"Local client or web client?","\u002Fdocs\u002Ffaq\u002Flocal-vs-web-client","docs\u002F3.faq\u002F16.local-vs-web-client","i-lucide-monitor",{"title":256,"path":257,"stem":258,"icon":259},"What does each plan include?","\u002Fdocs\u002Ffaq\u002Fplans-and-limits","docs\u002F3.faq\u002F17.plans-and-limits","i-lucide-layers",{"title":261,"path":262,"stem":263,"icon":264},"How do payments and renewals work?","\u002Fdocs\u002Ffaq\u002Fpayments-and-renewals","docs\u002F3.faq\u002F18.payments-and-renewals","i-lucide-receipt",{"title":266,"path":267,"stem":268,"icon":269},"How do gift codes work?","\u002Fdocs\u002Ffaq\u002Fgifts","docs\u002F3.faq\u002F19.gifts","i-lucide-gift",{"title":271,"path":272,"stem":273,"icon":274},"How does the referral program work?","\u002Fdocs\u002Ffaq\u002Freferral-program","docs\u002F3.faq\u002F20.referral-program","i-lucide-handshake",{"title":276,"path":277,"stem":278,"icon":279},"How do I change my account settings?","\u002Fdocs\u002Ffaq\u002Faccount-settings","docs\u002F3.faq\u002F21.account-settings","i-lucide-user-cog",{"title":281,"path":282,"stem":283,"icon":284},"How do I get support?","\u002Fdocs\u002Ffaq\u002Fget-support","docs\u002F3.faq\u002F22.get-support","i-lucide-headset",{"title":286,"icon":287,"path":288,"stem":289,"children":290,"page":44},"Use cases","i-lucide-lightbulb","\u002Fdocs\u002Fuse-cases","docs\u002F4.use-cases",[291,296,301,306,311,316],{"title":292,"path":293,"stem":294,"icon":295},"Mob grinding","\u002Fdocs\u002Fuse-cases\u002Fmob-grinding","docs\u002F4.use-cases\u002F1.mob-grinding","i-lucide-sword",{"title":297,"path":298,"stem":299,"icon":300},"Auto sell","\u002Fdocs\u002Fuse-cases\u002Fauto-sell","docs\u002F4.use-cases\u002F2.auto-sell","i-lucide-coins",{"title":302,"path":303,"stem":304,"icon":305},"Spawner protection","\u002Fdocs\u002Fuse-cases\u002Fspawner-protection","docs\u002F4.use-cases\u002F3.spawner-protection","i-lucide-shield-x",{"title":307,"path":308,"stem":309,"icon":310},"PvP","\u002Fdocs\u002Fuse-cases\u002Fpvp","docs\u002F4.use-cases\u002F4.pvp","i-lucide-swords",{"title":312,"path":313,"stem":314,"icon":315},"Mining","\u002Fdocs\u002Fuse-cases\u002Fmining","docs\u002F4.use-cases\u002F5.mining","i-lucide-pickaxe",{"title":317,"path":318,"stem":319,"icon":320},"AFK fishing","\u002Fdocs\u002Fuse-cases\u002Fafk-fishing","docs\u002F4.use-cases\u002F6.afk-fishing","i-lucide-fish",{"guild":322,"approximate_member_count":373,"approximate_presence_count":374},{"id":323,"name":324,"splash":325,"banner":326,"description":327,"icon":328,"features":329,"verification_level":368,"vanity_url_code":369,"nsfw_level":370,"nsfw":44,"premium_subscription_count":371,"premium_tier":372},"1001858472234725396","AFK Console Client","50f7271c361cc129a2dcd341a56d0d80","a9802d55c61087c76f100d75fdbf7ad2","AFK 24\u002F7 from any device including your phone!","1d7903bbcf179a16da420719114adfa8",[330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367],"CONVERSATIONS_EXTRACTION_PROCESSING","DISCOVERABLE","GUILD_TAGS","PREVIEW_ENABLED","AUDIO_BITRATE_256_KBPS","COMMUNITY","ANIMATED_BANNER","VIDEO_QUALITY_720_60FPS","TIERLESS_BOOSTING_SYSTEM_MESSAGE","AUDIO_BITRATE_384_KBPS","TIERLESS_BOOSTING","REPORT_TO_MOD_SURVEY","AGE_VERIFICATION_LARGE_GUILD","INVITE_SPLASH","ROLE_ICONS","AUDIO_BITRATE_128_KBPS","BANNER","ANIMATED_ICON","AUTO_MODERATION","MAX_FILE_SIZE_100_MB","STAGE_CHANNEL_VIEWERS_50","CREATOR_ACCEPTED_NEW_TERMS","CONSIDERED_EXTERNALLY_DISCOVERABLE","CHANNEL_ICON_EMOJIS_GENERATED","ENABLED_DISCOVERABLE_BEFORE","VIDEO_BITRATE_ENHANCED","MAX_FILE_SIZE_50_MB","BYPASS_SLOWMODE_PERMISSION_MIGRATION_COMPLETE","GUILD_WEB_PAGE_VANITY_URL","NEWS","PIN_PERMISSION_MIGRATION_COMPLETE","SOUNDBOARD","GUILD_ONBOARDING_EVER_ENABLED","VIDEO_QUALITY_1080_60FPS","ENHANCED_ROLE_COLORS","STAGE_CHANNEL_VIEWERS_300","STAGE_CHANNEL_VIEWERS_150","VANITY_URL",2,"afkcc",0,20,3,30277,5241,{"id":376,"title":307,"body":377,"description":721,"extension":722,"head":723,"links":723,"meta":724,"navigation":725,"path":308,"schemaOrg":723,"seo":726,"sitemap":728,"stem":309,"__hash__":729},"docs\u002Fdocs\u002F4.use-cases\u002F4.pvp.md",{"type":378,"value":379,"toc":714},"minimark",[380,389,394,447,451,609,612,616,671,675,698],[381,382,383,384,388],"p",{},"PvP with bots is an army of your accounts standing guard, at your base, at a door or around you, ready for any player you haven't listed who comes close. Each bot turns to the nearest player who isn't one of your accounts, hits them with its sword for as long as you set, and then lets go. For mobs rather than players, see ",[385,386,292],"a",{"href":387},"\u002Fdocs\u002Fuse-cases\u002Fmob-grinding\u002F",".",[390,391,393],"h2",{"id":392},"what-you-need","What you need",[395,396,397,412,417,426,432,442],"ul",{},[398,399,400,407,408,411],"li",{},[401,402,403,388],"strong",{},[385,404,406],{"href":405},"\u002Fweb\u002F","Tier 3"," The ",[401,409,410],{},"Player appears"," event, the held click and the loops all need it.",[398,413,414],{},[401,415,416],{},"Java or Bedrock accounts.",[398,418,419,422,423],{},[401,420,421],{},"Physics on."," The held click runs on the bot's physics, so with physics off it does nothing. See ",[385,424,182],{"href":425},"\u002Fdocs\u002Ffaq\u002Fwhat-are-bot-physics\u002F",[398,427,428,431],{},[401,429,430],{},"Each bot where it should stand guard."," The bots turn but never walk, and a hit reaches 3 blocks, a survival player's reach, so put them where an intruder has to pass close, such as a doorway.",[398,433,434,437,438,388],{},[401,435,436],{},"A sword in one of the nine hotbar slots",", armour on, and food in the inventory for ",[385,439,441],{"href":440},"\u002Fdocs\u002Ffeatures\u002Fauto-eat\u002F","auto eat",[398,443,444],{},[401,445,446],{},"A server that allows PvP where they stand.",[390,448,450],{"id":449},"build-the-macro","Build the macro",[452,453,454,465,478,501,522,537,551,579,599],"ol",{},[398,455,456,457,461,462,464],{},"Visit ",[385,458,460],{"href":459},"\u002Fdashboard\u002Fservers\u002F","minecraftafk.com\u002Fdashboard\u002Fservers\u002F",", open the server profile, and open its ",[401,463,97],{}," page.",[398,466,467,468,471,472,474,475,388],{},"Click ",[401,469,470],{},"Create macro",", click the event card, and pick ",[401,473,410],{}," under ",[401,476,477],{},"Runs when",[398,479,480,481,484,485,488,489,492,493,496,497,500],{},"Leave ",[401,482,483],{},"Players"," empty, for anyone, and set ",[401,486,487],{},"Only within (blocks)"," to 4. Put your friends under ",[401,490,491],{},"Never fire for these players",", and leave ",[401,494,495],{},"Ignore my own accounts"," ticked so your bots don't set each other off. Untick ",[401,498,499],{},"Smart trigger",": while it's ticked, the event doesn't fire with 5 or more other players in sight, so a group that big coming at once would not set it off.",[398,502,467,503,506,507,510,511,514,515,518,519,388],{},[401,504,505],{},"Add step"," and pick ",[401,508,509],{},"Hold item",". Under ",[401,512,513],{},"Item source"," pick ",[401,516,517],{},"Specific item",", then the sword under ",[401,520,521],{},"Item name",[398,523,524,525,528,529,532,533,536],{},"Add ",[401,526,527],{},"Hold left click"," and untick ",[401,530,531],{},"Break blocks",", so the bot hits and never digs. Under ",[401,534,535],{},"Step name"," you can call it Fight.",[398,538,524,539,542,543,546,547,550],{},[401,540,541],{},"Repeat",", leave it on ",[401,544,545],{},"A set number of times",", and set ",[401,548,549],{},"How many times"," to 60, about a minute of fighting once the waits below are set.",[398,552,553,554,506,557,510,560,514,563,566,567,570,571,574,575,578],{},"With the plus button inside the Repeat, add ",[401,555,556],{},"For each",[401,558,559],{},"Entity nearby",[401,561,562],{},"Match",[401,564,565],{},"Any player",", set ",[401,568,569],{},"Within (blocks)"," to 4, and leave ",[401,572,573],{},"Skip my own accounts"," ticked. Switch on ",[401,576,577],{},"Stop after at most"," and leave it at 1, so it only ever picks the nearest player.",[398,580,581,582,585,586,590,591,594,595,598],{},"Inside the For each, add ",[401,583,584],{},"Look at variable",". It comes filled in with ",[587,588,589],"code",{},"target",", the For each's variable. Set its ",[401,592,593],{},"Wait before this step"," to 0, and the For each's ",[401,596,597],{},"Delay between loops"," to 0 too, so each lap takes about a second, the Repeat's own delay.",[398,600,601,602,605,606,608],{},"After the End repeat, add ",[401,603,604],{},"Release left click",", then click ",[401,607,470],{}," at the top right.",[381,610,611],{},"A player who comes within 4 blocks starts it. The held button hits whoever is under the crosshair, and every lap turns the bot back onto the nearest player, so it keeps up as they move. Every bot the macro runs on does this for itself, so each one fights whoever comes close to it.",[390,613,615],{"id":614},"keep-it-safe","Keep it safe",[395,617,618,624,635,665],{},[398,619,620,623],{},[401,621,622],{},"Release when the macro stops"," is ticked on Hold left click to begin with, so anything that stops the macro lets go of the button, even in the middle of a fight.",[398,625,626,627,630,631,634],{},"Add a ",[401,628,629],{},"Death"," stop condition, with ",[401,632,633],{},"Add stop condition"," on the dashed frame round the flow. A bot that dies comes back still holding the button, with the loop turning it to whoever is nearest where it respawned. The stop condition stands it down instead.",[398,636,637,638,641,642,474,645,648,649,652,653,656,657,660,661,664],{},"To leave before it dies, add an ",[401,639,640],{},"If"," inside the Repeat, ahead of the For each, and pick ",[401,643,644],{},"Health is low",[401,646,647],{},"Checks whether",". ",[401,650,651],{},"Below"," starts at 10, half the bar. Put a ",[401,654,655],{},"Panic logout"," on its ",[401,658,659],{},"Yes"," branch: it stops the macro on that account and keeps the account off until you press ",[401,662,663],{},"Reconnect"," on the Macros page.",[398,666,524,667,670],{},[401,668,669],{},"Enable auto eat"," to the macro too, so the bot eats from the food it carries when it gets hungry.",[390,672,674],{"id":673},"good-to-know","Good to know",[395,676,677,680,685,688,695],{},[398,678,679],{},"On Java 1.9 and newer, a bot waits for its sword to recharge before each hit, the way a player landing full-strength hits does, so it hits about every 0.6 seconds. On older versions, which have no recharge, and on Bedrock accounts, it hits about once a second.",[398,681,682,684],{},[401,683,573],{}," leaves out every account on your Accounts page, not your friends, and not an account of yours you haven't added. Any of them within 4 blocks during a fight can be the nearest player, and gets hit.",[398,686,687],{},"The held button hits whatever is under the crosshair, so one of your bots that steps into the way takes the hit.",[398,689,690,691,694],{},"The macro aims with a For each rather than ",[401,692,693],{},"Look at entity"," because Look at entity can't skip your own accounts. In a group, the nearest player is usually one of your bots.",[398,696,697],{},"The button pauses while a chest or menu is open on the bot, and while it eats.",[381,699,700,703,704,708,709,713],{},[385,701,556],{"href":702},"\u002Fdocs\u002Ffeatures\u002Fmacros\u002F#for-each"," and ",[385,705,707],{"href":706},"\u002Fdocs\u002Ffeatures\u002Fmacros\u002F#holding-a-button","Holding a button"," in the macros guide, and ",[385,710,712],{"href":711},"\u002Fdocs\u002Ffeatures\u002Frunning-macros\u002F#stop-conditions","Stop conditions",", are worth reading next.",{"title":715,"searchDepth":368,"depth":368,"links":716},"",[717,718,719,720],{"id":392,"depth":368,"text":393},{"id":449,"depth":368,"text":450},{"id":614,"depth":368,"text":615},{"id":673,"depth":368,"text":674},"Have your Minecraft bots guard you or your base: when a player you haven't listed comes close, each bot turns to the nearest one and fights.","md",null,{},{"icon":310},{"title":727,"description":721},"Minecraft PvP bots that guard your base",{"loc":308},"RRwpREK6j-Imwn7rHaZprjJx8sP5lduJ95_qIgdQark",[731,733],{"title":302,"path":303,"stem":304,"description":732,"icon":305,"children":-1},"Have a Minecraft bot mine your spawners and log out the moment a stranger comes into view, with the official Spawner protect macro for DonutSMP and HugoSMP or one you build yourself.",{"title":312,"path":313,"stem":314,"description":734,"icon":315,"children":-1},"Have a Minecraft bot dig straight down on its own: it looks at its feet, holds left click and drops into each block it breaks, until a stop condition calls it off.",1793484079845]