# 🔄 Phiên bản: v2.0

#### 🦈 SharkAFK v2.0 – Changelog

**🔥 Tính năng mới:**

* ✅ **Hệ thống thanh hiển thị AFK hoàn toàn mới**:
  * `classic`: Hiển thị thời gian AFK truyền thống.
  * `progress-only`: Hiển thị tiến trình bằng ký tự đơn giản.
  * `bar-box`: Thanh tiến trình dạng hộp có phần trăm.
  * `runner`: Ký tự chạy qua bar (kiểu hoạt hình).
  * &#x20;`pulse`: Thanh bar “đập nhịp” – đầy rồi rỗng theo chu kỳ.
  * `zigzag`: Ký tự chạy trái ↔ phải và ngược lại.
* Custom Chỉnh sửa hiển thị động, hoạt hình ảnh bằng texturepack riếng biệt.

**📊 Hiển thị theo chu kỳ thời gian động:**

* Thanh bar **reset lại** sau mỗi chu kỳ 60s, phản ánh đúng từng mốc phần thưởng.

**⚙️ Cấu hình mới:**

* Di chuyển cấu hình từng chế độ hiển thị vào các section riêng (`classic`, `progress-only`, `bar-box`, `runner`, `pulse`, `zigzag`) giúp dễ quản lý.
* Thêm hỗ trợ tùy chỉnh `length`, `symbol`, `color`, `cycle`, v.v.

**🧠 Hệ thống cache thông minh:**

* Tải dữ liệu từ `setting/sharktime.yml` và lưu vào bộ nhớ đệm (cache) để truy xuất nhanh.
* Hỗ trợ reload dữ liệu bằng lệnh admin.

**🛠️ Cải thiện khác:**

* Cập nhật code an toàn hơn với `Math.min`/`Math.max` để tránh lỗi `IllegalArgumentException`.
* Đảm bảo `Actionbar` không bị crash khi thanh bar vượt giới hạn.
* Gửi `Title` mỗi phút nếu bật, và hỗ trợ tùy chỉnh khi đến mốc phần thưởng.


---

# 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/version/phien-ban-v2.0.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.
