Skip to content

Releases: nwesterhausen/valheim-discordconnector

Version 2.3.3

22 Nov 16:37
75fb1a4
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.3.2...v2.3.3

Version 2.3.2

21 Nov 22:00
0487e39
Compare
Choose a tag to compare

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

17 Jun 13:48
Compare
Choose a tag to compare

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

12 Jun 20:12
c8b32e4
Compare
Choose a tag to compare

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

07 Jun 20:30
15deec9
Compare
Choose a tag to compare

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

31 May 14:18
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.2.0...v2.2.1

2.2.0 Ashlands & Time Online

29 May 13:07
Compare
Choose a tag to compare

Features

  • Working time online leaderboard (@jterrace)

Fixes

  • Build against the Ashlands update
  • Properly calculate time online (@jterrace)
  • Ping show the ping POS instead of player's POS (@Jimw383)

New Contributors

2.1.17 Built on Valheim 0.217.38

15 Jan 15:39
Compare
Choose a tag to compare

Built against the current version of Valheim.

2.1.16

29 Oct 20:19
Compare
Choose a tag to compare

Fixes:

  • include additional JSON dependency

2.1.15 Hildir's Request and new BepInEx

29 Oct 19:35
Compare
Choose a tag to compare

Version updates to latest Valheim BepInEx bundle 5.4.2201