CraftGPT

CraftGPT

ChatGPT in Minecraft, completely client-sided!

by
1.5K Downloads
fabricgame-mechanicsutility
Rent Server with this Mod

Screenshots

Detailed Mode: Enabled
Detailed Mode: Disabled

About this Mod

This simple client-sided mod allows you to prompt ChatGPT without leaving your game. It always assumes you are talking about Minecraft, making it a useful Minecraft assistant!

How to use it
  1. Go to OpenAI's website and obtain an API key. Make sure to keep this API key somewhere safe because it will only show you the key once.
  2. Go into the config file for the mod (Mod Menu works too) and enter the API key into its respective field. The other option lets you change what model the AI uses. gpt-4o-mini is the default because it is the cheapest one. You can change this to gpt-4o for more expensive but accurate responses (no matter what model you choose, the AI may get some things wrong). Keep in mind that with the most recent models, ChatGPT is trained up to October 2023, just a month after 1.20.2 was released, meaning that it does not know anything about Minecraft versions newer than 1.20.2.
  3. Enter any world and use /ai prompt <prompt> (use /ai chat <prompt> to have the AI remember what you said) to ask ChatGPT anything. To get information on the current held item, use /ai info hand. For information about the targeted block or entity, use /ai info looking.
Known issues
  • Game freezes when prompting the AI until the response is done generating. (found by: me) (probably unfixable)

Available Versions

CraftGPT 1.2.0release
MC 1.21, 1.21.1fabric
September 8, 2024
CraftGPT 1.1.0release
MC 1.21, 1.21.1fabric
August 21, 2024
CraftGPT 1.0.1release
MC 1.21, 1.21.1fabric
August 11, 2024
CraftGPT 1.0.0release
MC 1.21fabric
August 6, 2024

How to Install CraftGPT 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.21.1).

3

Install Mod

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

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.1, 1.21

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

CraftGPT 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.21.1). You can switch loaders with one click in the panel.

Is CraftGPT compatible with fabric?

CraftGPT officially supports fabric for Minecraft 1.21.1, 1.21. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with CraftGPT – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if CraftGPT 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 CraftGPT 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.21.11.21