Closed mbround18 closed 3 years ago
A variation of this that would also be appreciated is a more generic webhook, so that custom software could be integrated. e.g. A generic webhook could send messages to an HTTP server that can turn around and send to Slack, Matrix, or Pushover.
Can you expand a bit on how that would work? Are there exiting solutions that can translate some generic webhook requests to different platforms, or is that something we would need to work on?
I could throw together something like that where it sends a post with a a documented request body? And then add a mutation layer for discord specific events. Thoughts?
Would that be within odin
or a separate service? I think a web server that can be spawned with options to relay the messages to slack, discord, etc. could work well, but if there is a pre-existing service that already basically does that then it would be nice to leverage too.
This would be an Odin option using ureq to post to an outgoing webhook.
Typical infrastructure for something like this would be
Odin -> post request -> webhook -> an independent webserver ingests it and sends it to where it needs to go.
In the case of discord or similar chat platforms it could be simplified by sending directly to discord through their interface for a webhook which is why I suggested the mutation for discord etc. I am working on a demo of this right now :)
Start successful does not necessarily mean Valheim actually started properly. If you run with mods or have funky issues then it will say started successfully but still bomb in console log.
However, stop successfully is a good indicator if your server saved and exited appropriately <3
Acceptance Criteria: