MineChatGPT icon

MineChatGPT -----

Communicate with ChatGPT in Minecraft



Communicate with ChatGPT in Minecraft
Theoretical support for all versions, welcome to test
All codes are written by ChatGPT

Features
  • OpenAPI format
  • Custom models
  • ChatGPT anti-proxy
  • Command completion
  • Contextual conversation
  • Custom prompts
  • Folia support
Installation
1. Download the plugin and place it in the plugins folder
2. Restart the server
To be compatible with more versions, the plugin does not specify a Bukkit API version. Therefore, when loading the plugin in a higher version, the console may display the following warning message, which is a normal phenomenon.
Code (Text):
> [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. Open the configuration file config.yml, and modify the following two settings:
Code (Text):
# API-related settings
api:
  # Your OpenAI API key for authentication
  # To obtain an API key, visit https://platform.openai.com/account/api-keys and create a new API key
  key: "sk-your_openai_api_key"
  # The base URL of the OpenAI API for building requests
  base_url: "https://api.openai.com/v1"
4. Type /chatgpt reload in the console to reload the configuration file

Commands and Permissions

  • /chatgpt - View plugin help
    • minechatgpt.use
  • /chatgpt <text> - Ask a question to ChatGPT
    • minechatgpt.use
  • /chatgpt reload - Reload the configuration file
    • minechatgpt.reload
  • /chatgpt model <model_name> - Switch to another model
    • minechatgpt.model
  • /chatgpt modellist - View available model lists
    • minechatgpt.modellist
  • /chatgpt context - Switch to continuous conversation mode
    • minechatgpt.context
  • /chatgpt clear - Clear conversation history
    • minechatgpt.clear
Compatibility
Only versions that have been tested are listed:
  • Luminol 1.21 - ✔ Supported
  • Mohist 1.20.1 - ✔ Supported
  • Spigot 1.20.1 - ✔ Supported
  • Spigot 1.12.2 - ✔ Supported
  • KCauldron 1.7.10 - × Not supported
Common Issues and Solutions
  • Displaying Failed to contact ChatGPT. after asking a question
Check the error messages outputted in the console.
  • Seeing connect timeout, connect reset, or similars in the console after asking a question
Check if the base_url in config.yml can be accessed normally. If you cannot connect to the official OpenAI API address, you can consider using other proxies.
  • Can I add other models?
Yes, as long as the model supports the OpenAI API, it can be used.
  • Can I use it without a ChatGPT account?
Yes, there are many proxy websites that can be used easily, and they also support other models, which usually cost less than the official version.
  • Does it support Folia?
Theoretically, the plugin can run on Folia, but the code of the plugin has not been optimized for Folia, so there may be some issues. If you are willing, you can try to run the plugin using Folia, but we cannot guarantee its proper functioning.

Statistics
[​IMG]
Resource Information
Author:
----------
Total Downloads: 90
First Release: Aug 17, 2024
Last Update: Aug 27, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings