# ⚙️ config.yml

> File: `/plugins/SharkAFK/config.yml`

```yaml
play-sound-on-reward: true
reward-sound: "ENTITY_EXPERIENCE_ORB_PICKUP"
```

* **play-sound-on-reward**: Bật tắt âm thanh khi nhận phần thưởng
* **reward-sound**: Tên âm thanh (dùng `TAB` trong Minecraft để xem tên, VD: `BLOCK_NOTE_BLOCK_PLING`, `ENTITY_PLAYER_LEVELUP`...)

```yaml
use-reward-cooldown: false
reward-cooldown: 5
```

* **use-reward-cooldown**: Bật giới hạn thời gian giữa 2 phần thưởng (true/false)
* **reward-cooldown**: Thời gian tính bằng giây

```yaml
actionbar-enabled: true
title-on-reward: true
```

* **actionbar-enabled**: Hiển thị thanh trạng thái AFK dưới màn hình
* **title-on-reward**: Hiện title mỗi 60s (hoặc theo mốc cấu hình)

```yaml
title-reward:
  main: "&a🎉 Nhận thưởng SharkAFK!"
  sub: "&7Bạn đã AFK &f%time%s"
```

* **main**: Tiêu đề chính khi nhận quà (có thể dùng `%time%`)
* **sub**: Phụ đề hiển thị bên dưới


---

# 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/sharkafk-wiki/sharkafk/huong-dan-cau-hinh/config.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.
