MineMentor is an AI-powered assistant bot for Minecraft servers that provides instant answers to players' in-game questions. Whether you need crafting recipes, gameplay tips, or strategies, MineMentor is always ready to help!
- AI-Powered Responses: Uses Together AI to generate real-time responses to Minecraft-related queries.
- Continuous Movement: Automatically moves in a square pattern to avoid AFK kicks.
- Quick Command Responses: Uses the
?
prefix for quick in-game queries. - Auto-Reconnect: If disconnected, MineMentor will attempt to reconnect automatically.
- Customizable Bot Name: You can change the bot’s display name when launching.
- The bot listens for messages in the chat.
- When a player asks a question using the
?
prefix, MineMentor processes it. - It sends the query to Together AI for an accurate response.
- The bot replies directly in the chat, ensuring a seamless experience.
- Meanwhile, it keeps moving to prevent being kicked from the server.
MineMentor is open-source and available on GitHub:
git clone https://github.com/gautamxgambhir/MineMentor.git
cd MineMentor
pip install -r requirements.txt
npm install
- Obtain a Together AI API Key from Together AI.
- Store the API key in an .env file:
API_KEY=your_together_api_key
- Open
bot.py
and modify the following variables to match your server:
server_host = "your.server.ip"
server_port = your_server_port
python bot.py
- Use the
?
prefix followed by your question. - Example:
?How do I craft a diamond sword?
→ The bot will reply with the recipe.?Where do I find Netherite?
→ The bot will provide an answer.
- The bot continuously moves to avoid being kicked for inactivity.
- Mineflayer - Minecraft bot framework.
- Together API - AI-powered question-answering system.
- Flask - API backend.
- Minecraft Protocol - Handles Minecraft server interactions.
Contributions are welcome! To contribute:
- Fork the repo.
- Create a new branch (
git checkout -b feature-branch
). - Commit changes (
git commit -m "Added new feature"
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License.
- GitHub: @gautamxgambhir
- Email: ggambhir1919@gmail.com
- Instagram: gautamxgambhir
- Twitter: gautamxgambhir