> For the complete documentation index, see [llms.txt](https://hyper-9.gitbook.io/hyper-crafting/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hyper-9.gitbook.io/hyper-crafting/introduction.md).

# Hyper\_Crafting

ระบบคราฟและอัปเกรดไอเทมสำหรับเซิร์ฟเวอร์ FiveM ผู้เล่นเดินไปที่โต๊ะในแผนที่ กด **E** แล้วเลือกสูตรที่อยากทำ ระบบจะหักวัตถุดิบกับเงิน จับเวลา สุ่มว่าสำเร็จหรือไม่ แล้วส่งของเข้ากระเป๋าให้ — ทุกขั้นตอนตัดสินที่ฝั่งเซิร์ฟเวอร์ ไคลเอนต์เป็นแค่หน้าจอ

![หน้าเลือกสิ่งของที่ต้องการคราฟ](https://3489957155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRB3yW70OpDY5NH4eAK2P%2Fuploads%2FwzBJVDApjFQ3ywBXVXo0%2Fv2_01_craft_pick.png?alt=media)

## ข้อมูลทั่วไป

| หัวข้อ         | ค่า                                                                     |
| -------------- | ----------------------------------------------------------------------- |
| เวอร์ชัน       | 0.2.0                                                                   |
| เฟรมเวิร์ก     | ESX (แยก adapter ไว้ที่ `config/framework/esx/`)                        |
| Dependency     | `Hyper_Notifyall` (แจ้งเตือน + Text UI)                                 |
| เชื่อมต่อเพิ่ม | `Hyper_Inventory` · `Hyper_Vault` · `Hyper_Discordlogs` · `Hyper_Check` |
| NUI            | `html/ui.html` — สองหน้าจอ (คราฟ / อัปเกรด)                             |
| ธีมสี          | 7 ธีม เลือกด้วย `Config.Theme`                                          |
| ขนาดโค้ด       | 7,180 บรรทัด (Lua 2,426 · JS 1,740 · CSS 2,687 · HTML 327)              |

## โต๊ะที่ตั้งไว้ให้แล้ว

| โต๊ะ           | ชนิด      | หมวดที่เปิด          | พิกัด                     |
| -------------- | --------- | -------------------- | ------------------------- |
| โต๊ะคราฟทั่วไป | `craft`   | Material · Component | `964.78, -3184.13, 13.40` |
| โต๊ะคราฟอาวุธ  | `craft`   | Weapon               | `968.30, -3196.40, 13.40` |
| โต๊ะอัพเกรด    | `upgrade` | ทุกหมวด              | `972.00, -3190.00, 13.40` |

เพิ่ม/ย้ายโต๊ะได้ที่ `config/config.tables.lua`

## เริ่มใช้งาน

1. วางโฟลเดอร์ใน `resources` แล้วใส่ `ensure Hyper_Crafting` ใน `server.cfg`
2. ตั้งเว็บฮุก Discord (ถ้าต้องการ log) ใน `server.cfg`

```
set hyper_crafting_webhook "https://discord.com/api/webhooks/..."
```

3. แก้สูตรที่ `config/config.craft.lua` และจุดโต๊ะที่ `config/config.tables.lua`

{% hint style="info" %}
ไม่ต้อง import ฐานข้อมูล ระบบนี้ไม่เก็บอะไรลง DB
{% endhint %}

{% hint style="info" %}
ข้อมูลในภาพหน้าจอทุกใบเป็นข้อมูลจำลอง (ยอดเงิน จำนวนของ) ส่วนสูตร เวลา อัตราสำเร็จ และราคา ตรงตามไฟล์ config จริง
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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 following URL with the `ask` and `goal` query parameters:

```
GET https://hyper-9.gitbook.io/hyper-crafting/introduction.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

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.
