https://github.com/btarg/craftgpt
A Minecraft (Paper) server plugin which lets ChatGPT become God
https://github.com/btarg/craftgpt
chatgpt gpt-35-turbo langchain langchain4j minecraft openai paper paper-plugin plugin
Last synced: 3 months ago
JSON representation
A Minecraft (Paper) server plugin which lets ChatGPT become God
- Host: GitHub
- URL: https://github.com/btarg/craftgpt
- Owner: btarg
- License: lgpl-3.0
- Created: 2024-01-16T12:47:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-22T01:49:30.000Z (over 2 years ago)
- Last Synced: 2025-07-11T18:52:52.975Z (about 1 year ago)
- Topics: chatgpt, gpt-35-turbo, langchain, langchain4j, minecraft, openai, paper, paper-plugin, plugin
- Language: Java
- Homepage:
- Size: 383 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README
# CraftGPT
CraftGPT uses Langchain4J and OpenAI's "tools" to interact with a Minecraft world as "God".
It will be able to do things like:
- Understand the context of the world, including the player's inventory, location, etc.
- Respond to prompts in chat
- Give and take items from players
# TODO
## Initial prompts
While persistent memory is already implemented, "character prompts" to remind the AI of who it is and what it's doing are not.
I want the AI to act as a God, who will choose to do things based on the player's actions. For example, if the player is building a house, the AI might choose to give them some wood. Or, if it is feeling mischievous, it might choose to spawn a creeper. Events should be chosen based on how entertaining they could be.
As part of implementing entertaining functions, I'll look into porting over some of the functions from classic [Twitch Vs Minecraft.](https://github.com/btarg/TwitchVsMinecraft2)
## World Log
In order to understand the world, CraftGPT will need to log many different events so that GPT-3 can respond to them.
As of writing, this is not implemented, but instead GPT-3 is given prompts by players via the in-game chat.