diff --git a/Metadata/DiscordConnector-Nexus.readme b/Metadata/DiscordConnector-Nexus.readme index 6925a0a..4cb0ae7 100644 --- a/Metadata/DiscordConnector-Nexus.readme +++ b/Metadata/DiscordConnector-Nexus.readme @@ -1,4 +1,4 @@ -DISCORD CONNECTOR - 2.0.4 +DISCORD CONNECTOR - 2.1.9 Connect your Valheim server to a Discord Webhook. Works for both dedicated and client-hosted servers. (Visit the github repo for a how-to guide.) :: REQUIREMENTS :: diff --git a/Metadata/README.md b/Metadata/README.md index 11f0c19..ba1be7a 100644 --- a/Metadata/README.md +++ b/Metadata/README.md @@ -29,12 +29,29 @@ Connect your Valheim server (dedicated or served from the game itself) to a Disc See the [current roadmap](https://github.com/nwesterhausen/valheim-discordconnector/projects/1) as a Github project. -- Multiple webhook support - More statistics trackable/able to be sent - New day messages ## Changelog +## Version 2.1.9 + +Adds a requested feature for a second webhook. Both webhooks can be configured to accept messages of any type that Discord +Connector sends, and by default (to be non-breaking) they will send all messages (which is the behavior of 2.1.8 and previous). +Some plugins which may make use of Discord Connector's webhook to send messages can use the same method for sending and will +be tagged as 'other' webhook events. For a full list of what webhook events can be configured, see the +[documentation](https://discordconnector.valheim.nwest.games/config/main.html#webhook-events). + +Features: + +- Adds a second webhook entry +- Adds webhook events configuration entries (webhooks can be configured to only send certain messages) + +Fixes: + +- Empty leaderboards now send an empty leaderboard (instead of not sending anything) +- Configuration for how to differentiate players may have swapped the Name and NameAndPlayerId definitions + ### Version 2.1.8 Fixes: diff --git a/Metadata/manifest.json b/Metadata/manifest.json index 84eff1d..2ab5efa 100644 --- a/Metadata/manifest.json +++ b/Metadata/manifest.json @@ -1,6 +1,6 @@ { "name": "DiscordConnector", - "version_number": "2.1.8", + "version_number": "2.1.9", "website_url": "https://discordconnector.valheim.nwest.games/", "description": "Connects your Valheim server to a Discord webhook. Works for both dedicated and client-hosted servers.", "dependencies": ["denikson-BepInExPack_Valheim-5.4.1901"] diff --git a/Metadata/thunderstore.toml b/Metadata/thunderstore.toml index 81aa965..a241e3d 100644 --- a/Metadata/thunderstore.toml +++ b/Metadata/thunderstore.toml @@ -4,7 +4,7 @@ schemaVersion = "0.0.1" [package] namespace = "nwesterhausen" name = "DiscordConnector" -versionNumber = "2.1.8" +versionNumber = "2.1.9" description = "Connects your Valheim server to a Discord webhook. Works for both dedicated and client-hosted servers." websiteUrl = "https://discordconnector.valheim.nwest.games/" containsNsfwContent = false diff --git a/README.md b/README.md index dad8123..0e1abd2 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![Build](https://github.com/nwesterhausen/valheim-discordconnector/actions/workflows/dotnet.yml/badge.svg)](https://github.com/nwesterhausen/valheim-discordconnector/actions/workflows/dotnet.yml) [![Publish](https://github.com/nwesterhausen/valheim-discordconnector/actions/workflows/publish.yml/badge.svg)](https://github.com/nwesterhausen/valheim-discordconnector/actions/workflows/publish.yml) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/nwesterhausen/valheim-discordconnector?label=Github%20Release&style=flat&labelColor=%2332393F)](https://github.com/nwesterhausen/valheim-discordconnector/releases/latest) -[![Thunderstore.io](https://img.shields.io/badge/Thunderstore.io-2.1.8-%23375a7f?style=flat&labelColor=%2332393F)](https://valheim.thunderstore.io/package/nwesterhausen/DiscordConnector/) +[![Thunderstore.io](https://img.shields.io/badge/Thunderstore.io-2.1.9-%23375a7f?style=flat&labelColor=%2332393F)](https://valheim.thunderstore.io/package/nwesterhausen/DiscordConnector/) [![NexusMods](https://img.shields.io/badge/NexusMods-2.0.6-%23D98F40?style=flat&labelColor=%2332393F)](https://www.nexusmods.com/valheim/mods/1551/) Connect your Valheim server to Discord. ([See website for installation or configuration instructions](https://discordconnector.valheim.nwest.games/)). This plugin is largely based on [valheim-discord-notifier](https://github.com/aequasi/valheim-discord-notifier), but this plugin supports randomized messages, muting players, and Discord message embeds. diff --git a/src/PluginInfo.cs b/src/PluginInfo.cs index cf92431..7200f00 100644 --- a/src/PluginInfo.cs +++ b/src/PluginInfo.cs @@ -8,7 +8,7 @@ [assembly: AssemblyVersion(PluginInfo.PLUGIN_VERSION)] [assembly: AssemblyTitle(PluginInfo.PLUGIN_NAME + " (" + PluginInfo.PLUGIN_ID + ")")] [assembly: AssemblyProduct(PluginInfo.PLUGIN_NAME)] -[assembly: AssemblyCopyright("© 2022 " + PluginInfo.PLUGIN_AUTHOR + " Repository at " + PluginInfo.PLUGIN_REPO_SHORT)] +[assembly: AssemblyCopyright("© 2023 " + PluginInfo.PLUGIN_AUTHOR + " Repository at " + PluginInfo.PLUGIN_REPO_SHORT)] #endregion namespace DiscordConnector; @@ -16,7 +16,7 @@ internal static class PluginInfo { public const string PLUGIN_ID = "games.nwest.valheim.discordconnector"; public const string PLUGIN_NAME = "Valheim Discord Connector"; - public const string PLUGIN_VERSION = "2.1.8"; + public const string PLUGIN_VERSION = "2.1.9"; public const string PLUGIN_REPO_SHORT = "github: nwesterhausen/valheim-discordconnector"; public const string PLUGIN_AUTHOR = "Nicholas Westerhausen"; public const string SHORT_PLUGIN_ID = "discordconnector";