Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Discord Setup Guide
Updated a month agoConnect Discord GIFs to a Discord channel to share your manual captures and death GIFs automatically.
1. Create a Discord webhook
Open Discord on your computer:
- Select your server and open Server Settings.
- Go to Integrations → Webhooks.
- Click Create Webhook or New Webhook.
- Choose the text channel where GIFs should appear, such as #valheim-moments.
- Set a default webhook name and avatar.
- Save your changes and click Copy Webhook URL.
If you cannot create a webhook, ask a server administrator to create one for you or grant the Manage Webhooks permission.
Keep the webhook URL private. Anyone with this URL can use it to post messages through that webhook.
2. Connect the mod
- Launch Valheim through your mod manager with Discord GIFs and its dependencies installed.
- Press F1 to open ConfigurationManager.
- Select Discord GIFs.
- Expand 03 - Discord.
- Find Webhook do Discord and click Colar (“Paste”) to insert the copied URL.
Both manual captures and death captures use this webhook and send to the same channel. Leave the webhook field empty to save GIFs locally without uploading them.
3. Customize names and avatars
You can give manual captures and death captures different identities while using the same webhook.
| Configuration group | Settings |
|---|---|
| 05 - Discord manual | Sender name, avatar URL and optional footer for manual captures |
| 06 - Discord morte | Sender name, avatar URL and optional footer for death captures |
For example:
| Setting | Manual capture | Death capture |
|---|---|---|
| Sender name | Odin | Hel |
| Avatar | A public image URL for Odin | A public image URL for Hel |
| Footer | Adventures in Valheim | Another Viking joins Valhalla |
Avatar URLs must point directly to a publicly accessible image. Local file paths and private image links will not work.
Leave a sender name empty to use Nome do remetente from 03 - Discord. Leave an avatar URL empty to use the webhook’s default avatar.
Footers are optional. Adding one displays the GIF inside an embed with the footer below it. Leave it empty for the simple GIF attachment layout.
4. Customize messages
In 03 - Discord, edit:
- Mensagem da captura manual — the message for captures triggered by the hotkey.
- Mensagem ao morrer — the message for death captures.
Use {player} to insert the character’s name. The mod automatically displays it in bold.
Example manual message:
{player} captured this adventure!
Example death message:
{player} went to Valhalla! Their final moments were recorded...
For a character named Ragnar, the death message appears as:
Ragnar went to Valhalla! Their final moments were recorded...
You can also use {player} in footers, but footer text does not support bold formatting.
5. Test your setup
- Make sure capture is enabled under 01 - Geral.
- Close ConfigurationManager and enter a world.
- If FFmpeg is downloading on first launch, wait until it finishes.
- Keep the game focused for at least 5 seconds.
- Press F8, the default capture hotkey.
- Wait for the GIF to finish processing, then check your Discord channel.
Manual capture saves the previous 4 seconds. When death capture is enabled, the mod waits 2 seconds after death before finishing the GIF, including moments before and after the event.
Opening ConfigurationManager or switching away from the game clears the capture buffer. Wait another 5 seconds before testing again.
Troubleshooting
- GIF saves locally but does not appear in Discord: Check the webhook URL and confirm that it still exists in your server’s integrations.
- Wrong channel: Edit the webhook’s destination channel in Discord.
- Avatar does not appear: Check that the URL opens the image directly without requiring a login.
- Discord rejects the file size: Lower Tamanho maximo do GIF (MB) under 03 - Discord to match your server’s upload limit.
- Another capture does not start immediately: The default cooldown is 15 seconds, and only one GIF can be exported at a time.
GIFs are saved locally even if uploading fails. By default, they are stored in the clips folder next to the mod’s DLL.