Skip to content

Ynfuien/MineflayerChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord

MCB - Mineflayer Chat Bot

Minecraft bot written in Javascript using NodeJs and Mineflayer. It was created mainly to help with server and plugin development, since it often requires another player in the game. It's mostly of use when dealing with the chat stuff (who would have thought), and other things requiring a non moving puppet. Also, well, it could be great just as an AFK bot.

! Using bot on public servers will probably get you banned. You have been warned !

Description

Features:

  • Connecting to Minecraft servers (I know, WOW)
  • Support for 1.20 - 1.20.4
  • Bot commands
    • Stopping, starting and restarting bot
    • Editing config on runtime
    • Left and right clicking inventory slots
    • Switching and using hotbar slots
  • Ignoring chat messages by RegEx patterns
  • Chat logs in SQLite3 database
  • Ability to execute commands on join
  • Auto rejoin function with custom timeout
  • Online panel with
    • vanilla look
    • chat - supporting hover [1], click and insertion events
    • commands - with tab completions and history (arrow up)
    • tab list
    • scoreboard (sidebar)
    • action bar
    • map viewer (filled map item)
    • and without mobile (phone) support

1. Full support for show_text action, but partial support for show_entity and show_item actions.

How to install

  1. Download and install NodeJs, if you don't have it
  2. Download source code or clone the git repository
  3. If needed, unpack the archive
  4. Run npm install in a console in the project directory
  5. Copy config.default.yml, rename it to config.yml and edit for your preferences
  6. Run start.bat and enjoy

Online panel by default should be at http://localhost:3000

Media

Overall look

Overall

Big tab list on a random server

Tab list

Tab completions

Tab completions

Map viewer

Map viewer

Used projects/assets:

License

This project uses GNU GPLv3 license.