nwesterhausen / valheim-discordconnector

A plugin to connect a Valheim server to a discord webhook.
https://discord-connector.valheim.games.nwest.one/
MIT License
27 stars 13 forks source link

[BUG] World save/server off/player join/leave messages are not sending correctly #286

Open Aldhari opened 4 months ago

Aldhari commented 4 months ago

Describe the issue My discord channel never receive "finishing shut down"/world save messages, and player join/leave are inconsistent.

Expected behavior To receive all toggled message on discord.

Configuration config-dump.json

Server Environment Server hosted on Dathost

Installed Mods DarwinAwards, ServerCharacters, ReturnToSender, Network

nwesterhausen commented 4 months ago

Sometimes the final shutdown message (or perhaps the starting shutdown) don't get sent based on how the server is terminated. I'm surprised the save message doesn't send sometimes.

Player join/leave should be completely connected to the server accepting and disconnecting players so it's odd that it would be inconsistent -- unless players are not logging off and instead shutting down there game. That can cause things to act funny which Discord Connector isn't set up to react to in the same way as logging off.

You can enable a toggle for Discord Connector to log its debug messages to the game console, which could shed some light on if it is having an issue sending to discord or if the issue is it isn't detecting these events at all.

Are you running the latest version of Discord Connector?

vavavr00m commented 4 months ago

With regards to the join/leave notification inconsistency, it's been reported here and the other users are experiencing the join being sent as death.