Communicate with ChatGPT in Minecraft
Chat with ChatGPT in Minecraft
All code is written by ChatGPT
For better compatibility across versions, the plugin doesn't specify Bukkit API version. When loading the plugin on newer versions, you may see these warnings in console - this is normal.
```
[Server thread/WARN]: Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug!
[Server thread/WARN]: Legacy plugin MineChatGPT v1.0 does not specify an api-version.3. Edit `config.yml`:
# ======================================================
# API Configuration
# ======================================================
api:
# Your OpenAI API keys for authentication
# Get API keys at https://platform.openai.com/account/api-keys
keys:
- "sk-your_openai_api_key_1"
# Add multiple API keys below
# - "sk-your_openai_api_key_2"
# - "sk-your_openai_api_key_3"
# API key selection method: "round_robin" or "random"
selection_method: "round_robin"
# Base URL for OpenAI API
# Use proxy service if you cannot access official API
base_url: "https://api.openai.com/v1"
/chatgpt reload in console to reload config| Command | Permission | Description |
|---|---|---|
/chatgpt |
minechatgpt.use | Show help |
/chatgpt <text> |
minechatgpt.use | Ask ChatGPT |
/chatgpt reload |
minechatgpt.reload | Reload config |
/chatgpt model <model_name> |
minechatgpt.model | Switch model |
/chatgpt modellist |
minechatgpt.modellist | List available models |
/chatgpt context |
minechatgpt.context | Toggle context mode |
/chatgpt clear |
minechatgpt.clear | Clear chat history |
/chatgpt character [character_name] |
minechatgpt.character | List or switch character |
Check the error message in console.
Verify connectivity to the base_url in config.yml. Consider using a reverse proxy if you cannot access OpenAI's official API.
Yes, any model supporting OpenAI API format works.
Not recommended for inference models due to longer response times.
Yes, many proxy services provide access.
The plugin should work on Folia but isn't optimized for it. Use at your own risk.