FiresDiscordIntegration

版本 v1.0.31·更新於 2026-10-02

Two-way Discord<->Valheim chat, live server-status panel with restart/stop reactions, automatic per-client login snapshots, and an auto-restart wrapper bat.

模組介紹 作者原文

FiresDiscordIntegration

Updated for Valheim 1.0.

Two-way Discord ↔ Valheim chat, a live server-status panel with restart/stop reactions, automatic per-client login snapshots, death / achievement / skill-up screenshots posted to Discord, crash detection, GIF/image rendering in chat, and an auto-restart wrapper bat — all driven by a single Discord bot of your own.

Need help, found a bug, want a feature?

What this mod does

| Feature | What you get |

|---------|--------------|

| Server Manager panel | A single live-updating embed in a Discord channel showing player count, names, uptime, last heartbeat. Click the 🔄 reaction to restart the server, ⛔ to stop it (waits for the next 🔄 click before coming back). |

| Two-way chat relay | Discord messages appear in-game prefixed with [Discord] author: in the author's Discord role color. In-game shout, say and whisper lines get posted back to Discord through a webhook with the player's name + avatar. |

| Inline GIFs and images | Tenor / Giphy / Klipy share URLs and direct attachment uploads render as actual images (and animated GIFs) inside the in-game chat overlay. |

| @mention resolution | A player typing @admin in game chat sends a real @admin Discord ping by resolving the role name via the bot. @everyone and @here work as-is. |

| Login snapshots | Every player that logs in gets a Discord embed posted: their mod list, error count, warning count, the actual mods that produced those errors (no fuzzy-matching false positives), and a client-vs-server mod diff. Admins react to the embed to request the full log / errors-only report / mod list.txt / a session log captured at disconnect. Off by default (NotifyClientLoginArtifacts); while it is off, clients send no logs at all. |

| Server commands from Discord |!players,!kick,!ban!unban and!admin add / remove / list, typed in the relay's chat channel. Off by default, and only allow-listed Discord users or roles can run them. |

| Valheim's own achievements | Vanilla achievement unlocks get a screenshot too, the same way FiresRPGmaker achievements do. |

| Crash detection | A separate watchdog process spawns alongside the server. If the server crashes or is killed, the watchdog posts a "Server Crash Detected" embed via webhook and updates the status panel. |

| Auto-restart wrapper | A ready-to-edit valheim_server_wrapper.bat is extracted to your config folder on first run. Configure SERVER_NAME / SERVER_PORT / SERVER_WORLD / SERVER_PASSWORD / SERVER_PUBLIC once, drop it next to valheim_server.exe, and run it instead of the exe — the wrapper handles auto-restart-on-crash and stays alive across Discord-triggered stops so a single 🔄 click brings the server back. |

| Discord events | Optional per-event webhook posts: server start, server stop, world save, player join, player leave, player death, player shout, random event, new day, anti-cheat kick / violation, hourly summary, midnight EST daily summary. Each one is a separate config toggle so you only ship the events you want. |

| Screenshots on death + progress | The player's client grabs a screenshot on death (captioned with the cause of death), on completing an achievement, and on a skill level-up, and posts it to Discord. ExpandWorldPrefabs can also trigger one with a screenshot poke on a player. Every source routes to one webhook (falls back to the general one). Per-source toggles, all on by default; achievements need FiresRPGmaker installed, the EWP poke needs ExpandWorldPrefabs. |

Installation

Requires FiresUnifiedCore — the shared Fires core library. it installs automatically as a dependency; if you install manually, grab it alongside this mod.

  • Install BepInEx — the BepInExPack_Valheim is the standard one.
  • Drop FiresDiscordIntegration.dll into BepInEx/plugins. Which side(s) need it depends on which features you want — see the table below.
  • Start the server once. It will:
  • Create BepInEx/config/com.Fire.FiresDi

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

denikson-BepInExPack_ValheimVerdantsAscent-FiresUnifiedCore

檔案與校驗

檔案名稱
FiresDiscordIntegration-1.0.31.zip
檔案大小
214.6 KiB