Don't Starve Together

Don't Starve Together

196 ratings
Discord Death Announcements
7
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
74.013 KB
19 Aug, 2020 @ 6:13pm
19 Aug, 2020 @ 6:56pm
3 Change Notes ( view )

Subscribe to download
Discord Death Announcements

Description
Announces deaths on your DST server to your Discord server using a webhook.

MAY BE AFFECTED BY MOD API CHANGES: see https://forums.kleientertainment.com/forums/topic/163519-mod-api-discussion-thread/

Use in the console to set the webhook URL that you got from Discord's webhook menu. You should only have to do that once per server.

Supports some mod characters! If you want me to add your mod character, send me the prefab name and the character's icon in this thread.

More info if you haven't used webhooks before: Basically, you give this mod a special URL that you get from Discord, and it uses it to send messages into a server. Here are some detailed instructions if you need them:

  1. Open your Discord server's settings. Go to Integrations and add a New Webhook. Set the channel to the channel that you want the death announcements to show up in. The name and icon don't matter because they'll get overridden.
  2. Copy the webhook URL.
  3. Open Don't Starve Together. Enable this mod on your server. Start the server. Press the ~ key to open the console, and type in:
    SetDiscordWebhook("URL")
    where URL is replaced by the webhook URL that you copied earlier. Make sure that the word on the left says Remote and not Local. If it says Local, press Ctrl to switch it to Remote. Then press enter.
  4. If you want to test the mod, try this command:
    SendDiscordMessage("test")
    It should send a message into your Discord server.

There's also a video tutorial in the gallery above.
Popular Discussions View All (1)
3
27 Aug, 2020 @ 1:24pm
Mod Character Requests
pixelatedInadequacy
38 Comments
JDannae 19 May @ 9:47pm 
Guys, I think it stopped working. I thought I'd added it incorrectly on my other server, but it stopped showing up on the old one. :steamsad: :steamsad:
GoodSensi 26 Mar @ 12:27pm 
Is it still working? I have tried 100 times and notching :(
JDannae 23 Sep, 2024 @ 2:17pm 
It works but not with deaths in caves. Do I have to change something in .lua file?
田中 18 Jul, 2023 @ 11:40pm 
shmunngus 13 Feb, 2023 @ 5:48am 
For me only worked after I manually pushed a death to a player on the server through console via AllPlayers[number]:PushEvent('death') (replace number with any player number). After that the mod works as intended.
冷泠 20 Jun, 2021 @ 12:45am 
still works?
Bopler 31 Dec, 2020 @ 4:38am 
Love it, would be nice to be able to add some extra text to the end of the message. Would use it to input a command into my server's music bot whenever someone died
=^´• ⋏ •`^= 20 Dec, 2020 @ 2:21am 
how do you disable the discord message sent
NAVI NITRO 21 Nov, 2020 @ 7:42am 
Does this mode only tell the discord that one server dies?
sλturnzmon 5 Nov, 2020 @ 12:42pm 
boss deaths announcements when?