DayZ
DiscordChat
 此主题已被置顶,因此可能具有重要性
Mrtea101  [开发者] 2022 年 4 月 1 日 下午 2:13
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 } ] }
最后由 Mrtea101 编辑于; 2022 年 4 月 1 日 下午 2:17
< >
正在显示第 1 - 5 条,共 5 条留言
PrlzRaK 2023 年 7 月 10 日 上午 3:31 
Hello! For some reason it doesn't work for me with such configs. Only from configs. created automatically.
и у меня не работает с этими параметрами. наверно какието свои надо . это пример тока показано
Rexxenexx 2023 年 7 月 18 日 下午 3:54 
引用自 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 2023 年 8 月 13 日 下午 11:23 
For Some Reason It Is Sending Messages In Chat On Server But Not To Discord What Am I Doing Wrong?
anko c/u/nt 2023 年 8 月 23 日 下午 7:17 
mb need app and invite bot
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50