# level\_up.yml

level\_up.yml

```yaml
2:
  commands:
    - "say %player% đã lên cấp 1!"
    - "give %player% minecraft:stone 10"

5:
  commands:
    - "say %player% đã đạt level 5! Phần thưởng đặc biệt!"
    - "give %player% diamond 1"
```

* Sử dụng khi player đạt đến một cấp độ sẽ thưởng cho player một phần quà. - **Ví Dụ:** khi player đạt cấp độ `5` hệ thống sẽ tự động trao thưởng cho player đó bằng cách sử dụng lệnh thực thi như admin server.
* Bạn có thể tuỳ chỉnh bao nhiêu tuỳ thích dựa theo cấp độ mà bạn đã tạo ở [count\_level.yml](https://app.gitbook.com/o/9QYyAQWYb2o82gIJsv2x/s/LoMQI1tp5lNuQVF9048j/~/changes/1/huong-dan-cau-hinh/count_level.yml)


---

# 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://kazamis.gitbook.io/kazami-studio/huong-dan-cau-hinh/level_up.yml.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.
