DayZ
DevCa_PlayerCounter
[DEV] Carlos  [developer] 24 Aug @ 9:12pm
Webhook Discord Example
🇺🇸 EN — How to fill the Discord webhook in the JSON

🧭 Get your webhook:
1) Discord → Server Settings → Integrations → Webhooks → New Webhook → Copy Webhook URL.

🔗 Example URL (from Discord):
https://discord.com/api/webhooks/[ID]/[TOKEN]

✂️ Split it like this:
• m_WebhookID = [ID]
• m_WebhookToken = [TOKEN]

🧩 Example (copy to your JSON):
"m_WebhookID": "123456789012345678",
"m_WebhookToken": "AbCdEFgHiJKLmNoPQR_stuvwxYZ-0123456789"

✅ Tips
• No spaces or extra slashes. Keep quotes.
• Leave "m_DiscordLang": "auto" (default) unless you want to force a language.

🛠️ Troubleshooting
• 401/Unauthorized → wrong TOKEN
• 404/Not Found → wrong ID
• Nothing posts → check both fields and that the mod is enabled

---

🇧🇷 PT — Como preencher o webhook do Discord no JSON

🧭 Pegue seu webhook:
1) Discord → Config. do Servidor → Integrações → Webhooks → Novo Webhook → Copiar URL.

🔗 URL de exemplo (do Discord):
https://discord.com/api/webhooks/[ID]/[TOKEN]

✂️ Separe assim:
• m_WebhookID = [ID]
• m_WebhookToken = [TOKEN]

🧩 Exemplo (cole no seu JSON):
"m_WebhookID": "123456789012345678",
"m_WebhookToken": "AbCdEFgHiJKLmNoPQR_stuvwxYZ-0123456789"

✅ Dicas
• Sem espaços ou barras extras. Mantenha as aspas.
• Deixe "m_DiscordLang": "auto" (padrão) a menos que queira forçar um idioma.

🛠️ Solução de problemas
• 401/Unauthorized → TOKEN incorreto
• 404/Not Found → ID incorreto
• Nada aparece → confira ambos os campos e se o mod está ativo