This bot remote controls a normal minecraft account, if you want to play with your bot the easiest way is to just pay for a new mojang account for your bot.
This bot is built using mineflayer
npm install
npm start
Start by copying the .env-template
file to a .env
file
cp .env-template .env
Set values for the environment variables
Name | Description | Type |
---|---|---|
MC_HOST_IP |
IP of the MC server you want to join. | IPV6 |
MC_USERNAME |
Username of the bot's mojang or microsoft account. | String |
MC_PASSWORD |
Password for the bot's mojang or microsoft account. | String |
MC_AUTH_TYPE |
Type to tell mineflayer which auth to use. | mojang | microsoft |
ACTION_PHRASE |
Word or phrase that the bot should choose as a delimiter. The bot will parse the rest of that chat message as a command and respond appropriately. | String |
You can trigger a command by adding the ACTION_PHRASE
to your minecraft chat message. Any text typed after your ACTION_PHRASE
in the same minecraft chat message will be parsed as a command, and a substring match is used to trigger the proper response. The Command listed in these tables are just the substring match, if you add extra words to be more conversational you'll still trigger the proper response.
Command | Description |
---|---|
follow me |
Bot follows the user who made the command. |
unfollow me , leave me alone , go away |
Stops bot from following the user who made the command. |
go home , your home , your house |
Bot goes to its house coordinates. |
spa |
Bot goes to the spa coordinates. |
spa pool |
Bot goes to the spa pool coordinates. |
roller coaster |
Bot goes to the roller coaster coordinates. |
Command | Description |
---|---|
to bed , to sleep |
Bot goes to bed, you might need to run this one twice for it to work lol. |
spin |
Bot does a terrible job at spinning. |
eat |
Bot eats until full or food runs out. The bot will also eat automatically if its health and food are low enough. |
set chat mode |
Lets you set chat mode for bot. You must add one of the chat mode types listed in Chat Modes as the last word in your command. If you don't set a command in that list it will set it to Default. |
- Bot says a random quote if you use the action phrase but your command doesn't match any of the existing commands.
- Bot goes into Eliza mode.
- The user who sets the bot in this mode can talk to the bot without using the action phrase, the bot will respond to all chats this user sends. This currently only works for one user at a time.
- Bot responds as Eliza if you other users say the action phrase but the command doesn't match any of the existing commands.
- site: https://www.masswerk.at/elizabot/
- npm: https://www.npmjs.com/package/elizabot
Command | Description |
---|---|
stats |
Bot says what's in its inventory, its health and food levels, and the chat mode. |
inventory |
Bot says what's in its inventory. |
health |
Bot says its health and food levels. |
Command | Description |
---|---|
cat fact |
Bot says a random cat fact! 😸 |
a fact |
Bot says a random fact (we only have cat facts for now). |
dad joke |
Bot says a dad joke. |
chuck norris joke |
Bot says a Chuck Norris joke. |
a joke |
Bot says a random joke joke. |
a quote |
Bot says a random quote. |
- site: https://catfact.ninja/
- endpoint:
https://catfact.ninja/fact
- site: https://icanhazdadjoke.com/
- endpoint:
https://icanhazdadjoke.com/
- site: https://api.chucknorris.io/
- endpoint:
https://api.chucknorris.io/jokes/random
- site: http://lebowski.me/api/quotes/random
- endpoint:
http://lebowski.me/api/quotes/random
- site: https://api.tronalddump.io/
- endpoint:
https://api.tronalddump.io/random/quote
- site: http://sunnyquotes.net/api/
- endpoint:
http://sunnyquotes.net/q.php?random
- site: https://seinfeld-quotes.herokuapp.com/
- endpoint:
https://seinfeld-quotes.herokuapp.com/random
- site: https://nicolas-cage-quotes.herokuapp.com/quotes
- endpoint:
https://nicolas-cage-quotes.herokuapp.com/quotes
- description: A set of inspirational quotes
- site: https://type.fit/api/quotes
- endpoint:
https://type.fit/api/quotes