Files
hearth/docs/minecraft-map.md
T

100 lines
4.7 KiB
Markdown

# wowmine live 3D map
The wowmine runtime rename was deployed on 2026-11-18. Renderer, space-guard
timer are active under their canonical names. Moving all
73,667 state entries preserved contents, inodes, ownership and modes; tile,
data and render-checkpoint files were retained. One renderer is active.
The public settings endpoint returns HTTP 200 with both map IDs. Initial
rendering continues; full coverage is not claimed. Evidence:
`/tmp/wowmine-rename/runtime-result.md` and `runtime-evidence/`.
The initial rollout below predates this rename; old evidence paths and
immutable store basenames remain historical.
The website links to `https://wowmine.bfs.band:8443/wowmine/map/` on neuro.
BlueMap 5.29 CLI reads the running server's saved world on neuro:
- `crafting_azeroth:azeroth`, displayed as **Азерот**.
- `crafting_azeroth:outland`, displayed as **Запределье**.
Only these dimensions are published. This is saved block geometry, not a
static illustration. Unsaved changes cannot appear until Minecraft writes
them. The standalone renderer does not publish live player locations.
Open **Menu → Maps** to switch dimensions. Drag to move, rotate the camera,
and use zoom controls to inspect terrain. Unrendered areas initially remain
empty; vertical walls can appear along incomplete coverage boundaries.
## Services and limits
`nixos/system/neuro/minecraft/bluemap.nix` defines
`wowmine-bluemap.service`. It uses Java 25, a pinned CLI JAR, two render
threads, a 3 GiB Java heap, 200% CPU quota, low CPU/I/O priority, and a 5 GiB
cgroup memory limit. Minecraft's server directory is mounted read-only in
the renderer's namespace. Its writable state lives exclusively under
`/var/lib/wowmine-bluemap`, with separate private data and public web roots.
The renderer watches region files, with a 60-second update cooldown and a
five-minute periodic region check. A full rescan is scheduled every 1440
minutes. These settings do not promise a fixed end-to-end delay during the
initial render or a large update backlog.
A separate timer checks free disk space each minute and stops only BlueMap
below 20 GiB free. Free space must be restored before manually starting
BlueMap again. Minecraft is not stopped by this guard.
`nixos/system/neuro/wowmine-web.nix` serves the map through local nginx.
The former hectic-lab SSH proxy is retired:
```text
HTTPS :8443 /wowmine/map/
→ neuro nginx :443
→ neuro 127.0.0.1:8100
```
No new public renderer port is opened. Nginx streams map events without proxy
buffering. Only GET/HEAD are permitted. The Minecraft endpoint remains
`wowmine.bfs.band:35565`.
## Initial rollout, November 18, 2026
Both maps were seeded with actual bounded renders around their starting
coordinates, then unrestricted initial rendering was started in the managed
service. The initial full render is **not complete**. Its early estimate was
several days; the estimate changes with terrain density and server load.
The presence of both map names does not establish full-world coverage.
Scoped runtime units were installed in `/etc/systemd/system.control` on both
hosts, with their store dependencies GC-rooted under
`/nix/var/nix/gcroots/worldofsosal-bluemap`. The Nix modules reproduce the
configuration on a future normal deployment. No system-wide activation or
Minecraft restart was performed for this rollout.
The existing deployed website, including its theme controls, was preserved.
Only two links and the map proxy locations were added. The scoped Nginx unit
points to `/nix/store/rj30dz9g052fa0044m6ran5wdfjlji8c-nginx.service/nginx.service`.
Map state is persistent and intentionally outside Git.
## Operations and verification
```sh
ssh neuro systemctl status wowmine-bluemap --no-pager
ssh neuro journalctl -u wowmine-bluemap -n 30 --no-pager
ssh neuro systemctl status wowmine-bluemap-space-guard.timer --no-pager
ssh neuro df -h /var/lib/wowmine-bluemap
ssh neuro du -sh /var/lib/wowmine-bluemap/web
curl -fsS https://wowmine.bfs.band:8443/wowmine/map/settings.json
```
Actual geometry for both dimensions was inspected in a WebGL browser at phone
and desktop sizes. Automatic updating was tested separately on a copied region:
after adding a gold-block section to that isolated copy, the continuously
running watcher regenerated mesh geometry within 6.142 seconds with a two-second
test cooldown. Vertex count changed from 136368 to 145584 and maximum vertex
height from 122 to 144. No manual rerender or process restart triggered it.
This demonstrates the mechanism, not production latency with its larger queue.
Rollout evidence and reproducible isolated test scripts are retained locally
under `/tmp/worldofsosal-bluemap/`; raw update evidence is
`update-artifacts.tar.gz`. These temporary artifacts are not needed to run
the persistent services.