Source-checkedChat & community

DiscordConnector

by nwesterhausen · for Valheim

Connects your Valheim server to a Discord webhook. Works for both dedicated and client-hosted servers.

67KDownloads
1d agoLast updated
BepInExLoaders
ThunderstoreSource

About DiscordConnector

From Thunderstore

Connects your Valheim server to a Discord webhook. Works for both dedicated and client-hosted servers.

Discord Connector

Connect your Valheim server (dedicated or served from the game itself) to a Discord Webhook. (Find mod documentation on the official website.)

Features

  • Set your own webhook, lets you configure icon, title, and a target channel
  • Enable or Disable any messages
  • Set what text gets sent for most messages
  • Set more than one message for each type and have one randomly chosen!
  • Record number of logins/deaths/pings and flavor the Discord messages
  • Works with non-dedicated server (games opened to lan from the client)
  • Configure custom leader boards to be sent periodically, listing rankings for any of the tracked stats

Supported Message Notifications

  • Server startup (server starting, loading the world)
  • Server started (world loaded, ready to join)
  • Server shutting down (server stopping)
  • Player join
  • Player leave
  • Player shouting
  • Player pinging
  • Player death
  • Random events start/pause/resume/end

Abridged Changelog

3.2.0 (Valheim 1.0 fixes)

Built and tested against Valheim 1.0.20 (network version 41).

Fixes: server events

  • "Server has started!" and raid/event messages were missing on new worlds and on worlds from before Valheim 1.0
  • Players were counted as dying when they reconnected after a crash or respawned without dying (e.g. teleporting home) (#412, #271, #286)
  • Leaving was only recorded on a clean quit; timeouts, crashes and kicks now count too
  • "Server stopping/stopped" messages were often lost when the server shut down
  • On servers hosted from the game (not dedicated), the host's joins, deaths, shouts and leaves weren't counted

Fixes: shouts and pings

  • Shouts no longer reached Discord since Valheim 0.219; the server now sees them without needing the client plugin

when two or more players are online (#338, #319)

  • The automatic "I have arrived!" shout is no longer posted, in any game language
  • Embedded shout messages ignored the configured message format (#353)
  • %POS% was left in the text of shouts that didn't come from a player

Fixes: Discord messages

  • Messages could arrive out of order; each webhook now sends one message at a time, in order
  • Messages are retried when Discord rate-limits them instead of being lost
  • Webhook event names in the config now ignore upper/lower case, accept other (#382), and accept commas,

colons or spaces between names (#357)

  • A new connection was opened for every message and never cleaned up

Fixes: stats and leaderboards

  • Weekly and other date-range leaderboards dropped records when the range crossed a month or year boundary
  • "Monday to Sunday" leaderboards covered 13 days when posted on a Sunday
  • "Past 7 Days" leaderboards covered 8 days
  • Leaderboard 5 posted leaderboard 4's contents
  • Time online now follows the "How to discern players" setting, no longer lists players with 0 seconds,

and correctly splits sessions that cross midnight

  • Long leaderboards could go over Discord's 1024-character limit, which made Discord reject the whole post
  • Tied players are listed in name order instead of a different order on each post
  • The startup log showed leaderboard periods of a day or more without the days (3 days was logged as 00h:00m)
  • Characters whose names end in a space were treated as new players on every join (#190)
  • Leaderboards and stats no longer crash when the stats database failed to open (#357)
  • Stats are saved with each world save, so less is lost if the server is killed (#214)
  • Closing the stats database could throw an error at shutdown (#326)
  • Stored positions always read back as (0, 0, 0)
  • Stats were written on background threads, which could lose events and hide errors
  • Errors in leaderboard and active-player announcements are now logged instead of silently stopping them (#319, #356)
  • vdc.log could fail with "Sharing violation" when two messages were logged at once

Development

  • New in-server test suite (tests/run-tests.ps1) with a fake Discord webhook server: 46 tests covering joins,

deaths, shouts, webhooks, the stats database and leaderboards

The client plugin is on Thunderstore or can be downloaded from the GitHub releases.

Highlights

From source data

Loaders

Runs on BepInEx.

Footprint

Rated a light load on a server.

Dependencies

Needs 1 other project installed alongside it.

DiscordConnector on Nxeon

From our catalogue
One-click install
Supported on Nxeon Valheim servers, for BepInEx servers. We download it from Thunderstore, place it, and restart the server.
Server side
Required on the server
Server type needed
BepInEx
Server load
light
Smallest plan we suggest
Valheim — 4 GB (4 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
3.2.0, released 2026-11-03

Game versions by loader

LoaderGame versionsNewest
BepInEx

From 26 recorded builds of DiscordConnector.

Recent builds

BuildReleasedGame versionsLoaders
3.2.02026-11-03n/aBepInEx
3.1.32026-08-25n/aBepInEx
3.1.22025-09-20n/aBepInEx
3.1.12025-08-08n/aBepInEx
3.1.02025-03-23n/aBepInEx
3.0.02025-03-05n/aBepInEx

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run DiscordConnector on a Valheim server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Thunderstore as “Content”

Chat & community

Chat, voice, Discord, clans and other community features.

Runs on your server

From source side support

Thunderstore lists DiscordConnector as required on the server. Check its Thunderstore page to see whether players need it too.

Compatibility

Game
Valheim
Loaders
BepInEx
Runs on
Serverrequired on the server
Requires
One-click install needs a BepInEx server. 1 other project installed alongside it.

Verified at the source

  • ✓ThunderstoreOfficial listing, checked 2026-11-04Open ↗
  • ✓Authornwesterhausen, as published on Thunderstore
  • ✓LicenseNot published by the sourceFree

DiscordConnector, answered

Generated from the mod’s own source data.

Do my players need to install DiscordConnector?

Thunderstore lists DiscordConnector as required on the server. Check its Thunderstore page to see whether players need it too.

Which loaders does it support?

BepInEx.

Is it free?

Yes. DiscordConnector is free to download from Thunderstore.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run DiscordConnector on a Valheim server.

Deploy in about a minute from $9.99 a month, then add DiscordConnector in one click.