DistanceFromWorldCenter

v1.0.1·Updated 2026-09-09

Always-on HUD widget showing your horizontal distance from the world center (0,0), with optional X/Z coordinates.

About this mod Author’s original text

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.

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.

Dependencies

Install these first, or the mod will not work:

ValheimModding-Jotunndenikson-BepInExPack_Valheim

File & checksum

Filename
DistanceFromWorldCenter-1.0.1.zip
File size
25.0 KiB