-
Notifications
You must be signed in to change notification settings - Fork 48
Run
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.
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.
Multiple commands can be stacked. The highest command will take over as soon as it has work to do.
Commands after the repeat statement will be repeated in an infinite loop.
Comment lines start with a #
# 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. 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
# 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