> For the complete documentation index, see [llms.txt](https://hyper-9.gitbook.io/hyper-notifyall/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-notifyall/overview.md). Agents can also search and read this documentation through its [MCP server](https://hyper-9.gitbook.io/hyper-notifyall/~gitbook/mcp).

# Hyper\_Notifyall

Hyper\_Notifyall คือระบบแจ้งเตือนกลางของเซิร์ฟเวอร์ — สคริปต์อื่นเรียก export เส้นเดียวแล้วได้การ์ดแจ้งเตือน หลอดโหลด TextUI และประกาศกลางจอ ที่หน้าตาเหมือนกันทั้งเซิร์ฟ โดยไม่ต้องมี NUI ของตัวเอง

ปัจจุบันมี **85 resource** ในเซิร์ฟเวอร์เรียกใช้งานอยู่ ตั้งแต่ระบบกระเป๋า งานอาชีพ ร้านค้า ไปจนถึงอีเวนต์

![การ์ดแจ้งเตือนทั้ง 4 ชนิดพื้นฐาน](https://635491022-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fj7e7WVUElXSOzNYVvDv2%2Fuploads%2FNB5V3njLAKcNUIxyxcEP%2F01_notify_types.png?alt=media)

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

| หัวข้อ             | ค่า                                 |
| ------------------ | ----------------------------------- |
| เวอร์ชัน           | 1.1.0                               |
| เฟรมเวิร์ก         | ESX (`es_extended`)                 |
| ต้องมี             | `es_extended`, `Hyper_Check`        |
| หน้า NUI           | `html/index.html`                   |
| Export ฝั่ง client | 20 รายการ                           |
| Export ฝั่ง server | 8 รายการ                            |
| ธีมสี              | 7 ธีม สลับที่ `Config.Theme`        |
| ชนิดการ์ดแจ้งเตือน | 10 ชนิด                             |
| ตำแหน่งวางการ์ด    | 8 มุมจอ                             |
| ภาษา               | ไทย (ฟอนต์ Kanit ฝังในตัว resource) |

## ทำอะไรได้บ้าง

| ระบบ            | สรุป                                                               |
| --------------- | ------------------------------------------------------------------ |
| การ์ดแจ้งเตือน  | 10 ชนิด วางได้ 8 มุมจอ ไฮไลต์คำในข้อความได้                        |
| ไอเทมเข้า–ออก   | การ์ดไอเทมพร้อมสีความหายาก รวมหลายชิ้นเป็นใบเดียว                  |
| โทรศัพท์        | การ์ดสายเข้าแบบค้างจนกว่าจะรับ/วาง                                 |
| ประกาศกลางจอ    | 7 หัวข้อประกาศ + เมนูให้แอดมินพิมพ์เอง + ประกาศอัตโนมัติ 7 ข้อความ |
| รีสตาร์ท / ลบรถ | ตารางเวลาอัตโนมัติ + นับถอยหลัง + Discord webhook                  |
| เลขนำโชค        | สุ่ม ID ผู้โชคดีทุกครั้งที่เซิร์ฟเปิด แล้วแจกรางวัล                |
| TextUI          | แบบติดหน้าจอ และแบบลอยตามพิกัดในโลก                                |
| หลอดโหลด        | แบบแถบยาว และแบบเพชรจับเวลา วางได้ 9 ตำแหน่ง                       |
| การ์ดโปรไฟล์    | ดึงรูป Discord หรือ Steam ของผู้เล่นมาแสดง                         |

## เริ่มต้นเร็ว

ใส่ใน `server.cfg`

```
ensure Hyper_Notifyall
```

แล้วเรียกจากสคริปต์ไหนก็ได้

```lua
exports['Hyper_Notifyall']:sendNotify({
    text = {
        title = 'แจ้งเตือน',
        message = 'คุณอยู่ห่างจากรถ %s เกินไป',
        highlight = 'RRR 999',
    },
    type = 'error',
    time = 5 * 1000,
    layout = 'topRight',
})
```

## ไปต่อ

* [ฟีเจอร์หลัก](https://hyper-9.gitbook.io/hyper-notifyall/features.md) — ทุกระบบพร้อมค่าใน config ที่คุมมัน
* [การตั้งค่า](https://hyper-9.gitbook.io/hyper-notifyall/config.md) — ไฟล์ config ทั้ง 4 ไฟล์และค่าที่ปรับบ่อย
* [หน้าจอ UI](https://hyper-9.gitbook.io/hyper-notifyall/ui-screens.md) — ภาพจริงทั้ง 14 โหมด
* [ธีมสี](https://hyper-9.gitbook.io/hyper-notifyall/themes.md) — 7 ธีมพร้อมตารางสี
* [Export](https://hyper-9.gitbook.io/hyper-notifyall/exports.md) — ตารางว่าจะทำอะไรต้องใช้ export ตัวไหน


---

# 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 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-notifyall/overview.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 `automate deployments from our CI pipeline` 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.
