Skip to content
Michael Zangl edited this page Dec 7, 2015 · 4 revisions

Run the files using

/minebot run <filename>
/minebuild load <filename>

Both commands will do the same. They just use a different default directory for relative file names.

Syntax

Simply write a plain text file. Put one minebot command in each line. The commands are entered in the cnat line, so you can also mix in server commands or even chat messages.

Stack

Multiple commands can be stacked. The highest command will take over as soon as it has work to do.

Repeat

Commands after the repeat statement will be repeated in an infinite loop.

Comments

Comment lines start with a #

Examples

Simple strip mining

# Dig a 1x2 tunnel. Whenever you find ores, mine them. This is a good strip mining script on a orebfuscated server.
repeat:
stack:
/minebot mine nearby
/minebot tunnel branches left
stack end

Plant and sell

# Plant. Sell whenever your inventory is full
repeat:
stack:
/minebot stop on fullinv
/minebot plant
stack end

# Adjust this to whatever your server requires.
# You can also add a /minebot craft ... or a /minebot store
/sell all

Strip mining that brings you back ores.

# Mine and bring the resulting ores home. Then mine again.
repeat:
# Just in case we died
/minebot respawn

# Store the stuff
/home storehouse
/minebot pause 7
/minebot store
# Get some carrots
# Add more tools and torches as you wish
/minebot get [{slotIndex:0,amount:64,itemId:391,damageValue:-1}]

/home farmworld
/minebot pause 7

stack:
/minebot stop after 300
/minebot stop on fullinv
/minebot stop on death
/minebot mine
stack end
Clone this wiki locally