
BuildGPT
A simple mod that uses ChatGPT to generate structures on command with /buildgpt
About this Mod
This mod adds a /buildgpt command that allows the player to place AI generated structures into the world with a customizable prompt.
Setup
An OpenAI Key is required for this mod in order to work.
create a file .openaikey in the config folder or run the /buildbpt command with valid parameters once to generate the file and then place your API Key in there.
The command should now work!
Additionally The API Key requires account credits on OpenAI!
Command
The command has 2 modes:
Bound
/buildgpt bound <x> <y> <z> <x> <y> <z> <prompt>
This mode allows the user to set a bounding box outside of which the mod won't place any blocks.
The prompt is directing ChatGPT to generate a structure within those bounds but the mod also has a check after the response, that filters out any blocks outside the bounding box.
Unbound
/buildgpt unbound <x> <y> <z> <prompt>
This mode only has a starting point from which the AI will (in most cases) generate the structure towards increasing coordinates.
Of course this is not always the case as ChatGPT can sometimes return funny responses with unexpected behaviour, which is why the bound mode exists and the unbound mode should by used with caution, since placed blocks cannot be undone. During testing, I noticed that structures will usually not exceed a 20x20x20 block cube unless prompted to do otherwhise.
Prompt
There is a predefined prompt in the Mod, meaning that the user is only required to input the building name or description into the <prompt> field of the command, since the mod requires the response to be formatted a certain way.
The prompt can also be overwritten by inputting a custom prompt into the <prompt> field of the command.
Available Versions
How to Install BuildGPT on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).
Install Mod
Open the mod browser in the dashboard and search for "BuildGPT". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.1.2, 26.1.1, 26.1 (+28 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
BuildGPT 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 (26.1.2). You can switch loaders with one click in the panel.
Is BuildGPT compatible with fabric and quilt?
BuildGPT officially supports fabric, quilt for Minecraft 26.1.2, 26.1.1, 26.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with BuildGPT – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if BuildGPT 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 BuildGPT with just one click on your server.