Add burner account credentials to use by default
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# Mosfet Minecraft Bot
|
||||
|
||||
A general-purpose Minecraft 1.16 bot written in Python.
|
||||
A general-purpose Minecraft 1.16 bot written in Python that uses an actual
|
||||
Minecraft account to play.
|
||||
|
||||
Mosfet is able to farm wood by cutting trees, farm crops, gather sand, farm
|
||||
netherwart, and trade with villagers to get emeralds. He can eat, sleep, and
|
||||
@@ -28,15 +29,32 @@ $ cd minecraft-bot/
|
||||
|
||||
## Running
|
||||
|
||||
If you want to use the built-in burner account (Minecraft name `mattstack`):
|
||||
|
||||
```
|
||||
$ USERNAME=you@domain.com PASSWORD=supersecret SERVER=example.com ./run_linux.sh
|
||||
$ SERVER=minecraft.example.com ./run_linux.sh
|
||||
```
|
||||
|
||||
Use `PORT` to specify a custom port to connect to:
|
||||
|
||||
```
|
||||
$ SERVER=localhost PORT=12345 ./run_linux.sh
|
||||
```
|
||||
|
||||
If you have your own alt account:
|
||||
|
||||
```
|
||||
$ USERNAME=you@domain.com PASSWORD=supersecret SERVER=minecraft.example.com ./run_linux.sh
|
||||
```
|
||||
|
||||
## Commands
|
||||
|
||||
The command prefix character is the last character of the bot's name. For
|
||||
example, if the bot's name is `mosfet1`, then you would issue commands like
|
||||
`1farm wood` or `1pos`. This lets you run multiple bots on the same server.
|
||||
example, if the bot's name is `mattstack`, then you would issue commands like
|
||||
`kfarm wood` or `kpos`. This lets you run multiple bots on the same server.
|
||||
|
||||
In the following examples, we'll assume the bot's name is `mosfet1`, so commands
|
||||
would be ran like `1farm wood` or `1pos`.
|
||||
|
||||
The exception are the below public commands, they can optionally be prefixed with `!`
|
||||
and all bots will run the command.
|
||||
|
||||
Reference in New Issue
Block a user