feat: wowmine: map
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
# WorldOfSosal live 3D map
|
||||
|
||||
The website links to `/wowmine/map/` on `store.hectic-lab.com`.
|
||||
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
|
||||
`worldofsosal-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/worldofsosal-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/hectic-lab/worldofsosal-map.nix` defines a persistent private SSH
|
||||
forward using the existing root SSH alias `neuro`:
|
||||
|
||||
```text
|
||||
HTTPS /wowmine/map/
|
||||
→ hectic-lab 127.0.0.1:18100
|
||||
→ existing SSH transport
|
||||
→ 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 worldofsosal-bluemap --no-pager
|
||||
ssh neuro journalctl -u worldofsosal-bluemap -n 30 --no-pager
|
||||
ssh neuro systemctl status worldofsosal-bluemap-space-guard.timer --no-pager
|
||||
ssh neuro df -h /var/lib/worldofsosal-bluemap
|
||||
ssh neuro du -sh /var/lib/worldofsosal-bluemap/web
|
||||
ssh hectic-lab systemctl status worldofsosal-bluemap-proxy --no-pager
|
||||
curl -fsS https://store.hectic-lab.com/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.
|
||||
Reference in New Issue
Block a user