DistanceFromWorldCenter
Always-on HUD widget showing your horizontal distance from the world center (0,0), with optional X/Z coordinates.
模組介紹 作者原文
Distance From World Center
A small always-on HUD widget that shows your horizontal distance from the world center (X=0, Z=0) — useful for knowing how far you are from the world spawn / sacrificial stones, or for finding the biome rings (since Valheim's biomes are largely a function of distance from center).
Features
- Always-on HUD widget in the upper-left of the screen
- Updates ~5 times per second
- Optional display of raw (X, Z) coordinates alongside the distance
- Position is configurable (pixel offset from the top-left corner)
- Toggle on/off without removing the mod
Display
By default the widget shows:
World Center: 1437m
With Show Coordinates enabled it shows:
World Center: 1437m (812, -1185)
Distance is the horizontal (X/Z) distance only — vertical altitude is ignored, so the value matches the in-game minimap scale.
Configuration
The config file is created at BepInEx/config/DeathMonger.DistanceFromWorldCenter.cfg on first run.
\[Distance HUD\]
- Enabled (default: true) — show the widget at all
- Show Coordinates (default: false) — also include (X, Z) after the distance
- Offset X (px) (default: 10) — horizontal offset from the upper-left corner
- Offset Y (px) (default: 10) — vertical offset from the top of the screen (Y grows downward, like CSS)
Edits to the config take effect live — no game restart needed.
Requirements
- BepInEx 5
- Jotunn
Compatibility
- Client-side only — does not need to be installed on the server
- Read-only — does not modify player state, world state, or any vanilla system
- Should be compatible with essentially any other mod
Support
Join my Discord server for questions, feedback, or bug reports.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: