BỘ FULL API PHÙ HỢP SCRIPT apiokx_legendary_haki_fixed_v2
=========================================================
Tên miền: https://toandraco.online

Script chạy:
- all_event_api_toandraco.lua
- apiokx_legendary_haki_fixed_v2_toandraco.lua

Hai file trên có cùng logic. Chỉ chạy MỘT file, không chạy đồng thời cả hai.
BASE_URL đã được đổi sẵn thành https://toandraco.online.

DANH SÁCH 15 ENDPOINT SCRIPT ĐANG GỌI
-------------------------------------
1.  https://toandraco.online/apifmdt.php
2.  https://toandraco.online/api_rip_indra.php
3.  https://toandraco.online/api_dough_king.php
4.  https://toandraco.online/api_soul_reaper.php
5.  https://toandraco.online/api_cake_prince.php
6.  https://toandraco.online/api_cake_queen.php
7.  https://toandraco.online/api_cursed_captain.php
8.  https://toandraco.online/api_darkbeard.php
9.  https://toandraco.online/api_elite.php
10. https://toandraco.online/api_berry.php
11. https://toandraco.online/api_prehistoric.php
12. https://toandraco.online/api_mirage.php
13. https://toandraco.online/api_castle.php
14. https://toandraco.online/api_legendary_haki_final.php
15. https://toandraco.online/api_legendary_sword_dealer.php

ALIAS TƯƠNG THÍCH
-----------------
https://toandraco.online/api_legendary_haki.php
Endpoint này dùng chung dữ liệu và validation với api_legendary_haki_final.php,
để các script cũ vẫn hoạt động.

PAYLOAD POST SCRIPT GỬI
-----------------------
{
    "jobid": "Roblox JobId",
    "player": "3/12",
    "placeid": 100117331123089,
    "type": "elite",
    "name": "Diablo"
}

Các endpoint có kiểm tra tên:
- Elite: Diablo, Urban, Deandre
- Berry: Red Cherry Berry, White Cloud Berry, Pink Pig Berry
- Legendary Haki: Snow White, Pure Red, Winter Sky
- Legendary Sword Dealer: Shisui, Saddi, Wando

THỜI GIAN TỰ XÓA
----------------
Full Moon: 600 giây
Rip Indra: 60 giây
Dough King: 60 giây
Soul Reaper: 60 giây
Cake Prince: 60 giây
Cake Queen: 60 giây
Cursed Captain: 150 giây
Darkbeard: 60 giây
Elite: 120 giây
Berry: 120 giây
Prehistoric Island: 160 giây
Mirage Island: 120 giây
Castle Event: 65 giây
Legendary Haki: 250 giây
Legendary Sword Dealer: 250 giây

CÀI ĐẶT
-------
1. Giải nén gói.
2. Upload TOÀN BỘ nội dung bên trong thư mục lên public_html của toandraco.online.
3. Không xóa api_common.php.
4. Đảm bảo thư mục data có quyền ghi (thường 0755 hoặc 0775).
5. Không cần index.php.
6. Chạy một trong hai file Lua đã nêu ở đầu README.

KẾT QUẢ GET
-----------
Mở từng endpoint bằng trình duyệt sẽ nhận:
{
    "count": 1,
    "data": [
        {
            "jobid": "...",
            "placeid": 100117331123089,
            "player": 3,
            "name": "Diablo"
        }
    ]
}

Trường name chỉ xuất hiện ở API cần phân biệt tên.
