Skip to content

Commit 6d6dbe9

Browse files
authored
Merge pull request #2 from Zhou-Shilin/main
feat: Create README.md
2 parents 813fec0 + 62c9960 commit 6d6dbe9

File tree

1 file changed

+108
-0
lines changed

1 file changed

+108
-0
lines changed

README.md

+108
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
<div align="center">
2+
<img src="https://github.com/Zhou-Shilin/picx-images-hosting/blob/master/buildergpt-logo.jpeg?raw=true"/>
3+
<img src="https://img.shields.io/badge/Builder-GPT-blue">
4+
<a href="https://github.com/CubeGPT/BuilderGPT/pulls"><img src="https://img.shields.io/badge/PRs-welcome-20BF20"></a>
5+
<img src="https://img.shields.io/badge/License-Apache-red">
6+
<a href="https://crowdin.com/project/bukkitgpt"><img src="https://img.shields.io/badge/i18n-Crowdin-darkblue"></a>
7+
<!-- <p>English | <a href="https://github.com/CubeGPT/BukkitGPT/blob/master/README-zh_cn.md">简体中文</a></p> -->
8+
<br/>
9+
</div>
10+
11+
> [!NOTE]
12+
> Developers and translators are welcome to join the CubeGPT Team!
13+
14+
## Introduction
15+
> Give GPT your idea, AI generates customized Minecraft structures.
16+
17+
BuilderGPT is an open source, free, AI-powered Minecraft structure generator. It was developed for minecraft map makers. It can generate structures in `*.schem` format and users can import them via worldedit, etc.
18+
19+
## Partner
20+
[![](https://www.bisecthosting.com/partners/custom-banners/c37f58c7-c49b-414d-b53c-1a6e1b1cff71.webp)](https://bisecthosting.com/cubegpt)
21+
22+
## Features
23+
24+
- [x] Generate structures
25+
- [x] Export generated structures to `*.schem` files
26+
- [ ] Export generated structures to OOC commands
27+
- [ ] Edit structures
28+
29+
### Other projects of CubeGPT Team
30+
- [x] Bukkit plugin generator. {*.jar} ([BukkitGPT](https://github.com/CubeGPT/BukkitGPT))
31+
- [x] Structure generator. {*.schem} ([BuilderGPT](https://github.com/CubeGPT/BuilderGPT))
32+
- [ ] Serverpack generator. {*.zip} (ServerpackGPT or ServerGPT, or..?)
33+
- [ ] Have ideas or want to join our team? Send [us](mailto:admin@baimoqilin.top) an email!
34+
35+
## How it works
36+
37+
After the user enters a requirement, the program causes `gpt-4-preview` to generate a `json` containing the content of the structure, for example:
38+
```json
39+
{
40+
"materials": [
41+
"A": "minecraft:air",
42+
"S": "minecraft:stone",
43+
"G": "minecraft:glass"
44+
],
45+
"structures": [
46+
{
47+
"floor": 0,
48+
"structure": "SSSSSSSS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSSSSSSSS"
49+
},
50+
{
51+
"floor": 1,
52+
"structure": "SSGGGGSS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSSSSSSSS"
53+
},
54+
{
55+
"floor": 2,
56+
"structure": "SSGGGGSS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSSSSSSSS"
57+
},
58+
{
59+
"floor": 3,
60+
"structure": "SSSSSSSS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSSSSSSSS"
61+
},
62+
{
63+
"floor": 4,
64+
"structure": "SSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\n"
65+
}
66+
]
67+
}
68+
```
69+
The program then parses this `json` response and generates a `*.schem` file for the user to import the structure into the game.
70+
71+
## Requirements
72+
You can use BukkitGPT on any device with [Python 3+](https://www.python.org/).
73+
74+
And you need to install this package:
75+
```
76+
pip install openai
77+
```
78+
79+
## Quick Start
80+
81+
*(Make sure you have the [Python](https://www.python.org) environment installed on your computer)*
82+
83+
### Console
84+
1. Download `Source Code.zip` from [the release page]([https:///](https://github.com/CubeGPT/BuilderGPT/releases)) and unzip it.
85+
2. Edit `config.yaml`, fill in your OpenAI Apikey. If you don't know how, remember that [Google](https://www.google.com/) and [Bing](https://www.bing.com/) are always your best friends.
86+
3. Run `console.py` (bash `python console.py`), enter the description and let GPT generate the structure.
87+
4. Find your structure in `/generated/<name>.schem`.
88+
5. Import the file into the game via worldedit or other tools. (Google is your best friend~~)
89+
90+
## Contributing
91+
If you like the project, you can give the project a star, or [submit an issue](https://github.com/CubeGPT/BuilderGPT/issues) or [pull request](https://github.com/CubeGPT/BuilderGPT/pulls) to help make it better.
92+
93+
## License
94+
```
95+
Copyright [2024] [CubeGPT Team]
96+
97+
Licensed under the Apache License, Version 2.0 (the "License");
98+
you may not use this file except in compliance with the License.
99+
You may obtain a copy of the License at
100+
101+
http://www.apache.org/licenses/LICENSE-2.0
102+
103+
Unless required by applicable law or agreed to in writing, software
104+
distributed under the License is distributed on an "AS IS" BASIS,
105+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
106+
See the License for the specific language governing permissions and
107+
limitations under the License.
108+
```

0 commit comments

Comments
 (0)