By connecting to any minecraft server, both offline and online mode, it enables you to send commands and receive text messages in a fast and easy way without having to open the heavyweight Minecraft game.
- Use browser to login minecraft server both online-mode and offline-mode.
- Chat with other player and send commands to the server like in minecraft.
- Receive messages from server with text coloring!
- Make bot auto respawn when bot dead.
- Use database to cache bot login session and use it to login before session expired
- Display event message, like weather change, attacked by monster...
- Display bot state, like health, hunger, armor, and xp bar.
- Display server state, like online player, scoreboard...
- Can write a script to control bot.
git clone https://github.com/WooLNinesun/MinecraftChat.git
Copy .env.example
to .env
and set environment variable in the file.
npm install && npm run build && npm run start
Open browser and type url localhost:${port}
to use application. ${port}
defined in .env
file, default is 3000.
Ctrl+C
to stop the minecraft chat server
- Copy
docker-compose.example.yml
todocker-compose.yml
and edit this file with your config. - File
docker-compose.yml
indockers/production
, can build and run it in docker-compose
docker-compose --file dockers/production/docker-compose.yml up -d application
Open browser and type url localhost:${port}
to use application. ${port}
defined in docker-compose.yml
file, default is 3000.
To stop the minecraft chat server
docker-compose --file dockers/production/docker-compose.yml down application
Create simple minecraft server for test. Also can connect to others minecraft server
Download official minecraft server jar to create server. Tutorials
- Copy
config.example.env
toconfig.env
and set variable in the file. - File
docker-compose.yml
indockers/production
, can build and run it in docker-compose
docker-compose --file dockers/production/docker-compose.yml up -d minecraft-server
To stop the minecraft chat server
docker-compose --file dockers/production/docker-compose.yml down minecraft-server
- Next.js - The React and Express Framework
- Socketio - Communicate between client and server
- Semantic-ui-React - A UI component framework
- lowdb - Small local JSON database powered by Lodash
- mineflayer - Create Minecraft bots with a powerful, stable, and high level JavaScript API.
- henlium - Correct my readme's typo and grammar.