DayZ
61 个评价
DiscordChat
   
奖励
收藏
已收藏
取消收藏
Type: Mod, Server
Mod Type: Mechanics
文件大小
发表于
更新日期
6.020 KB
2022 年 4 月 1 日 下午 2:07
2022 年 4 月 1 日 下午 2:45
2 项改动说明 ( 查看 )

订阅以下载
DiscordChat

描述
ServerSide Only!

Description:
Configurably capable of logging all ingame chat messages and sending them to discord webhooks. Works with SchanaModGlobalChat

Installation:
1. Copy @DiscordChat from your !Workshop folder to your server folder
2. Add this mod to your "-servermod=" parameter in your server's start batch file
3. If you haven't set up a profiles folder, also add this parameter: "-profiles=profiles"
3. Run the server once, then edit the config files in your server's profiles/DiscordChat folder

Config "id" and "token" ?
Take this webhook url for example:
The "id" will be "123456789123456789"
The "token" will be "NpKQh2EKVH7ptCfb-1kbRiaQf6ceoyPahv1NLiBh4OapYdY6HMF_fxzTY9zsZCFkjyk-"

How to get a discord webhook:
Open your discord server's settings, click `Integrations` then click `Create Webhook`


Name it, attach it to a channel, then click `Copy Webhook URL`


Take, Use, Learn, Repack, Whatever. Have Fun!
热门讨论 查看全部(1)
5
2023 年 8 月 23 日 下午 7:17
置顶: Config Examples
Mrtea101
30 条留言
Wizkid#849 6 月 17 日 下午 9:29 
Worked first time! Thank you
EntityMC 4 月 27 日 下午 9:24 
Working great with schana global chat, thanks!
Exhilarate 2024 年 7 月 31 日 下午 6:32 
What would need to be changed in script to show "[Global]" on discord like it does for "[Direct]"
Bleezo 2024 年 6 月 14 日 上午 11:17 
or u could use cf tools??
can u talk from dis to server?
MPAK 2024 年 2 月 8 日 上午 10:46 
Maggi
MPAK 2024 年 2 月 8 日 上午 10:45 
I threw the mod into the server, created a channel and a webhook for chatting in the discord, copied the channel ID and the webhook, then registered them in the profiles folder in the JSON of the mod. As a result, the mod writes chat logs but does not broadcast it to the discord channel with the chat that I created! What's wrong?
Maggi 2023 年 12 月 19 日 下午 2:56 
To confirm, global does not work with ExpansionChat, but proximity does.
Major Joomla 2023 年 12 月 12 日 上午 8:21 
Hello, I have a problem, logging works, but only the direct chat is transmitted to DC Global chat is not.
PsiXDisPanCeR 2023 年 9 月 7 日 上午 7:12 
It works. Just checked...:steamthumbsup:
Do everything strictly according to the instructions
BigMikeServer 2023 年 8 月 31 日 下午 8:04 
2. Add this mod to your "-servermod=" parameter in your server's start batch file

Where would this go in Omega Manager?