From 15deec9bd032e1a494dece0601e5bb3c978266c9 Mon Sep 17 00:00:00 2001 From: Nicholas Westerhausen <2317381+nwesterhausen@users.noreply.github.com> Date: Fri, 7 Jun 2024 16:29:19 -0400 Subject: [PATCH] chore: bump version to 2.2.2 --- Metadata/DiscordConnector-Nexus.readme | 2 +- Metadata/README.md | 25 ++++++++++++------------- Metadata/manifest.json | 2 +- Metadata/thunderstore.toml | 2 +- docs/changelog.md | 18 ++++++++++++++++++ src/PluginInfo.cs | 2 +- 6 files changed, 34 insertions(+), 17 deletions(-) diff --git a/Metadata/DiscordConnector-Nexus.readme b/Metadata/DiscordConnector-Nexus.readme index 2671ce2..abf5870 100644 --- a/Metadata/DiscordConnector-Nexus.readme +++ b/Metadata/DiscordConnector-Nexus.readme @@ -1,4 +1,4 @@ -DISCORD CONNECTOR - 2.2.1 +DISCORD CONNECTOR - 2.2.2 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 af32f57..e77579b 100644 --- a/Metadata/README.md +++ b/Metadata/README.md @@ -32,23 +32,22 @@ See the [current roadmap](https://github.com/nwesterhausen/valheim-discordconnec - More statistics trackable/able to be sent - New day messages -## Changelog +## Abridged Changelog -## Version 2.2.1 +### Version 2.2.2 Features -- Server New Day event and message (@jterrace) -- `%DAY_NUMBER%` variable replacement (@jterrace) - -## Version 2.2.0 - -Features - -- Working time online leaderboard (@jterrace) +- add `%JOIN_CODE%` variable which will show the join code if crossplay is enabled +- add `%NUM_PLAYERS%` variable which will show the number of online players Fixes -- Build against the Ashlands update -- Properly calculate time online (@jterrace) -- Ping show the ping POS instead of player's POS (@jimw383) +- updated the documentation to reflect how `%WORLD_NAME%`, `%PUBLIC_IP%`, and `%DAY_NUMBER%` can be +in any messages and be replaced. + +Note: At server startup, some variables may not be available. They all should be available when server +is launched, but the join code may take a bit longer to display -- more testing is needed to know exactly +how much extra time it needs on average. If it is consistently unavailable, please file an issue and we +can come up with either a delayed startup message or another event that fires when the code becomes not +empty or changes. diff --git a/Metadata/manifest.json b/Metadata/manifest.json index 0ef9c34..fc2d7c7 100644 --- a/Metadata/manifest.json +++ b/Metadata/manifest.json @@ -1,6 +1,6 @@ { "name": "DiscordConnector", - "version_number": "2.2.1", + "version_number": "2.2.2", "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": [ diff --git a/Metadata/thunderstore.toml b/Metadata/thunderstore.toml index 88122b3..8b1aa83 100644 --- a/Metadata/thunderstore.toml +++ b/Metadata/thunderstore.toml @@ -4,7 +4,7 @@ schemaVersion = "0.0.1" [package] namespace = "nwesterhausen" name = "DiscordConnector" -versionNumber = "2.2.1" +versionNumber = "2.2.2" 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/docs/changelog.md b/docs/changelog.md index 97b1237..7efbf17 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,6 +2,24 @@ A full changelog of changes, dating all the way back to the first release. +## Version 2.2.2 + +Features + +- add `%JOIN_CODE%` variable which will show the join code if crossplay is enabled +- add `%NUM_PLAYERS%` variable which will show the number of online players + +Fixes + +- updated the documentation to reflect how `%WORLD_NAME%`, `%PUBLIC_IP%`, and `%DAY_NUMBER%` can be +in any messages and be replaced. + +Note: At server startup, some variables may not be available. They all should be available when server +is launched, but the join code may take a bit longer to display -- more testing is needed to know exactly +how much extra time it needs on average. If it is consistently unavailable, please file an issue and we +can come up with either a delayed startup message or another event that fires when the code becomes not +empty or changes. + ## Version 2.2.1 Features diff --git a/src/PluginInfo.cs b/src/PluginInfo.cs index 32e9454..cec8564 100644 --- a/src/PluginInfo.cs +++ b/src/PluginInfo.cs @@ -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.2.1"; + public const string PLUGIN_VERSION = "2.2.2"; public const string PLUGIN_REPO_SHORT = "github: nwesterhausen/valheim-discordconnector"; public const string PLUGIN_AUTHOR = "Nicholas Westerhausen"; public const string SHORT_PLUGIN_ID = "discordconnector";