OrgetorixEmbeds
Rich Discord embeds for Valheim boss kills and raids only. Chat relay and commands are widely covered in other mods.
Install
This mod is required on both server and all connected clients. Only the server needs the webhook URL, the embed JSON and image files.
Instructions for use
This mod comes pre-loaded with assets and JSON files for all bosses and raids. You may either amend the JSON data to add your own flavour, or add more JSON files/attachments for variety in posts.
If you are using another mod for Discord connections, simply disable events and raids in their mod to avoid double-posting information.
Insert the Webhook URL to the server-side cfg file (not required by clients) /BepInEx/config/com.Tueri.orgetorixembeds.cfg, and you're set.
Folder layout (server)
Folders are created and populated on first launch. Boss folder names are prefab names for example:
Eikthyr, gd_king.
If multiple JSON entries exist in a folder, one will be picked at random, the same embed variant is not picked twice in a row.
Embed Placeholders
| Placeholder | Meaning |
|---|---|
{player} |
killer (boss kills); for raids, everyone inside the raid area, e.g. A, B and C |
{players} |
raids: same list as {player} |
{is_are} |
raids: is for one player, are for several |
{boss} |
friendly boss name |
{event} |
raid key, e.g. army_eikthyr |
{event_message} |
the game's announced raid start text |
{world} |
world name |
{duration} |
raid ends only: how long it lasted, e.g. 2 minutes (real time; the game pauses a raid while nobody is nearby, so it can run longer than the game timer) |
Configs
SendBossKills: Post a message when a boss is killed.SendRaids: Post a message when a raid starts.SendRaidEnds: Post a message when a raid ends.UknkownPlayerName: Default, if {player} cannot be resolved.WebhookUrl: Only required by the server, Discord Webhook URL.BossKillCooldownMinutes: Multiple kills on the same boss is not re-announced.RaidCooldownMinutes: Prevents announcing the same raid type.IgnoreNameContains: Ignores boss kill if containing this value (like "Eikthyr Minion" from other mods).SkipRenamedBosses: Ignores boss kill if boss is renamed by another mod (like bounty targets from other mods).
Notes
- Raid keys are the game's internal event names (army_eikthyr, skeletons, hildirboss1, ...). The server log
prints
Raid started, key = '...'andRaid ended ...for modded raids. - Reinstalling this mod (e.g. via new profile or modpack) will re-insert the assets. It is suggested for server owners to keep a copy of their attachments/raid/raid_end/boss folders if host to custom content.