Skip to content

A very simple outline of a mineflayer bot for minecraft.

License

Notifications You must be signed in to change notification settings

quervyloll/mineflayer-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mineflayer Bot

This is a very basic bot made using Mineflayer

Setup

First install Node.js >= 18 from nodejs.org then:

npm install mineflayer

Then go to the Config File and configurate the following to fit your needs.

  • Username
    • The email of your microsoft account or the username of an account for an offline/cracked server or locally hosted worlds.
  • Password
    • The password of your microsoft account or the password of an account for an offline/cracked server or locally hosted worlds.
  • Server
    • The ip of the server you want your bot to join. For local hosting, use localhost.
  • Port
    • The port of the server you're attempting to join, the default port is 25565. For locally hosted worlds, change the port to the port that has been given after opening to LAN.
  • Version
    • The version of minecraft the server is running.
  • Auth
    • microsoft or offline
  • Prefix
    • The prefix to the commands for your bot. The default is $.

Running

After setting up the Config File make sure the Index File is in a folder with your Commands Folder and your Config File.

Run the Index File and enjoy!

Support

If you have any questions feel free to dm me on Discord

About

A very simple outline of a mineflayer bot for minecraft.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published