/valheim-discordconnector

A plugin to connect a Valheim server to a discord webhook.

Primary LanguageC#

Discord Connector

CodeQL Docs Build Publish GitHub release (latest by date) Thunderstore.io NexusMods

Connect your Valheim server to Discord. (See website for installation or configuration instructions). This plugin is largely based on valheim-discord-notifier, but this plugin supports randomized messages, muting players, and Discord message embeds.

Plugin Details

See the README for the plugin.

Changelog

See the changelog.

Building

Before building, you must update the GameDir property in the csproj file.

Use dotnet to restore and build the project. Post build, the compiled library and its dependencies get copied into bin/DiscordConnector which enables you to simply copy that folder into $(GameDir)/BePinEx/plugins for testing.

The compiled plugin will be in a zip ready for upload at bin/DiscordConnector.zip.

Dependencies

For JSON serialization, using Newtonsoft.Json

For data storage/retrieval using LiteDB (If you want to read the database file generated, you can use LitDB Studio)

Contributors

Thanks for the helpful contributions!

  • @Digitalroot
  • @nwesterhausen
  • @thedefside

Thanks for an excellent original plugin @aequasi!