MCChatGPT

MCChatGPT

A mod that provides a ChatGPT interface inside Minecraft

by
6.5K Downloads
fabricforgesocial
Rent Server with this Mod

About this Mod

MCChatGPT

A mod that provides a ChatGPT interface inside minecraft

Modrinth
CurseForge

This model knows it's inside Minecraft, and will respond accordingly.

  • The model is limited by ChatGPT's training data, which ended around when 1.17 was released.

Usage Example

Commands

  • Use /mcchatgpt-auth <token> with your OpenAI token to authenticate with the API
  • Use /ask <question> to ask the model a question, the model will respond in the chat with context from the last 10 messages.
    • Hover over the message to see the number of tokens used and approximate cost of the API request.
  • Use /setcontextlevel <0-3> to set the context level of the model.
    • Higher context levels will provide the model with more information about the world and the player but will cost more per API request.
    • 0: No information (default)
    • 1: Player information
      • + ~100 tokens per request
    • 2: Player and world information
      • + ~200 tokens per request
    • 3: Player, world, and entity information
      • + ~1k tokens per request
  • Use /nextconversation go to the next conversation, or start a new conversation with the model.
  • Use /previousconversation to go back to the previous conversation with the model.
  • Use /setconversation <conversationid> to set the conversation with the model to a specific conversation.
  • Use /listconversations to list all the conversations you have had with the model.
    • This will provide the conversation id, and the last message you sent in the conversation.

Config

  • model: The model used for the API requests.
    • Must support Chat Completions otherwise an error will occur.
    • gpt-3.5-turbo is the default value.
      • If changed, you may need to change the estimated_cost_per_token value in the config to match the new model.
    • You can find a list of models here.
  • temperature: The temperature used for the API requests.
    • Between 0 and 2, higher values will result in more creative responses, while lower values will result in more deterministic responses.
    • 1.0 is the default value.

Installation

  1. Download the latest version of the mod from the releases page
    • If you are using the fabric version, please download the latest version of Fabric API
  2. Place the downloaded mod files in your mods folder
  3. Launch Minecraft

Reporting Bugs

If you find any bugs, please report them on the issue tracker.

Available Versions

MCChatGPT Fabric 0.2.1release
MC 1.18.2fabric
April 24, 2023
MCChatGPT Forge 0.2.1release
MC 1.18.2forge
April 24, 2023
MCChatGPT Forge 0.2.1release
MC 1.19.4forge
April 24, 2023
MCChatGPT Fabric 0.2.1release
MC 1.19.4fabric
April 24, 2023
MCChatGPT Fabric 0.2.0release
MC 1.19.4fabric
March 31, 2023

How to Install MCChatGPT on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.19.4).

3

Install Mod

Open the mod browser in the dashboard and search for "MCChatGPT". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricforge

Minecraft Versions

1.19.4, 1.19.3, 1.19.2 (+1 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

MCChatGPT server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.19.4). You can switch loaders with one click in the panel.

Is MCChatGPT compatible with fabric and forge?

MCChatGPT officially supports fabric, forge for Minecraft 1.19.4, 1.19.3, 1.19.2. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with MCChatGPT – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if MCChatGPT consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install MCChatGPT with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Unsupported

Supported Versions

1.19.41.19.31.19.21.18.2