The Bot Challenge

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

Installing on Mac OSX

Install Python

You need to install Python 3.4 or higher.

install Python 3.4 from here.

Install PyCharm

PyCharm is an application that makes it easy to write and run Python on your computer.

Download and install the Community Edition (the free version) of PyCharm from here

Setting up a project

When PyCharm starts it will ask you to start a new Project, call it whatever you want, but make sure you select Python 3.4 from the list of interpreters.

Once you have a project, create a new Python file (File > New).

Installing the botchallenge module

Open the main PyCharm preferences panel (PyCharm > Preferences) and find the sections called 'Project Interpreter'.

There should be an empty list of packages to install, hit the '+' at the bottom to add a new one. Search for 'botchallenge' then click 'Install Package', once's that's done you should be ready to go!

Next Steps

In your new Python file, type in (or copy-paste) the following:

from botchallenge import *

Right-click anywhere on the Python file and click 'Run x' but with the name of the file instead of x.

If it prints "Process finished with exit code 0", congratulations! Everything is installed correctly.

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