The Bot Challenge

Remove the boring bits of Minecraft with your own Python code.

Installing on Windows

You'll need to download and install Python (if you don't have it already) then install the botchallenge module.

Python versions

If you already have Python installed, check what version it is. To check the version, open IDLE and the first thing it says is Python then the version number. If it's less than 3.4 then you'll need to install the new version.

install Python 3.4 from here.

Installing the botchallenge module

Open the Command Prompt, you can do using the search box in the Start Menu and searching for 'cmd' then clicking on either 'cmd.exe' or 'Command Prompt'.

When it's open type the following:

python -m pip install botchallenge

Next steps

As part of installing Python, you should have The IDLE Python editor installed. Open it up (you may need to search for it), create a new file (File > New) and save it as mybot.py (you can call it what you like as long as it has .py on the end). Then type in (or copy-paste) the following:

from botchallenge import *

The go to Run > Run Module to run it (or hit F5).

If it prints nothing, congratulations! Everything is installed correctly.

If it shows an error, then there might have been a problem installing the modules or you might have more than one version of Python installed and you're using the wrong one, check that IDLE says Python 3.4 when it starts up.

If it's working, connect to the server and get started.