Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ynfuien/mineflayerchatbot
Chat bot for Minecraft servers
https://github.com/ynfuien/mineflayerchatbot
bot chatbot minecraft mineflayer
Last synced: 2 months ago
JSON representation
Chat bot for Minecraft servers
- Host: GitHub
- URL: https://github.com/ynfuien/mineflayerchatbot
- Owner: Ynfuien
- License: gpl-3.0
- Created: 2021-12-07T17:15:19.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-05T12:19:32.000Z (8 months ago)
- Last Synced: 2024-06-05T13:59:38.117Z (8 months ago)
- Topics: bot, chatbot, minecraft, mineflayer
- Language: JavaScript
- Homepage:
- Size: 12.5 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Discord](https://img.shields.io/discord/1236019317208776786?style=flat&logo=discord&label=Discord&color=%235d6af2
)](https://discord.gg/kZJhKZ48j8)# MCB - Mineflayer Chat Bot
Minecraft bot written in Javascript using [NodeJs](https://nodejs.org) and [Mineflayer](https://www.npmjs.com/package/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) support1. Full support for `show_text` action, but partial support for `show_entity` and `show_item` actions.
### How to install
1. Download and install [NodeJs](https://nodejs.org), 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 enjoyOnline panel by default should be at http://localhost:3000
# Media
### Overall look
![Overall](https://i.imgur.com/XXnRPJP.gif)### Big tab list on a random server
![Tab list](https://i.imgur.com/ydbsz75.png)### Tab completions
![Tab completions](https://i.imgur.com/5QeWgfU.gif)### Map viewer
![Map viewer](https://i.imgur.com/2HA4hXS.png)### Used projects/assets:
- [ascii-table](https://www.npmjs.com/package/ascii-table)
- [better-sqlite3](https://www.npmjs.com/package/better-sqlite3)
- [chalk](https://www.npmjs.com/package/chalk)
- [express](https://www.npmjs.com/package/express)
- [js-yaml](https://www.npmjs.com/package/js-yaml)
- [mineflayer](https://www.npmjs.com/package/mineflayer)
- [mojangson](https://www.npmjs.com/package/mojangson)
- [nodemon](https://www.npmjs.com/package/nodemon)
- [prismarine-chat](https://www.npmjs.com/package/prismarine-chat)
- [socket.io](https://www.npmjs.com/package/socket.io)
- [yawn-yaml](https://www.npmjs.com/package/yawn-yaml)
- [interact.js](https://interactjs.io)
- [minecraft-font-extractor](https://github.com/Ynfuien/minecraft-font-extractor)
- [GNU Unifont](https://unifoundry.com/unifont/index.html)
- [Font Awesome](https://fontawesome.com)# License
This project uses [GNU GPLv3](https://github.com/Ynfuien/MineflayerChatBot/blob/main/LICENSE) license.