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.
See the README for the plugin.
See the changelog.
To build, first get the path to your Valheim installation and also use the publicize tool to create a publicized version of the game. I'm not sure without that, if it will fail to build or not.
Then, run the following command to build the project:
dotnet build \
-c Release \
/p:GamePath="C:\Program Files (x86)\Steam\steamapps\common\Valheim" \
valheim-discordconnector.sln
Post build, the compiled library and its dependencies get copied into bin/DiscordConnector
which enables you to simply copy that folder into $(GamePath)/BePinEx/plugins
for testing or use.
The compiled plugin will be in a zip ready for upload at bin/DiscordConnector.zip
.
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)
Before release, to bump the version the following needs changed:
- Update the version of the plugin in these files
src/PluginInfo.cs
Metadata/DiscordConnector-Nexus.readme
Metadata/manifest.json
Metadata/thunderstore.toml
- Finalize the changelog entry in
docs/changelog.md
- Copy changelog notes into
Metadata/README.md