DayZ
DiscordChat
 This topic has been pinned, so it's probably important
Mrtea101  [developer] 1 Apr, 2022 @ 2:13pm
Config Examples
Logging every message but only sending global to discord:
{ "logDirect": 1, "logGlobal": 1, "Servers": [ { "id": "123456789123456789", "token": "NpKQh2EKVH7ptCfb-1kbRiaQf6ceoyPahv1NLiBh4OapYdY6HMF_fxzTY9zsZCFkjyk-", "sendDirect": 0, "sendGlobal": 1 } ] }

Logging nothing, sending only global to one server, and every message to another server
{ "logDirect": 0, "logGlobal": 0, "Servers": [ { "id": "123456789123456789", "token": "NpKQh2EKVH7ptCfb-1kbRiaQf6ceoyPahv1NLiBh4OapYdY6HMF_fxzTY9zsZCFkjyk-", "sendDirect": 0, "sendGlobal": 1 }, { "id": "987654321987654321", "token": "Ow6HWBOKOKth4thp-5Ngrie9SlhtlwHenxrhwrkwnxHwotyFLTP_yeBS6h8lwPKWptb-", "sendDirect": 1, "sendGlobal": 1 } ] }
Last edited by Mrtea101; 1 Apr, 2022 @ 2:17pm
< >
Showing 1-5 of 5 comments
PrlzRaK 10 Jul, 2023 @ 3:31am 
Hello! For some reason it doesn't work for me with such configs. Only from configs. created automatically.
и у меня не работает с этими параметрами. наверно какието свои надо . это пример тока показано
Rexxenexx 18 Jul, 2023 @ 3:54pm 
Originally posted by PrlzRaK:
Hello! For some reason it doesn't work for me with such configs. Only from configs. created automatically.

JSONs are sensitive to format. Hopefully you are using something like Notepad++. I usually Ctrl+A and Edit>Blank Operations>TAB to Space. That'll make sure you don't have Tabs instead of Spaces which would make it invalid. If it still doesn't work, check the arrays. Make sure there isn't a comma on the last item/array or something like that.
Cher 13 Aug, 2023 @ 11:23pm 
For Some Reason It Is Sending Messages In Chat On Server But Not To Discord What Am I Doing Wrong?
anko ♥♥♥♥ 23 Aug, 2023 @ 7:17pm 
mb need app and invite bot
< >
Showing 1-5 of 5 comments
Per page: 1530 50