# Guis Configuration

### 🛠️ วิธีเตรียมไฟล์ GUI

1. ไปที่\
   👉 <https://convert.kaizermc.xyz/guis/>\
   **ตัวอย่าง:** <https://youtu.be/iLAhcHujmgU>
2. สร้าง Layout ของ GUI
   * เลือก **จำนวนแถว (Row Size)** ให้ถูกต้อง
   * (สำหรับ **5×9, 4×9, 2×9, 1×9** → ต้องติดตั้ง **GeyserMoreRows Plugin**)
3. หลังจากสร้างเสร็จ คุณจะได้รับ:
   * โฟลเดอร์ **ไฟล์ texture ของ GUI**
   * ไฟล์ **`guis.json`**
4. นำไฟล์ทั้งหมดไปใส่ไว้ใน:
   * `generated.zip` **หรือ**
   * `pack.zip`

⚠️ หากข้ามขั้นตอนนี้ → **GUI จะไม่แสดงในเกม**

***

### 📐 ขนาด GUI ที่รองรับ (สำคัญ)

โดยค่าเริ่มต้น Minecraft รองรับขนาดกล่องเพียง:

* **6×9** (กล่องใหญ่)
* **3×9** (กล่องเล็ก)

หาก GUI ของคุณใช้ขนาดที่ไม่ใช่มาตรฐาน เช่น:

* **5×9**
* **4×9**
* **2×9**
* **1×9**

👉 คุณจำเป็นต้องติดตั้ง [GeyserMoreRows](https://modrinth.com/plugin/geysermorerows)

🔗 ลิงก์ปลั๊กอิน:\
<https://modrinth.com/plugin/geysermorerows>

***

### 🧩 วิธีติดตั้ง GeyserMoreRows (Plugin)

#### 📁 ตำแหน่งติดตั้ง

วางไฟล์ปลั๊กอินไว้ที่เซิฟเวอร์ของคุณ:

```
/server/plugins/GeyserMoreRows.jar
```

***

#### 🛠️ ขั้นตอนการติดตั้ง

1. ดาวน์โหลด [**GeyserMoreRows**](https://modrinth.com/plugin/geysermorerows) จาก Modrinth\
   <https://modrinth.com/plugin/geysermorerows>
2. คัดลอกไฟล์ `.jar` ที่ดาวน์โหลดมา ไปไว้ที่:

   ```
   /server/plugins/GeyserMoreRows.jar
   ```
3. Restart **Server**
4. ตรวจสอบใน Console ว่า Plugin ถูกโหลดสำเร็จหรือไม่

***

### ❓ ทำไมต้องใช้ปลั๊กอินนี้

**GeyserMoreRows** เป็นปลั๊กอินสำหรับ Spigot\
ซึ่งจะเพิ่มข้อความพิเศษในชื่อหน้าต่างกล่อง (Chest Window Title)\
สำหรับผู้เล่น **Floodgate (Bedrock)**

วิธีนี้ช่วยให้สามารถแสดง Layout ของกล่องแบบพิเศษ เช่น\
**1×9, 2×9, 4×9, 5×9** ผ่าน Resource Pack ได้อย่างถูกต้อง

หากไม่ติดตั้งปลั๊กอินนี้:

* GUI ที่ไม่ใช่ขนาดมาตรฐานจะถูกบังคับแสดงเป็น **6×9** หรือ **3×9**
* Layout แบบกำหนดเองจะ **ไม่แสดงผลถูกต้องบน Bedrock Edition**

***

### ⚠️ หมายเหตุ

* Extension นี้ **จำเป็นเฉพาะเมื่อใช้ GUI ขนาดพิเศษเท่านั้น**
* GUI มาตรฐาน (**6×9, 3×9**) สามารถใช้งานได้ **โดยไม่ต้องติดตั้งปลั๊กอิน**
* **Resource Pack เพียงอย่างเดียวไม่สามารถเปลี่ยนจำนวนแถวของกล่องบน Bedrock ได้**\
  จำเป็นต้องใช้ GeyserMoreRows เท่านั้น

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kaizermc-wiki.gitbook.io/j2b-converter/help-center/j2bcovnert-wiki-th/getting-started/pre-convert-configuration/guis-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
