Nạp thẻ cào
Nạp thẻ cào - Hỗ trợ nạp thẻ cào tự động thông qua API của Card2K.




Last updated
Nạp thẻ cào - Hỗ trợ nạp thẻ cào tự động thông qua API của Card2K.




Last updated
mocnap:
enabled: true
# Cau hinh thuong theo moc nap (so tien tich luy)
# Su dung %player% de thay the ten nguoi choi
milestones:
10000:
- "give %player% diamond 1"
- "eco give %player% 10000"
20000:
- "give %player% diamond 2"
- "eco give %player% 20000"
...# He so nhan thuong (phai >= 1)
# Neu dat la 2, tat ca cac lenh thuong se duoc thuc thi 2 lan
# Vi du: reward_multiplier: 2 va thuong la "give %player% diamond 1"
# -> Nguoi choi se nhan 2 diamond (lenh chay 2 lan)
reward_multiplier: 1# Khong thuong khi nap sai menh gia
# true: Khong thuong khi nguoi choi khai bao sai menh gia (status = 2)
# false: Van thuong dua tren gia tri thuc cua the (mac dinh)
# Luu y: Khi bat tinh nang nay, nguoi choi van nhan thong bao thanh cong
# nhung khong nhan thuong, khong tinh vao moc nap, khong ghi nhan thong ke
no_reward_on_wrong_amount: false# ============================================
# Discord Webhook Configuration
# Gui thong bao den Discord khi co giao dich the
# ============================================
discord:
enabled: false
webhook_url: ""
bot_name: "Card2K"
avatar_url: ""
# Mau sac embed cho tung trang thai (dang hex khong co #)
colors:
pending: "FFA500"
success: "00FF00"
wrong_amount: "FFFF00"
failed: "FF0000"
# Tieu de embed cho tung trang thai
titles:
pending: "🔄 Thẻ đang được xử lý"
success: "✅ Nạp thẻ thành công"
wrong_amount: "⚠️ Nạp thẻ thành công (sai mệnh giá)"
failed: "❌ Nạp thẻ thất bại"
# Hien thi thong tin trong embed
# Cac placeholder: %player%, %uuid%, %telco%, %amount%, %actual_amount%,
# %serial_masked%, %request_id%, %trans_id%, %status%, %message%
fields:
player: "Người chơi"
uuid: "UUID"
telco: "Nhà mạng"
declared_amount: "Mệnh giá khai báo"
actual_amount: "Giá trị thực"
serial: "Serial"
request_id: "Request ID"
trans_id: "Transaction ID"
status: "Trạng thái"
message: "Thông báo"
footer: "Card2K - Hệ thống nạp thẻ tự động"
show_timestamp: true
# So ky tu cuoi cua serial duoc hien thi (de bao mat)
# Vi du: serial_visible_chars: 4 -> Serial: ****1234
serial_visible_chars: 4
# Cau hinh nha mang va menh gia the
# enabled: true/false - Bat/tat nha mang
# amounts: Danh sach menh gia ho tro cho nha mang do
availability:
VIETTEL:
enabled: true
amounts: [10000, 20000, 30000, 50000, 100000, 200000, 300000, 500000, 1000000]
VINAPHONE:
enabled: true
amounts: [10000, 20000, 30000, 50000, 100000, 200000, 300000, 500000]
MOBIFONE:
enabled: true
amounts: [10000, 20000, 30000, 50000, 100000, 200000, 300000, 500000]
GARENA:
enabled: true
amounts: [20000, 50000, 100000, 200000, 500000]
ZING:
enabled: true
amounts: [10000, 20000, 50000, 100000, 200000, 500000, 1000000]
VCOIN:
enabled: true
amounts: [10000, 20000, 50000, 100000, 200000, 500000, 1000000]# Che do sandbox (moi truong thu nghiem)
# true: Su dung https://sandbox.card2k.com (de test)
# false: Su dung https://card2k.com (moi truong that)
sandbox: true