f00d4tehg0dz-ValheimWebMap icon

ValheimWebMap

Live web map for your dedicated server. 3D/2D view with the game's own models, fog of war, players, bases, portals, stats.

CHANGELOG

Changelog

2.1.7

Brought in PR #19 by @cocopuff2u. Thanks!

  • World structures on the 2D map: abandoned houses, fuling villages, shipwrecks, mountain and castle ruins, drawn as weathered footprints under the player builds. "World structures (2D)" in Layers. Explored chunks only. Boss altars, traders, crypt and cave entrances are kept out, same no-spoilers rule as the markers. /data/ruins/index.json, /data/ruins/{cx}_{cz}.json. (#20)
  • Faster 2D: fog refreshes are skipped when nothing changed and encode off the main thread; tiles one ring past the edge are loaded early so a drag does not show black squares; a blurry whole-world picture sits under the tiles; the trees layer no longer fetches thousands of vegetation files on load; no tree gap between zoom 7 and 8.
  • First sweep 5 s after start instead of 30, plus one extra sweep (second_sweep_delay, default 30 s) to catch what was still loading. Sweeps run in bigger slices while nobody is online.
  • enable_3d = false now turns the 3D work off on the server too (no height tiles, object data, texture or mesh extraction) and hides the 3D and export buttons and panels.
  • Fix: legacy_map = false no longer serves the unfogged /map and /map.jpg, and a leftover map.png is not loaded. (#16)
  • Fix: 3D height spikes in Brave and other browsers that add noise to canvas reads. Heights are decoded from the PNG bytes directly. (#18)
  • Fix: event type filters actually hide the rows.
  • Fix: removing pins from the web page. Any pin can be removed by anyone now, chat pins included (web_unpin_any = false goes back to "only the browser that made it"); the request carries a JSON body so reverse proxies stop dropping it; a failed removal says why instead of silently closing. (#17, thanks @tomvb)
  • Pins from the 3D view: right click (long press) the ground, same form as in 2D.
  • Fix: things floating or sunk in the distance in 3D. Buildings, objects and trees are now only drawn as far as the full-detail ground goes.
  • "Trees & rocks (2D)" is off by default. Tick it in Layers when you want it; on a big world it is a lot of tiles.

2.1.6

  • Rename or hide the auto-detected bases from the web page. Click a base marker: type a name and Rename, "Hide this base" to drop it, "Auto name" to go back to the portal tag. Saved in map_data/<world>/bases.json, kept across re-scans. web_edit_bases turns it off (a token still works). POST /api/base, POST /api/bases/reset. (#14)
  • 3D view links. The URL now follows the 3D camera (#x,z,zoom,3d,distance,heading,tilt), so a copied link opens the same spot, same angle. Before, only 2D updated the URL. (#13)
  • Sharp 2D close-ups. Past the tiles' native zoom (1 m per pixel) the map used to scale pixels up into blocks. Now trees and rocks are drawn as shapes from the vegetation data, buildings are drawn at the screen's own resolution (crisp on phones and Retina), and the ground is scaled smoothly instead of in blocks. (#12)
  • base_min_pieces and base_min_per_cell config: how much built stuff it takes before a spot counts as a base. Raise them if a lone workbench shows up as one.

2.1.5

  • GitHub Releases. A version tag builds the mod in GitHub Actions and attaches the zip plus SHA256SUMS to a release, so the mod can be pinned by hash. (#15)
  • Script and stylesheet URLs carry a hash of the file (via the import map), so a CDN or browser cache can never mix old and new web files. Fixes "WASD works in 2D but not 3D" / "time of day does nothing" after an update behind Cloudflare.
  • Fix: a few box-only prefabs were re-exported every minute ("N models to re-export with newly extracted textures" forever), which also kept the texture extractor from starting for anything new.
  • Keyboard everywhere: WASD/arrows move, Q E turn, R F tilt, Z X zoom, Shift fast, P follow next player, M 2D/3D, L layers, Home spawn. Double click in 3D centres on that spot. README "Controls".
  • Follow works in 3D: camera glides after the player; drag, WASD or Esc lets go. Following carries over when you switch 2D/3D.
  • "Lighting (3D)" heading in Layers for time of day and shadows.

2.1.4

  • Sky, sun, moon and shadows in 3D. Sky dome with sun disc, stars, dawn and dusk colours; fog to the horizon; the sun follows the server's time of day (Layers > "Time of day", or pick a fixed one); buildings, trees and hills cast shadows (toggle, off on phones by default); water ripples and mirrors the sky; filmic tone mapping.

2.1.3

  • Every model, not one in eight. The engine locks most meshes, so the 3D view drew boxes (a cart with its boxes but no cart, a bare beehive). The mod now reads locked meshes out of the game files like it already did textures: extract_meshes config, map_data/models/meshes/, tools/extract_meshes.py by hand. Model library format 5: everything is exported again once.
  • Materials that keep their colour map under _BaseMap and friends get their texture too.

2.1.1

  • Addressed issue #2 with !pin command not working. Pins from the web page. Right click (long press on a phone), pick a type, label, done. Remove your own from the popup. POST /api/pin, POST /api/unpin?id=. web_pins turns it off.
  • Addressed issue #3 with title bar in Mobile not being supported.
  • Addressed issue #1 with Web dir not being included in build, causing mod manager Gale to fail installation
  • Addressed issue #5 with @Aughen PR #6. WebSocket compression off by default, websocket_compression turns it back on.
  • Addressed issue with fog coverage not being 100% on initial load with @clanofartisans PR #7
  • Build script: one -ValheimManaged path works. (#6)
  • POST /api/reload (token): Update the web app without restarting the game.
  • Layer list says "Pins", not "Chat pins".

2.1.0

  • Old trips count. Fog lifts everywhere players have already been, even from before the mod was installed. The world save lists every zone the game built, and it only builds them near a player. Runs at start and once a minute. reveal_visited (on) and reveal_visited_margin (3 zones, about 150 m from where they walked).
  • Player card. Click a player on the map, in 3D or in the list: health, stamina, eitr, what they wear and hold, state, lifetime stats. Updates live. Server now sends stamina, eitr and gear.
  • Export. Pick an area, get a 3D scene: glTF (instanced, or one node per object) or an Unreal pack with a 16-bit heightmap, CSVs in Unreal units and an editor script. Made in the browser. Fog applies.
  • Demo site. tools/Dockerfile.demo and docker-compose.demo.yml run the mock server as a public demo. Mock draws the tree and rock overlay and loops forever.
  • Stats table fits the sidebar. README in plain words.

1.0.1

First public release. Same as 1.0.0 plus README and screenshot fixes.

1.0.0

First release.

  • Tiled map, seven zoom levels, 1 m/px. Rendered from world generator plus player terraforming (levelled ground, moats, paved roads, farmland). Trees, bushes, rocks as a separate overlay layer. Close-zoom tiles render only over explored ground. Re-render when ground changes. Worker thread, own PNG encoder, sliced main-thread fallback.
  • Buildings as vector data per 256 m chunk: footprint, height, material, prefab. Drawn as material-coloured footprints with hover info.
  • 3D view (three.js). Terrain from height tiles with quadtree LOD, seamless between tiles, clean ground tiles with tiled fine grain up close. Water. Players. Markers. World objects as game's own meshes: mod exports each prefab to glTF once (map_data/models/), publishes each chunk's objects with prefab, position, rotation, scale. Browser instances models.
  • Textures pulled from the game's own asset files by the mod itself, in the background, on every platform. tools/extract_textures.py as manual fallback. POST /api/reexport rebuilds models.
  • Fog of war always on. Black over unexplored ground. World locations (bosses, dungeons, traders) never published.
  • Markers: portals with tags and links, tombstones, player bases (clusters of built pieces), boats, carts, custom markers.json sets.
  • Layer toggles drive 2D and 3D: buildings with opacity, players, chat pins, trees and rocks overlay (2D), labels, 256 m grid, marker sets, object categories.
  • Stats per player: playtime, sessions, deaths, distance, portal trips, biomes. Per server: day, explored %, counts, online history.
  • Event feed with events.jsonl history. Deaths carry position.
  • Web app: dark UI, sidebar, search, permalinks, follow mode, mobile layout. No build step.
  • Simple endpoints kept for scripts: /map, /players, /pins, /messages, /structures, /forest, /vehicles. Websocket speaks JSON.
  • Discord webhook, POST /announce, chat pin commands.