AskChat
AskChat is a Minecraft plugin that allows players to interact with Google's Gemini Pro AI directly in the game chat. Simply type !ask
followed by your question, and the AI will provide a helpful response.
Examples
Features
- Chat-Based Interface: Ask questions and receive answers without leaving your Minecraft world.
- Configurable:
- Customize the AI's prompt to guide its responses.
- Change the bot's name in chat.
- Optionally broadcast both the question and the answer to the server.
- Powered by Google Gemini Pro: Tap into the advanced capabilities of Gemini Pro for intelligent and relevant answers.
- Lightweight: Designed to minimize impact on server performance.
Installation
- Obtain a Google Gemini API Key: Follow the instructions at https://ai.google.dev/gemini-api/docs/api-key to obtain your API key.
- Download: Get the latest
AiChatBuddy.jar
file from the Releases section. - Install: Place the JAR file in your Minecraft server's
plugins
folder. - Configure: Edit the
config.yml
file in the plugin's folder:api-key
: Enter your Google Gemini Pro API key.prompt-template
: (Optional) Customize the AI's prompt.api-url
: (Optional) Modify the API endpoint if needed.bot-name
: Choose the name for the AI in chat (default: "Notch").private-questions
: (Optional) Set totrue
for private responses (default:false
).
- Restart: Restart your server to enable the plugin.
Usage
Type !ask
followed by your question in the chat, e.g., !ask How do I make a crafting table?
. The AI will respond with an answer.
Support & Feedback
If you have any questions, issues, or feature requests, please open an issue on GitHub.
Contributing
Contributions are welcome! Please feel free to fork this repository and submit pull requests.
License
This project is licensed under the MIT License.