Перейти к содержимому
Mineforgian

MineChatGPT

Communicate with ChatGPT in Minecraft

Загрузки
1K
Подписчики
3
Обновлён
13 февраля 2026 г.
Лицензия
AGPL-3.0-only

Опубликован 16 августа 2024 г.

MineChatGPT

minechatgpt
modrinth-gallery spigot paper java8
GitHub Release bStats Servers bStats Players Modrinth Downloads Spiget Downloads

Chat with ChatGPT in Minecraft

All code is written by ChatGPT

Features

  • OpenAI API format
  • Custom models
  • ChatGPT reverse proxy
  • Load balancing
  • Command completion
  • Contextual chat
  • Multiple characters
  • Folia support

Installation

  1. Download the plugin and place it in the plugins folder
  2. Restart the server

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.
  1. 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"
  1. Run /chatgpt reload in console to reload config

Commands & Permissions

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

FAQ

Getting "Failed to contact ChatGPT." error

Check the error message in console.

Console shows "connect timeout" or "connect reset"

Verify connectivity to the base_url in config.yml. Consider using a reverse proxy if you cannot access OpenAI's official API.

Can I add other models?

Yes, any model supporting OpenAI API format works.
Not recommended for inference models due to longer response times.

Can I use without ChatGPT account?

Yes, many proxy services provide access.

Folia support?

The plugin should work on Folia but isn't optimized for it. Use at your own risk.

Statistics

Ченджлог

2.8Релиз1.21.9, 1.21.10, 1.21.11 · 13 февраля 2026 г.

Highlights

  • Added rate limiting and request queueing
    Better stability under heavy usage and with multiple players online.
  • Added context token budget control
    Long conversations are trimmed safely, with optional auto-summarization.
  • Added token usage stats
    View usage with /chatgpt stats
    Reset usage with /chatgpt stats reset
  • Added automatic config file update
    Missing new config entries are auto-filled after updates, while keeping your existing settings.
  • Added automatic language file update
    Missing keys in lang/en.yml and lang/zh.yml are auto-filled automatically.

Improvements

  • Better API request threading and timeout handling.
  • Clearer command feedback and error messages.
  • More detailed config comments for easier server admin tuning.

Upgrade Notes

  • Auto-update creates .bak backup files for safe rollback.
  • Legacy single-key config is still supported, but api.keys is recommended.

Full Changelog: https://github.com/ddaodan-minecraft/minechatgpt/compare/2.7...2.8

2.7Релиз1.21.5, 1.21.6, 1.21.7 · 17 марта 2025 г.

Important: This update has made several adjustments to the configuration file. It is recommended to back up the existing configuration file before upgrading the plugin, and then delete it to regenerate the configuration file.

  • Multi-language support
  • Added bilingual comments in configuration files
  • New load balancing with round-robin/random API key selection
  • Optimized build configuration (reduced plugin size)
  • Project standardization

Special thanks to Trae for making these features possible!

Full Changelog: https://github.com/ddaodan/minechatgpt/compare/2.6...2.7

2.6Релиз1.21.2, 1.21.3, 1.21.4 · 27 августа 2024 г.

Important: This update has made several adjustments to the configuration file. It is recommended to back up the existing configuration file before upgrading the plugin, and then delete it to regenerate the configuration file.

  • Added role functionality
  • Removed prompt functionality

Full Changelog: https://github.com/ddaodan/minechatgpt/compare/2.5...2.6

Комментарии

Загружаем…