https://github.com/ericerkz/valheimdiscordwebhook
A powershell script that monitors Valheim's log file for login, logout and death events and pushes them to a discord webhook.
https://github.com/ericerkz/valheimdiscordwebhook
Last synced: 15 days ago
JSON representation
A powershell script that monitors Valheim's log file for login, logout and death events and pushes them to a discord webhook.
- Host: GitHub
- URL: https://github.com/ericerkz/valheimdiscordwebhook
- Owner: ericerkz
- Created: 2021-07-11T06:37:24.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-11T18:00:40.000Z (almost 5 years ago)
- Last Synced: 2026-02-10T20:51:42.452Z (4 months ago)
- Language: PowerShell
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# valheim discord webhook
A rudimentary (_works, but coded poorly_) powershell script that monitors Valheim's server log file for login, logout, and death events and pushes them to a discord channel via webhook. It also calculates total current active players as part of it's login/logout event monitoring.
I made this because while there seemed to be proper full-on bots etc that relied on the use of mods, or were written in Bash, I couldn't find anything for Windows that would allow me to have some of this more basic functionality on vanilla Valheim.
In order to use it, you need to modify the log file locations to reflect your server's log file location, and edit the webhookUri value to reflect the Discord channel webhook URL you want it to post to. That's it. Then just run it and leave it running and it should work.