Replies: 1 comment 3 replies
-
@SmutsMuts Did you make this one work ? im not sure about the "Got character ZDOID from" |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is an example for how to make a notification when a player spawns in a server, are there any other fun examples of notifications I can get some help in making?
I would like to have a notification when someone disconnects from the server.
I would like to have a notification when someone dies.
I would like to have a notification when an event like trolls attacking or similar is happening in the game.
Could someone help me with this?
What I was refering to earlier was:
-e DISCORD_WEBHOOK="https://discord.com/api/webhooks/8171522530..." \
-e VALHEIM_LOG_FILTER_CONTAINS_Spawned="Got character ZDOID from" \
-e ON_VALHEIM_LOG_FILTER_CONTAINS_Spawned='{ read l; l=${l//*ZDOID from /}; l=${l// :*/}; msg="Player $l spawned into the world"; curl -sfSL -X POST -H "Content-Type: application/json" -d "{\"username\":\"Valheim\",\"content\":\"$msg\"}" "$DISCORD_WEBHOOK"; }'
Beta Was this translation helpful? Give feedback.
All reactions