Skip to content

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

Notifications You must be signed in to change notification settings

CruxCraft/valheim-discordconnector

 
 

Repository files navigation

Discord Connector

Connect your Valheim server to a Discord Webhook. (How to get a webhook)

Plugin available on Thunderstore.io or NexusMods.

Plugin Details

See the README for the plugin.

Changelog

See the changelog.

Development

To contribute or modify for a PR etc, simply clone this repository. A good set of steps to follow to prepare your machine for development are listed in the BepInEx docs (essentially, make sure you have the .NET SDK setup, an IDE of your choice like vscode, and that you are prepared to test the compiled plugin after you build it).

Building

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, I chose to use the System.Text.Json library which is part of the most recent .NET but can be used with .NET 4.8 which is used in this project.

Contributors

Thanks for the helpful contributions!

  • @Digitalroot
  • @nwesterhausen

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.2%
  • PowerShell 0.8%