Skip to content

nwesterhausen/valheim-discordconnector

Repository files navigation

Discord Connector

CodeQL Build GitHub release (latest by date) Thunderstore.io NexusMods Built against Valheim version

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 LiteDB Studio)

Contributors

Thanks for the helpful contributions!

  • @Digitalroot
  • @nwesterhausen
  • @thedefside
  • @Jimw383
  • @jterrace

Thanks for an excellent original plugin @aequasi!

Release Steps

Before release, to bump the version the following needs changed:

  1. Update the version of the plugin in these files
    • src/PluginInfo.cs
    • Metadata/DiscordConnector-Nexus.readme
    • Metadata/manifest.json
    • Metadata/thunderstore.toml
  2. Finalize the changelog entry in docs/changelog.md
  3. Copy changelog notes into Metadata/README.md