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.
24 lines
489 B
24 lines
489 B
# 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 |
|
|
|
$ bash download_mcdata.sh |
|
$ 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 |
|
``` |
|
|
|
|