Kvedja
A message of the day in the chat window when you log in.
模組介紹 作者原文
Kvedja
A line in the chat window when you log in, read from the Longhouse site.
Why
The greeting is not the point. The point is that there is a board where players vote on what
a mod should do next, and a board for bugs, and almost nobody knows either exists.
A link in a README is read once, by the person installing, months before they have an opinion
worth casting. A pinned message in Discord is read by the people who are already in Discord.
The moment that actually matters is when somebody is in the game, having just been annoyed by
something or having just thought of something they wish a mod did, and that is the moment the
address is worth having in front of them. The chat window is where they are already looking.
Kveðja is Old Norse for a greeting.
What it does
When you appear in the world, it reads
longhouse.thijssensoftware.nl/api/motd and
prints what it says into the chat window, one line per line, under a name in orange. Then it
stops. It does not repeat, it does not follow you around, and it says nothing at all if the
site has nothing to say.
By default it stays quiet when you respawn after dying, because being greeted at the moment
you have just lost everything reads as mockery. There is a setting if you disagree.
The text is not in the mod
Which is the design, and worth saying plainly before anybody worries about it.
The message lives on the site and the client reads it when you log in. That means it can be
changed without an update to install and without a server restart, and it means the same line
reaches you in singleplayer, on Longhouse, and on somebody else's server. It also means this
mod makes one small web request per login, to that address and no other, and sends nothing
about you with it.
Point Url somewhere else and this is a message of the day for any server that wants one. The
only requirement at the far end is that the answer is plain text.
If the site is unreachable, the request fails and nothing is said. That is deliberate: you
cannot fix a site being down, so a greeting that complains about itself is worse than no
greeting.
Why it is a client mod and not a server one
Worth writing down because the obvious expectation is the opposite.
A Valheim server cannot put a line in the chat window. The route that looks like it should
work, sending a chat message over the network, ends in the client looking the sender up among
the connected players, and a dedicated server has no entry in that list. Every attempt
produces an error in the log and a floating piece of world text at the centre of the map. The
call that does work takes a plain name instead of a player, does no lookup, and has no network
path behind it, so it can only be made on the machine that is reading the message.
That is also why a server cannot silence this one, and why every setting here is yours.
Installing
Needs BepInEx. Nothing else. Through a mod manager it is one install. By hand, put
Kvedja.dll in BepInEx/plugins/Kvedja.
Then start the game once and quit. That first run writes the config file. It does not exist
before the mod has loaded, which is the usual reason people think it is broken.
Settings
The file is BepInEx/config/ezomic.valheim.kvedja.cfg. Open it in any text editor. Every
setting has a comment above it, so the file explains itself.
Note that changing a default in a new version does nothing on a machine that has already run
the mod. BepInEx writes every entry on first run and the saved value wins.
Multiplayer
Nobody else needs it. It reads a web page and writes into your own chat log. A server does
not know it is there, and neither does anybody playing beside you.
If Core is installed, this mod registers with its
version gate so a mismatch is reported rather than discovered later. Every setting is marked
as yours, the address included. A host imposing that one would be pointing your client at an
address of its choosing, and it would still be in your config after you disconnected.
Bugs and ideas
Both go t
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: