You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tanner Collin
f328f3443a
|
4 years ago | |
---|---|---|
old | 4 years ago | |
protocol | 4 years ago | |
.gitignore | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
blocks.py | 4 years ago | |
bot.py | 4 years ago | |
data.py | 4 years ago | |
download_mcdata.sh | 4 years ago | |
game.py | 4 years ago | |
items.py | 4 years ago | |
jobs.py | 4 years ago | |
main.py | 4 years ago | |
monkey_patch.py | 4 years ago | |
path.py | 4 years ago | |
requirements.txt | 4 years ago | |
test_pycraft.py | 4 years ago | |
utils.py | 4 years ago |
README.md
Minecraft Bot
Setup
Assuming Debian / Ubuntu based distro:
$ sudo apt update
$ sudo apt install build-essential python3 python3-dev python3-pip python-virtualenv python3-virtualenv
$ virtualenv -p python3 env
$ source env/bin/activate
(env) $ pip install -r requirements.txt
Always make sure the virtual environment is running (env)
.
Running
(env) $ USERNAME=you@domain.com PASSWORD=supersecret SERVER=example.com python main.py