valheim-docker icon indicating copy to clipboard operation
valheim-docker copied to clipboard

Player join/leave webhook

Open mbround18 opened this issue 1 year ago • 1 comments

Description

Contributions

  • [x] Added webhook to discord file
  • [ ] Added line in log parse looking for join/leave

Checklist

  • [ ] I added one or multiple labels which best describes this PR.
  • [ ] I have tested the changes locally.
  • [ ] This PR has a reviewer on it.
  • [ ] I have validated my changes in a docker container and on Ubuntu. (Only needed for Odin or Docker Changes)

mbround18 avatar Oct 03 '24 01:10 mbround18

I am still thinking though how to best implement this, in the logs they dont really have great messages that are succinct. im thinking of creating a players.list in the game folder that tracks visitors

mbround18 avatar Oct 06 '24 19:10 mbround18

@andrewgdunn im sorry this took so long, getting back into it now.

Got some good progress!

image

mbround18 avatar Oct 23 '24 04:10 mbround18

I love it! Thanks for being willing to prototype this!

andrewdunndev avatar Oct 23 '24 15:10 andrewdunndev

@andrewgdunn if u wanna give it a play test the docker image is

mbround18/odin:sha-d23b102

and the flag to enable it is

PLAYER_EVENT_NOTIFICATIONS=1

mbround18 avatar Oct 24 '24 00:10 mbround18

Works great!

andrewdunndev avatar Oct 25 '24 22:10 andrewdunndev

Thank you @andrewgdunn burn in test is complete, this has been merged :) this is available on

https://github.com/mbround18/valheim-docker/releases/tag/v3.0.6

mbround18 avatar Oct 30 '24 07:10 mbround18