Connect your Valheim server to a Discord Webhook. (How to get a webhook)
Plugin available on Thunderstore.io or NexusMods.
See the README for the plugin.
See the changelog.
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).
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
.
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.
Thanks for the helpful contributions!
- @Digitalroot
- @nwesterhausen