Releases: nwesterhausen/valheim-discordconnector
Version 2.3.3
What's Changed
- fix: version log files (closes #315) by @nwesterhausen in #316
Full Changelog: v2.3.2...v2.3.3
Version 2.3.2
Built against the latest version of Valheim (0.219.14, the Bog Witch update).
Fixes
- Logging improvements for the Discord webhook requests
- Logging improvements for all our logs (a copy is saved to BepInEx/config/games.nwest.valheim.discordconnector/vdc.log)
These changes for logging are to help with troubleshooting plugin issues without requiring the full server log to do so (although sometimes it would be necessary to see the full server log).
2.3.1 Timestamps and Active Players only when Online
Features
- Added a few new variables related to timestamps and time
%TIMESTAMP%
- replaced with<t:UNIX_TIMESTAMP>
which Discord will convert to the user's local time%TIMESINCE%
- replaced with<t:UNIX_TIMESTAMP:R>
which Discord will convert to a relative time (e.g. 2 hours ago)%UNIX_TIMESTAMP%
- replaced with the UNIX timestamp of the event (e.g. 1634567890). This can be used to create a custom timestamp format in the message.- Added a configuration option for the Active Players announcement which will allow you to disable the announcement when no one is online.
v2.3.0
Features
- support up to 16 additional webhooks (adds a new config file,
discordconnector-extraWebhooks.cfg
) - support restricting/allowing Discord mentions in messages (
@here
and@everyone
are disabled by default -- possibly a breaking change) - custom variables are now evaluated again for any embedded variables in the message
- added new configuration values to allow specifying a custom username and avatar for each webhook (to override the Discord webhook settings)
- added a configuration value that sets a default username for all webhooks (if not overridden)
Fixes
- no longer relies on the
ZNet.GetPublicIP()
method and instead gets the public IP on its own at server start. %NUM_PLAYERS%
proactively subtracts 1 if the event is a player leaving
Full Changelog: v2.2.2...v2.3.0
v2.2.2
What's Changed
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.
Full Changelog: v2.2.1...v2.2.2
2.2.1 New Day Messages
What's Changed
- Add ability to report the current day number. by @jterrace in #264
- docs: update docs by @nwesterhausen in #265
Full Changelog: v2.2.0...v2.2.1
2.2.0 Ashlands & Time Online
2.1.17 Built on Valheim 0.217.38
Built against the current version of Valheim.
2.1.16
Fixes:
- include additional JSON dependency
2.1.15 Hildir's Request and new BepInEx
Version updates to latest Valheim BepInEx bundle 5.4.2201