Talking to the bot
You talk to the bot in the game's chat, in your own words. It listens to one player only: its owner.
Who it listens to
The owner is the player named in the OWNER_USERNAME setting. Chat from anyone else is ignored.
You can write in public chat or whisper to it. It answers on the channel you used. You can start a message with its name, like MinecraftGPT, stop, but you don't have to.
Words it answers at once
These are handled in code, without the AI model. They work instantly, and they keep working when the model can't be reached or the month's spending cap is used up.
| You say | It does |
|---|---|
| stop | Stops what it's doing and drops everything waiting. "halt" and "freeze" work too. |
| come | Walks to you. Also "come here", "come back". |
| follow me | Follows you until you say stop. |
| status | Says what it's doing right now. Also "what are you doing?". |
| where are you? | Says where it is and how far from you. |
| come to 505 67 -1085 | Walks to those coordinates. |
| what did you do today? | Reads you its diary for the day. |
| what's your plan? | Tells you its plan for the day. |
| what's your job? | Says which job it has. |
| you're off duty | Ends its job. |
| how much have you spent? | Says what the AI model has cost this month, against your cap. |
When it asks you a question, a plain "yes" or "no" answers it.
Everything else
Any other message goes to the AI model, which picks one of the bot's commands and fills in the details. So you can say what you want the way you would to another player:
- gather 20 logs
- put the cobblestone in the chest
- be my guard
- where are my diamonds?
The command reference lists everything it can do.
Your orders and its own work
- Calling it to you ("come", "follow me") cuts in on whatever it's doing. The work it left resumes afterwards with what was still to do.
- Things that keep it alive don't wait for anyone: backing away from a creeper, swimming up for air, fighting back, eating. It goes back to its task when the danger has passed.
- "stop" ends the task for good.
Its own life
When it joins the game it greets you and waits 30 seconds for an order. With none, it starts living its own life: it works toward its next milestone, and at night it goes to its shelter.
- stay with me turns its own life off. It then does only what you ask.
- go live your life turns it back on.
On a server that doesn't allow bots to act on their own, set SERVER_AUTOMATION=forbidden. It then never starts its own life or a job, and does only what you ask. See Getting started.