> For the complete documentation index, see [llms.txt](https://ak-scripts.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ak-scripts.gitbook.io/docs/yi-lai/markdown/ce-shi-ming-ling.md).

# 测试命令

本页列出 `ak-lib` 框架中各模块的测试命令，\
用于快速验证各模块功能是否正常显示、动画、声音、位置与多语言效果。

⚙️ **前提条件**：

1. 在 `config.lua` 中启用调试模式：

   ```lua
   Config.Debug = {
       Enabled = true,       -- 总开关: false = 禁止所有调试 & 命令
       Print   = true,       -- 是否在控制台输出调试信息
       TestCmd = true        -- 是否启用测试命令
   }
   ```
2. 已正确安装 `ak-lib` 并在 `server.cfg` 中启动：

   ```cfg
   ensure ak-lib
   ```
3. 在游戏中输入下面测试命令即可触发相应模块测试。

| 🧩 模块名称             | 💻 测试命令 |
| ------------------- | ------- |
| 🔔 **Notify 通知**    | `/ak1`  |
| 💬 **TextUI 提示**    | `/ak2`  |
| ⏳ **Progress 进度条**  | `/ak3`  |
| 🧭 **Menu 菜单**      | `/ak4`  |
| 📥 **Input 输入框**    | `/ak5`  |
| 💭 **Dialog 对话框**   | `/ak6`  |
| 🎯 **Skillbar 技能条** | `/ak7`  |
| 🌀 **Radial 径向菜单**  | `F1` 键  |


---

# 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 current page URL with the `ask` query parameter:

```
GET https://ak-scripts.gitbook.io/docs/yi-lai/markdown/ce-shi-ming-ling.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.
