Skip to content

brainTrain/mind-the-bot

Repository files navigation

Minecraft Botz

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

Basic starting instructions

npm install

npm start

Setting up environment

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

Commands

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.

Movement

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.

Actions

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.

Chat Modes

Default
  • Bot says a random quote if you use the action phrase but your command doesn't match any of the existing commands.
Eliza
  • 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

Stats

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.

Quotes/Jokes/Facts

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.

APIs

Facts

Cat Facts

Jokes

Dad Jokes
Chuck Norris Jokes

Quotes

Big Lebowskie Quotes
Trump Quotes
Always Sunny Quotes
Seinfeld Quotes
Nicolas Cage Quotes
Type Fit Quotes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published