DayZ
DevCa_PlayerCounter
9 Comments
[DEV] Carlos  [author] 24 Aug @ 9:13pm 
⚠️ Não é mais só server: instale em servidor + cliente. Se for só servidor, o HUD não aparece (o Discord continua).
[DEV] Carlos  [author] 24 Aug @ 9:13pm 
⚠️ No longer server-only: install on BOTH server + client. If server-only, players see nothing on HUD (Discord still posts).
[DEV] Carlos  [author] 24 Aug @ 9:12pm 
🇧🇷 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
[DEV] Carlos  [author] 24 Aug @ 9:12pm 
🇺🇸 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
Sparky 22 Aug @ 9:48am 
Nice mod. Your example config in the description is incorrect though. The m_WebhookID should not have the initial "https://discord.com/api/webhooks/" bit. This confused me until I noticed the images you uploaded, one of which show the correct example values (the other one is also wrong but in a different way than the description example). Thank you for the mod though!
[DEV] Carlos  [author] 31 May @ 4:10pm 
@DUQUE o mod sempre vai reconhecer o idioma do dayz de quem estiver jogando. Se o seu Dayz está em português ele vai ficar em PT-BR se estiver em qualquer outro idioma ele vai reconhecer automaticamente e mudar. Se tiver varios jogadores cada um com idiomas diferentes, ele vai aparecer no idioma de cada um.
DUQUE 29 May @ 11:21am 
Como eu altero o idioma, meu servidor é BR, porém as notificações aparecem em ING;
Velociraptor 29 May @ 9:07am 
if you can make the interface nicer that would be great
Velociraptor 29 May @ 9:05am 
thank u guy