Skip to content

Releases: nwesterhausen/valheim-discordconnector

2.0.3 Pin BePinEx dependency

11 Nov 14:14
Compare
Choose a tag to compare

Other Changes:

  • Set BepInEx depencency to eactly 5.4.19 instead of 5.* (this stops a warning from showing up)

2.0.2 Shout Fix

06 Nov 16:33
118ae1b
Compare
Choose a tag to compare

If a shout is performed by a player that isn't a real player (like a mod), it would break the shout call from working. This is because Discord Connector was trying to lookup the player's details and encountering null. The plugin now checks for that and returns early if null is found.

Fixes:

  • Detect if a shout is by a non-player and gracefully exit.

2.0.1 Player Platform IDs

03 Nov 22:52
Compare
Choose a tag to compare

With this update, we bring back Steam_ID variable inclusion and leaderboard message sending (respecting your config settings). I recommend you replace your discordconnector.valheim.nwest.games-records.db database, since the records will not line up and will be essentially soft-reset because the column name changed with the different type of data. Steam IDs are prefaced with 'Steam_' now, so you could migrate your stat database with a bit of effort. I believe this could all be done with queries inside the LiteDB Query Tool.

Fixes:

  • Periodic leaderboard messages sending will now respect your config value intead of never sending
  • The STEAMID variable works again. An alias is the PLAYERID variable, which does the same thing -- they both provide the full player id, so Steam_<SteamID> or XBox_<XBoxID>

Breaking changes:

  • Player IDs are tracked in the stat database using a new column name, which resets any stat tracking because the player ID is used to resolve to a single player by combining with the character name.

2.0.0 Fix Changes from PlayFab

02 Nov 23:36
Compare
Choose a tag to compare

Previous version broke with the new updates to Valheim using the PlayFab server stuff. Previously, the steam ID was grabbed directly from the socket but that doesn't work anymore. To get something workable (the other messages work), I have removed the code which tried to get the SteamID and disabled leaderboard sending.

Breaking changes:

  • Removed steamid variable (internally) and tracking stats by steamid. This broke with the PlayFab changes to Valheim. It will be a bit involved to figure out how to deliver the same thing again, so if you have an idea or seen it done in another mod, please reach out with a Github Issue or ping on Discord.
  • Leaderboard records will reset and a new database with suffix '-records2.db' will be saved anew. This is because what is being tracked is changed (used to be steamid, now it is using the character id).
  • Perodic leaderboard messages will not send, ignoring the setting in the config (for now). This is until a more reliable method of determining players apart.

1.8.0 Async Webrequests

07 Aug 11:54
c795f86
Compare
Choose a tag to compare

Features:

  • Web requests to Discord API are async instead of blocking the main thread

Fixes:

  • Handles the edge case when a toggle was enabled but the text in 'messages' for that toggle was blank, the plugin would crash. (e.g. if 'send shout' toggle was true but the 'shout message' was blank, in prior versions this would crash the plugin)

1.7.1 Shout Fixes

27 Jul 18:42
54c6057
Compare
Choose a tag to compare

Fixes:

  • Ignore player regex was matching everything if not set. Now if it is not set, it will match nothing.
  • Player shout messages were not including enough information for formatting. Now they properly include steamId and shout text.

1.7.0 Add Messaage Variable for SteamID

19 Jul 15:47
79de79a
Compare
Choose a tag to compare

Version 1.7.0

Features:

  • New variable available for messages: %PLAYER_STEAMID% which gets replaced with the player's Steam ID

Other Changes:

  • Switched from ipify.org to ipconfig.me for grabbing public IP address

1.6.1 Bugfix for Regex Config Error

18 Jun 12:15
Compare
Choose a tag to compare

Fixes:

  • Errors when accessing the ignored players regex

There was a typo that was affecting the way the config file was read. I didn't run into this in my testing on Windows but was able to duplicate this on Linux after it was reported. Thank you to those who reported this.

1.6.0 Regex and Hot Config Reloading

18 May 22:00
a60778d
Compare
Choose a tag to compare

Finally a new release! This on is mainly some small features and bugfixes from the github issues backlog.

Features:

  • New configuration setting, "Ignored Players (Regex)" lets you specify a regular expression to ignore players.
  • Configuration is reloaded when a change is detected.
  • The records database is saved in the BepInEx config directory.

Fixes:

  • Handle exceptions that occur when checking the public IP from ipify.org
  • Fully quality the records database to avoid any possible conflicts

Breaking Changes:

  • Removed conversion code which would convert records.json into records.db.

    If you need to make use of that automatic conversion, load the 1.5.3 version of the plugin once before upgrading.

1.5.3 Interval Fix

01 Nov 20:03
1a7aba5
Compare
Choose a tag to compare

Fixes:

  • Leaderboard interval was half of what it should be