From 53d4ecc2bf343dd01db6b566afa11d1a9cb0a7ee Mon Sep 17 00:00:00 2001 From: yukkop Date: Fri, 20 Nov 2026 10:52:59 +0000 Subject: [PATCH] feat: transfer wowmine to neuro --- docs/README.md | 2 +- docs/minecraft-backups.md | 6 +- docs/minecraft-incidents.md | 2 +- docs/minecraft-map.md | 40 +-- docs/minecraft-prism.md | 219 ++++++++++----- ...imizations.md => wowmine-optimizations.md} | 8 +- ...rld-of-sosal-reset.md => wowmine-reset.md} | 34 ++- docs/wowmine/DESIGN.md | 18 +- .../module/generic/minecraft-public-relay.nix | 2 +- .../system/bfs.poland.xray/minecraft-wow.nix | 20 +- nixos/system/hectic-lab/hectic-lab.nix | 79 ------ .../static/world-of-sosal/index.html | 18 -- .../static/wowmine-download/index.html | 18 ++ .../hectic-lab/static/wowmine/index.html | 20 +- nixos/system/hectic-lab/worldofsosal-map.nix | 39 --- .../{world-of-sosal.md => wowmine.md} | 35 ++- nixos/system/neuro/ROUTER.md | 4 +- .../neuro/minecraft/backup-restore-test.nix | 6 +- nixos/system/neuro/minecraft/bluemap.nix | 14 +- .../system/neuro/minecraft/bluemap/core.conf | 4 +- .../minecraft/bluemap/storages/file.conf | 2 +- .../neuro/minecraft/bluemap/webapp.conf | 2 +- .../neuro/minecraft/bluemap/webserver.conf | 4 +- nixos/system/neuro/minecraft/default.nix | 2 +- .../system/neuro/minecraft/public-tunnel.nix | 2 +- .../data/minecraft/tags/function/tick.json | 3 - .../function/spawn_tick.mcfunction | 1 - .../world-of-sosal-spawn/pack.mcmeta | 6 - nixos/system/neuro/minecraft/wow-mine-map.nix | 8 +- ...osal-settings.nix => wowmine-settings.nix} | 0 .../data/minecraft/tags/function/tick.json | 3 + .../wowmine}/function/first_spawn.mcfunction | 2 +- .../wowmine/function/spawn_tick.mcfunction | 3 + .../neuro/minecraft/wowmine-spawn/pack.mcmeta | 6 + .../{world-of-sosal.nix => wowmine.nix} | 29 +- nixos/system/neuro/neuro.nix | 38 +-- nixos/system/neuro/wowmine-site/eval.nix | 98 +++++++ .../wowmine-site/static/assets/OFL-golos.txt | 93 +++++++ .../wowmine-site/static/assets/OFL-russo.txt | 93 +++++++ .../wowmine-site/static/assets/favicon.svg | 6 + .../static/assets/golos-regular.ttf | Bin 0 -> 64240 bytes .../static/assets/golos-semibold.ttf | Bin 0 -> 64308 bytes .../wowmine-site/static/assets/russo-one.ttf | Bin 0 -> 36816 bytes .../neuro/wowmine-site/static/assets/site.css | 251 ++++++++++++++++++ .../neuro/wowmine-site/static/assets/site.js | 36 +++ .../static/assets/world-valley.webp | Bin 0 -> 231628 bytes .../neuro/wowmine-site/static/index.html | 181 +++++++++++++ nixos/system/neuro/wowmine-web.nix | 104 ++++++++ script/build-prism-pack.py | 22 +- script/publish-prism-mirrors.py | 43 +-- script/publish-prism-pack.py | 10 +- .../.gitignore | 0 .../BUILD-EVIDENCE.md | 56 ++++ .../README.md | 12 +- .../build.gradle | 6 +- .../gradle.properties | 0 .../gradle/wrapper/gradle-wrapper.jar | Bin .../gradle/wrapper/gradle-wrapper.properties | 0 .../gradlew | 0 .../gradlew.bat | 0 .../settings.gradle | 2 +- .../net/wowmine}/clientinfo/PackInfo.java | 4 +- .../clientinfo/WowmineClientInfo.java} | 10 +- .../clientinfo/mixin/MinecraftTitleMixin.java | 6 +- .../resources/META-INF/neoforge.mods.toml | 10 +- .../wowmine-client-info.mixins.json} | 2 +- 66 files changed, 1319 insertions(+), 425 deletions(-) rename docs/{world-of-sosal-optimizations.md => wowmine-optimizations.md} (94%) rename docs/{world-of-sosal-reset.md => wowmine-reset.md} (89%) delete mode 100644 nixos/system/hectic-lab/static/world-of-sosal/index.html create mode 100644 nixos/system/hectic-lab/static/wowmine-download/index.html delete mode 100644 nixos/system/hectic-lab/worldofsosal-map.nix rename nixos/system/hectic-lab/{world-of-sosal.md => wowmine.md} (50%) delete mode 100644 nixos/system/neuro/minecraft/world-of-sosal-spawn/data/minecraft/tags/function/tick.json delete mode 100644 nixos/system/neuro/minecraft/world-of-sosal-spawn/data/worldofsosal/function/spawn_tick.mcfunction delete mode 100644 nixos/system/neuro/minecraft/world-of-sosal-spawn/pack.mcmeta rename nixos/system/neuro/minecraft/{world-of-sosal-settings.nix => wowmine-settings.nix} (100%) create mode 100644 nixos/system/neuro/minecraft/wowmine-spawn/data/minecraft/tags/function/tick.json rename nixos/system/neuro/minecraft/{world-of-sosal-spawn/data/worldofsosal => wowmine-spawn/data/wowmine}/function/first_spawn.mcfunction (56%) create mode 100644 nixos/system/neuro/minecraft/wowmine-spawn/data/wowmine/function/spawn_tick.mcfunction create mode 100644 nixos/system/neuro/minecraft/wowmine-spawn/pack.mcmeta rename nixos/system/neuro/minecraft/{world-of-sosal.nix => wowmine.nix} (66%) create mode 100644 nixos/system/neuro/wowmine-site/eval.nix create mode 100644 nixos/system/neuro/wowmine-site/static/assets/OFL-golos.txt create mode 100644 nixos/system/neuro/wowmine-site/static/assets/OFL-russo.txt create mode 100644 nixos/system/neuro/wowmine-site/static/assets/favicon.svg create mode 100644 nixos/system/neuro/wowmine-site/static/assets/golos-regular.ttf create mode 100644 nixos/system/neuro/wowmine-site/static/assets/golos-semibold.ttf create mode 100644 nixos/system/neuro/wowmine-site/static/assets/russo-one.ttf create mode 100644 nixos/system/neuro/wowmine-site/static/assets/site.css create mode 100644 nixos/system/neuro/wowmine-site/static/assets/site.js create mode 100644 nixos/system/neuro/wowmine-site/static/assets/world-valley.webp create mode 100644 nixos/system/neuro/wowmine-site/static/index.html create mode 100644 nixos/system/neuro/wowmine-web.nix rename script/{worldofsosal-client-info => wowmine-client-info}/.gitignore (100%) rename script/{worldofsosal-client-info => wowmine-client-info}/BUILD-EVIDENCE.md (65%) rename script/{worldofsosal-client-info => wowmine-client-info}/README.md (92%) rename script/{worldofsosal-client-info => wowmine-client-info}/build.gradle (83%) rename script/{worldofsosal-client-info => wowmine-client-info}/gradle.properties (100%) rename script/{worldofsosal-client-info => wowmine-client-info}/gradle/wrapper/gradle-wrapper.jar (100%) rename script/{worldofsosal-client-info => wowmine-client-info}/gradle/wrapper/gradle-wrapper.properties (100%) rename script/{worldofsosal-client-info => wowmine-client-info}/gradlew (100%) rename script/{worldofsosal-client-info => wowmine-client-info}/gradlew.bat (100%) rename script/{worldofsosal-client-info => wowmine-client-info}/settings.gradle (75%) rename script/{worldofsosal-client-info/src/main/java/net/worldofsosal => wowmine-client-info/src/main/java/net/wowmine}/clientinfo/PackInfo.java (95%) rename script/{worldofsosal-client-info/src/main/java/net/worldofsosal/clientinfo/WorldOfSosalClientInfo.java => wowmine-client-info/src/main/java/net/wowmine/clientinfo/WowmineClientInfo.java} (69%) rename script/{worldofsosal-client-info/src/main/java/net/worldofsosal => wowmine-client-info/src/main/java/net/wowmine}/clientinfo/mixin/MinecraftTitleMixin.java (75%) rename script/{worldofsosal-client-info => wowmine-client-info}/src/main/resources/META-INF/neoforge.mods.toml (64%) rename script/{worldofsosal-client-info/src/main/resources/worldofsosal-client-info.mixins.json => wowmine-client-info/src/main/resources/wowmine-client-info.mixins.json} (77%) diff --git a/docs/README.md b/docs/README.md index c6fc453f..b4433491 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2,7 +2,7 @@ - [Using the `hectic` Attic Cache](./attic-cache.md) - [Minecraft incident log](./minecraft-incidents.md) -- [WorldOfSosal source versions and reset](./world-of-sosal-reset.md) +- [wowmine source versions and reset](./wowmine-reset.md) - [Project Zomboid backups](./project-zomboid-backups.md) - [Minecraft backups](./minecraft-backups.md) - [Gitea Kanban CLI](./gitea-kanban-cli.md) diff --git a/docs/minecraft-backups.md b/docs/minecraft-backups.md index 655e860c..1df14979 100644 --- a/docs/minecraft-backups.md +++ b/docs/minecraft-backups.md @@ -81,7 +81,7 @@ because there is not yet a coordinated snapshot mechanism to test. The next implementation step would be an in-process NeoForge checkpoint that coordinates world, player, Sable, and SQLite persistence, followed by a restore -test on a disposable WorldOfSosal instance. Production was not stopped, +test on a disposable wowmine instance. Production was not stopped, restarted, sent save commands, or deployed during this investigation; the six-hour schedule and fourteen-day retention remain unchanged. @@ -128,7 +128,7 @@ and its backup timer. ## Isolated wowMineMap restore test Neuro declares `wowMineMapRestore` as a separate, manually started Minecraft -instance. It reuses the production NeoForge package, pinned WorldOfSosal +instance. It reuses the production NeoForge package, pinned wowmine modpack import, and shared modpack adjustments. It uses an 8 GB heap and reduced view/simulation distances for the test. Its directory is `/srv/minecraft/wowMineMapRestore`; its game socket is `127.0.0.1:25568`. @@ -158,7 +158,7 @@ It refuses to replace an existing world. A completion marker binds the restored directory to this S3 object, and subsequent starts skip both bootstrap and restoration so that restored configuration is preserved. -Connect using the matching WorldOfSosal client through an SSH tunnel: +Connect using the matching wowmine client through an SSH tunnel: ```sh ssh -N -L 25568:127.0.0.1:25568 neuro diff --git a/docs/minecraft-incidents.md b/docs/minecraft-incidents.md index 66d0e3e5..5d4f2b84 100644 --- a/docs/minecraft-incidents.md +++ b/docs/minecraft-incidents.md @@ -7,7 +7,7 @@ proven root cause. Current player address: `wowmine.bfs.band` (no port). Addresses inside dated incidents below record the endpoints used at the time. -## 2026-09-19 — WorldOfSosal crashes in Sable block-change handling +## 2026-09-19 — wowmine crashes in Sable block-change handling ### Impact diff --git a/docs/minecraft-map.md b/docs/minecraft-map.md index 93752f17..76ee6315 100644 --- a/docs/minecraft-map.md +++ b/docs/minecraft-map.md @@ -1,6 +1,16 @@ -# WorldOfSosal live 3D map +# wowmine live 3D map -The website links to `/wowmine/map/` on `store.hectic-lab.com`. +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 **Азерот**. @@ -17,11 +27,11 @@ 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 +`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/worldofsosal-bluemap`, with separate private data and public web roots. +`/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 @@ -32,13 +42,12 @@ 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`: +`nixos/system/neuro/wowmine-web.nix` serves the map through local nginx. +The former hectic-lab SSH proxy is retired: ```text -HTTPS /wowmine/map/ - → hectic-lab 127.0.0.1:18100 - → existing SSH transport +HTTPS :8443 /wowmine/map/ + → neuro nginx :443 → neuro 127.0.0.1:8100 ``` @@ -68,13 +77,12 @@ 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 +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 diff --git a/docs/minecraft-prism.md b/docs/minecraft-prism.md index 9d8d9380..7f35ff3f 100644 --- a/docs/minecraft-prism.md +++ b/docs/minecraft-prism.md @@ -1,17 +1,95 @@ -# WorldOfSosal: Prism automatic updates +# wowmine: Prism automatic updates + +On 2026-11-19, explicit8443 was accepted as the canonical website and updater +port. Complete publication history and private backups are copied to neuro; +its trusted certificate and native NixOS services are active. Public HTTPS8443 +passed from two networks. The real Java updater passed with personal options +and DH settings preserved; the new Prism ZIP and its checksums are verified. +The installed Windows instance now uses the same explicit8443 updater URL; +every other byte of its instance configuration was preserved. +The DNS HTTPS record `1 . port=8443` remains published, but the website does not +rely on it. Chromium rejects service ports different from the URL port. +No external proxy or provider443 change is part of this deployment. +The hectic-lab website, map proxy and game relay are retired. The user chose +to remove its old download URLs without redirects; existing clients must use +the canonical neuro updater URL. + +## Active client: v15-wowmine + +The landing address is `https://wowmine.bfs.band:8443/wowmine/`. +Published downloads and updater URLs use +`https://wowmine.bfs.band:8443/minecraft/wowmine/` on neuro. Import +`wowmine-Prism.zip` (suggested download filename `wowmine.zip`). The new managed +release `v15-wowmine` was published on 2026-11-18. Source archive SHA-256: +`6c97a4b3c5f82c055b7de4ebfbda84ab941a55128753485eadd47e8266ec3b43`. +Storage Box upload and full readback passed. Public immutable pack release: +`4d464abe433b37c91c093657fb97c08bbe53baef9f99f227661931137d87f61f`. +Client metadata uses `config/wowmine-version.json` and +`script/wowmine-client-info/`. Repository server importer attribute is +`wowmine`, unit `minecraft-modpack-import-wowmine`, cache +`/var/lib/minecraft-modpacks/wowmine/wowmine.mrpack`. Runtime adoption completed +without executing a real modpack or world import. UID/GID, cache inode, +588 protected file hashes and all player-file bytes were preserved. +Only the spawn datapack namespace and its level.dat registration changed +offline; every other NBT field matched. Legacy initialized-player tags are +recognized to prevent another first-spawn teleport. + +All 595 public managed files, source archive, ZIP and checksum bytes matched +the local export. Real packwiz upgraded the public immutable v14 release +through the legacy current URL to v15, then accepted the canonical current URL. +Personal options and Medium DH choices survived both paths. Independent fresh +and v14-upgrade checks retained 142 unrelated mods and 448 configurations. +Real private Minecraft displayed the wowmine title and login metadata and +joined a matching 132-mod server. Live production's 132 JAR hashes match the +new source; this client release changes no server payload. + +Landing deployment preserved every existing asset byte. Desktop and phone +light/dark captures show wowmine, unchanged design and no horizontal overflow. +The installed Windows instance also updated through the canonical public URL. +Exactly the old addon and version metadata were replaced by the renamed pair; +only updater bookkeeping changed otherwise. Every other game file, personal +option and DH cache byte was preserved. Display name and saved server label +are wowmine. Windows denied physical folder rename, so the internal directory +still uses `WorldOfSosal-Prism (1)`; the user accepted retaining this internal +compatibility path. This does not change the displayed name. +Windows Prism GUI state itself remains unverified. +Evidence: `/tmp/wowmine-rename/{public-result.json,qa-evidence.md,runtime-result.md,installed-update-result.json}` +and `site-*.png`. + +All 21 historical Storage Box targets were verified against original size, +SHA-256 and mode. New sidecars point to canonical archive/parent names; +their original bytes remain in content-addressed history objects. The generic +`minecraft/pack/wowmine.mrpack` now contains v15; its original first release +is preserved as `wowmine-v1.mrpack`. Following current-session approval, all +21 original old keys were deleted after a live 46-object SHA-256 preflight +proved every original byte retained and current canonical aliases correct. +At the rename, public old update URLs redirected to the canonical channel +and returned identical v15 bytes. Those hectic-lab routes were subsequently +retired during the neuro migration. Evidence: `/tmp/wowmine-rename/storage-copy-safe-results.tsv`, +`storage-metadata-result.json`, `retirement-preflight-result.json` and +`retirement-result.json`. Historical +evidence paths, immutable store basenames, and observed old labels below retain +their original spelling. They are historical records, not current naming advice. + +Compatibility redirects for installed clients only: `/minecraft/world-of-sosal/` +and `/world-of-sosal/` on the canonical neuro host redirect to `/minecraft/wowmine/`, +preserving suffixes such as `current/pack.toml`. Legacy BFS download URLs are +retired; installed clients must use the canonical host. + +## Client installation The active client entry point is -https://store.hectic-lab.com/minecraft/world-of-sosal/. -BFS is unavailable as of 2026-11-12. Existing instances using its update URL -must switch their pre-launch URL to the active site's `current/pack.toml`, or -import the active site's Prism ZIP. +https://wowmine.bfs.band:8443/minecraft/wowmine/. +Existing instances using a former download host must switch their pre-launch +URL to `https://wowmine.bfs.band:8443/minecraft/wowmine/current/pack.toml`, or import +the canonical site's Prism ZIP. The former BFS mirror is retired. The active Prism ZIP includes the matching update URL and server address. The game address is `wowmine.bfs.band:35565` (explicit port). Existing profiles must change their saved server entry manually; packwiz does not replace personal `servers.dat`. The former `store.hectic-lab.com:25568` SSH-relay address is retired. -On 2026-11-18 the explicit port was restored in the saved client entries, +Earlier on 2026-11-18 the explicit port was restored in the saved client entries, published ZIP, download page, landing-page copy control and active examples. The ZIP SHA-256 is `e10e79a49c58cd17787b54b15c85ec36627f487d0f996354f65a12266352ed63`. @@ -33,7 +111,8 @@ Public backups are under hectic-lab:/var/tmp/worldofsosal-explicit-port-20261118 DNS uses an A record pointing to `95.31.254.84` and `_minecraft._tcp.wowmine.bfs.band` SRV `0 0 35565 wowmine.bfs.band.` (TTL 600). This keeps the existing direct TCP 35565 connection. Download and update URLs -remain on `store.hectic-lab.com`. +now use `wowmine.bfs.band`; the earlier `store.hectic-lab.com` deployment +details below are historical records. On 2026-11-17 the public Prism ZIP, download page and `/wowmine/` copy-address control were changed to `wowmine.bfs.band`. Only `servers.dat` changed inside the @@ -52,7 +131,7 @@ only the address. A scoped Nginx unit was built and activated through deploying the next generated Nginx configuration. Nginx configuration validation and public desktop/mobile address and copy checks passed. -Players import `WorldOfSosal-Prism.zip` into Prism once and approve its pre-launch +Players import `wowmine-Prism.zip` into Prism once and approve its pre-launch command. Before each launch, packwiz-installer reconciles the client with the published pack: it adds, replaces, and removes managed files, checking hashes. `options.txt` is seeded once and preserved. Pack configuration files are managed @@ -62,17 +141,16 @@ Minecraft 1.21.1, NeoForge 21.1.250, Java 21; the instance reserves up to 8 GiB. The original `.mrpack` alone does not provide this automatic update mechanism. Official workflow: https://packwiz.infra.link/tutorials/installing/packwiz-installer/ -## Short runtime names: 2026-11-17 +## Historical short runtime names: 2026-11-17 -DH now uses server key `wos` and map prefix `wos-w1`. The Azeroth level key is +At that time DH used server key `wos` and map prefix `wos-w1`. The Azeroth level key is `wos-w1@crafting_azeroth:azeroth`; `w1` identifies the current winter-biome map. -Immutable source archive names and dimension IDs are unchanged. Use a new short -epoch when replacing the map in the future. +Dimension IDs were unchanged. These short keys and the observed labels below +record that rollout; they do not define the planned wowmine release. -The server MOTD is `WoS | Warcraft`. New Prism imports and their saved server -entry are named `WoS`. Website downloads suggest `WoS.zip` while retaining the -existing ZIP URL and updater URL. The managed pack remains v13 with 595 files. -Current ZIP SHA-256: +The historical server MOTD was `WoS | Warcraft`. Prism imports and their saved +server entry were named `WoS`; downloads suggested `WoS.zip` at that time. +The managed pack remained v13 with 595 files. Historical ZIP SHA-256: `48b101f0b363c3e223d0adae5283f2b5b9e4688870ff06d89b0c199c19b69c7c`. The Windows log reports `SQLITE_CANTOPEN` for a 260-character cache path. @@ -155,7 +233,8 @@ Evidence and helper scripts: `/tmp/worldofsosal-direct/` and ## Publishing a tested update Keep authoritative `.mrpack` revisions as separate files in Storage Box. -The current client source is `minecraft/pack/WorldOfSosal-v14-lod512-high60.mrpack`, +The pre-rename client baseline was v14, named +`minecraft/pack/wowmine-v14-lod512-high60.mrpack` under the rename contract, SHA-256 `8ff5feb41531e965f0fb8cd8661e3ff8331e62a7f2cc24e906a2b4908f228184`. V14 gives fresh installations the exact DH 3.3.3 High preset, retaining radius 512, BLOCK resolution and the 60 FPS cap. Horizontal and vertical quality are @@ -165,7 +244,7 @@ Both `options.txt` and `config/DistantHorizons.toml` have `preserve = true` in the packwiz index. Existing profiles keep their current DH settings, including LOW or Medium; High is not forced onto existing users. -The server remains on the unchanged v13 archive, +During the v14 rollout, the server stayed on the unchanged v13 archive, SHA-256 `e5895994e95a4df476d7da00b53c39d0372885265acb6cf9b5a9647a015db5f7`, without a restart. All mod entries and embedded JARs are unchanged. V13 removed Loot Plus and its obsolete configuration, retaining Craftable Loot Chests, @@ -178,11 +257,11 @@ It retains v7's Distant Horizons version indicator. The game window and local login chat show the manifest version; the server MOTD shows its activated server configuration. A client-only release can retain the previous MOTD without restarting the server. Downloads from the page use -`WorldOfSosal-.mrpack`, while `latest.mrpack` remains a compatibility URL. +`wowmine-.mrpack`, while `latest.mrpack` remains a compatibility URL. V5 added five optimizers and Nowheel, with separate client/server Lithium compatibility settings. V4's removal of Dynamic Height and its Sable addon is retained. Minecraft/NeoForge versions are unchanged. For a server update, upload a new -revision and set its path and SHA-256 in `nixos/system/neuro/minecraft/world-of-sosal.nix`, +revision and set its path and SHA-256 in `nixos/system/neuro/minecraft/wowmine.nix`, and rebuild/switch neuro before publishing the corresponding client export. The server importer and the client export must consume the same archive when shared mods or loader versions change; publishing only the client can make it incompatible with the running @@ -194,9 +273,9 @@ Medium profile upgrading from the previous policy. Medium remained byte-identica The same scenario with the old builder overwrote Medium and failed the original assertion. All 595 managed paths remain; only DH configuration/preservation and client version metadata differ. Storage Box full archive readback passed, and the -public client release is +historical v14 public client release is `edc23c0d038baeca246fea7be5b12eaf4882f09f0ec58d87d4cec866011cf320`. -The site publishes new High defaults while preserving existing personal choices. +V15 retains those High defaults while preserving existing personal choices. Evidence: `/tmp/worldofsosal-v14-high/`. The prior public files and current-link target are backed up on hectic-lab under `/var/tmp/worldofsosal-v14-high-web/`. @@ -205,16 +284,37 @@ connection. The prior SCP transport failed because hectic-lab has no SFTP subsystem; that failure occurred before changing the public release. ```sh +# Use the verified v15 source whose SHA-256 is recorded above. # Test the client and deploy the matching server release first. -python3 script/build-prism-pack.py WorldOfSosal-v13-lootplus-cleanup.mrpack \ +python3 script/build-prism-pack.py wowmine-v15-wowmine.mrpack \ prism-export --server wowmine.bfs.band:35565 -python3 script/publish-prism-pack.py prism-export hectic-lab +python3 script/publish-prism-pack.py prism-export ``` -The publishing SSH alias must support SFTP. The main hectic-lab sshd uses port -22223; the experimental daemon on 22222 does not provide the SFTP subsystem. -The legacy `publish-prism-mirrors.py` also targets the unavailable BFS host and -is not the active publication command. +The publisher defaults to SSH alias `neuro`, which must support remote shell +commands and stdin upload; SFTP is not required. An optional second positional +argument selects another SSH alias for the same production root. +The builder defaults to the explicit-port HTTPS updater URL above, so the +updater does not depend on DNS HTTPS-record support. `--base-url` remains +available for an explicitly separate test export. + +The legacy command name remains as a compatibility wrapper: + +```sh +python3 script/publish-prism-mirrors.py wowmine-v15-wowmine.mrpack +``` + +It checks that `minecraft-server-wowMineMap` is active on neuro and that +`/var/lib/minecraft-modpacks/wowmine/wowmine.mrpack` has exactly the supplied +archive's SHA-256, then delegates one build and publication to the active tools. +It never contacts hectic-lab or the former BFS mirror. `--bootstrap` still +accepts a local checksum-pinned bootstrap JAR. + +The exact-archive guard can reject a client-only release even when its shared +server mods are unchanged. Coordinate the deployed server archive pin/cache +before using the wrapper; do not bypass a mismatch by inventing a gameplay +version. The direct export publisher does not perform this server check. +Moving the download URL changes no v15 managed pack/index bytes or server mods. The builder downloads a SHA-256-pinned bootstrap from the packwiz project's release, or accepts it via `--bootstrap /path/to/file.jar`. @@ -228,9 +328,12 @@ Do not remove a release while clients may still be reading it. Hash checks cause an overlapping update to fail safely rather than silently accept mixed contents; retry the launch if a publication overlapped a download. -The files live under `/var/www/store/minecraft/world-of-sosal` on `hectic-lab`, -served by the existing `store.hectic-lab.com` nginx virtual host. No nginx reload -is needed for pack updates. Keep `current/pack.toml` as the stable client URL. +The production root is `/var/www/wowmine/public/minecraft/wowmine` on `neuro`, +served by the `wowmine.bfs.band` nginx virtual host. Initial host deployment and +copying every prior release/archive into this root are separate deployment +steps; these tools do not migrate old host data. Publication preserves all +existing release directories and immutable named archives. No nginx reload is +needed for pack updates. Keep `current/pack.toml` as the stable client URL. The index must be alongside pack.toml: putting a release prefix in `[index].file` also prefixes client installation paths with that directory in packwiz-installer. @@ -240,22 +343,22 @@ client pack. packwiz-installer 0.5.14 understands NeoForge components in Prism's ## Client version information -Source and build instructions: `script/worldofsosal-client-info/README.md`. +Source and build instructions: `script/wowmine-client-info/README.md`. The addon version is 1.0.0; it is independent of the pack release. -`config/worldofsosal-version.json` is generated from the mrpack's `name`, +`config/wowmine-version.json` is generated from the mrpack's `name`, `versionId`, and Minecraft/NeoForge dependencies. An existing metadata override must match that manifest or the builder rejects the release. When preparing a new source archive, regenerate its client metadata from its updated manifest. The title appears before login and remains on connection failures. After each -successful multiplayer login, `CLIENT: WorldOfSosal | Minecraft +successful multiplayer login, `CLIENT: wowmine | Minecraft | NeoForge ` is added only to that client's chat. Dimension changes do not add another line. The early NeoForge bootstrap window is separate from the Minecraft game window. The immutable download name and its checksum are included in publication; previous named archives are retained. The selected release's MOTD is declared -in `world-of-sosal.nix` alongside its archive path. +in `wowmine.nix` alongside its archive path. ## Loot Plus cleanup: v13 on 2026-11-16 @@ -266,7 +369,7 @@ Other RPG loot configuration, all remaining mods, Iris/Bliss/DH, client presets, and player options are retained. This release has 143 client JARs, 132 server JARs, and 595 managed client files. -Source: `minecraft/pack/WorldOfSosal-v13-lootplus-cleanup.mrpack`, 8,728,272 bytes, +Source: `minecraft/pack/wowmine-v13-lootplus-cleanup.mrpack`, 8,728,272 bytes, SHA-256 `e5895994e95a4df476d7da00b53c39d0372885265acb6cf9b5a9647a015db5f7`. Storage Box staging, full final readback, hash comparison, and immutable rename passed. The old sources and named cache versions remain available. The two earlier @@ -336,7 +439,7 @@ the release does not manage `config/iris.properties`, so personal enable/disable choices survive updates. LOW/BLOCK/512 and the fresh-install 60 FPS limit remain. Shaders add rendering cost; the 60 FPS setting is a cap, not a measured result. -Source: `minecraft/pack/WorldOfSosal-v12-bliss.mrpack`, 8,731,511 bytes, +Source: `minecraft/pack/wowmine-v12-bliss.mrpack`, 8,731,511 bytes, SHA-256 `f82bac94ae3d38076db81458ea04c2b6e1abed49900186073b33d104fdedafc9`. Immutable Storage Box upload, full readback, hash check, and rename passed. The server cache and importer pin use this same source; filtered server files @@ -371,7 +474,7 @@ and retained the custom options byte for byte. V11 keeps horizontal LOW and radius 512, restores BLOCK resolution, and changes the preset `options.txt` limit from 120 to 60 FPS. Other options, vertical quality, hidden GC chat warning, thread defaults, Java and all JARs remain unchanged. -Source: `minecraft/pack/WorldOfSosal-v11-lod512-low60.mrpack`, +Source: `minecraft/pack/wowmine-v11-lod512-low60.mrpack`, SHA-256 `0498c7064586c4377db8c6668ccc6c2e6afca19c44463b981d4f560cdf339c99`. Storage Box upload and reverse-download verification passed after replacing a stalled TCP session with a new connection with bounded SSH timeouts. @@ -412,7 +515,7 @@ V10 changes only client `horizontalQuality = "LOW"` and vertical quality, hidden GC chat warning, automatic client threads, server settings and all JARs remain unchanged. It aims to reduce LOD rendering work; no performance gain on the player's GPU has been measured. -Source: `minecraft/pack/WorldOfSosal-v10-lod512-lite.mrpack`, +Source: `minecraft/pack/wowmine-v10-lod512-lite.mrpack`, SHA-256 `8b368b2d690dfbf199f65d554ffeba0b3d2f6a163b1a2abcf132e3bec9628277`. Storage Box upload and reverse-download verification passed. @@ -449,7 +552,7 @@ V9 sets the client LOD radius to 512 chunks and sets `common.logging.warning.showGarbageCollectorWarning = false` in the client override. The GC warning remains enabled in the log; Java, GC, JARs, thread defaults and 32/32 distances remain unchanged. -Source: `minecraft/pack/WorldOfSosal-v9-lod512.mrpack`, +Source: `minecraft/pack/wowmine-v9-lod512.mrpack`, SHA-256 `485e9e92eae00a7c978fb1f116ef8b63cb79df922965aca8cb05055d3b290b53`. Storage Box upload and reverse-download verification passed. @@ -604,7 +707,7 @@ Reconcile that override on a future full server configuration activation. 52-long heightmaps, and no heightmap-size warnings. - The actual client entered an isolated Azeroth server and rendered the spawn from multiple angles. This used software rendering, not an FPS benchmark. -- See `world-of-sosal-optimizations.md` for versions, compatibility rules, +- See `wowmine-optimizations.md` for versions, compatibility rules, accepted warnings, and remaining limitations. ## Verification: v4 on 2026-11-12 @@ -654,8 +757,8 @@ Reconcile that override on a future full server configuration activation. The following records the original relay deployment. Current connections use `wowmine.bfs.band:35565` directly, as described above. -The WoW map and WorldOfSosal mods share the `wowMineMap` server on neuro, -listening on 25567. There is no separate WorldOfSosal world/server on 25568. +The WoW map and wowmine mods share the `wowMineMap` server on neuro, +listening on 25567. There is no separate wowmine world/server on 25568. The client pack and server both pin Minecraft 1.21.1 / NeoForge 21.1.250. Map import runs before mod import, and both finish before Minecraft starts. @@ -697,7 +800,7 @@ Useful checks: ```sh ssh neuro systemctl status minecraft-world-import-wowMineMap \ - minecraft-modpack-import-worldOfSosal minecraft-server-wowMineMap \ + minecraft-modpack-import-wowmine minecraft-server-wowMineMap \ minecraft-wow-tunnel --no-pager ssh hectic-lab systemctl status minecraft-wow-proxy.socket --no-pager ssh neuro journalctl -u minecraft-server-wowMineMap -n 80 --no-pager @@ -745,18 +848,14 @@ Current connections use `wowmine.bfs.band:35565`; the active download URL is abo Host settings remain in `minecraft-wow-proxy.nix` (hectic-lab) and `minecraft-wow.nix` (BFS). A dedicated HTTPS virtual host serves `store.bfs.band`. The legacy `bfs.band/minecraft/` URLs remain available for already imported instances. -- Downloaded BFS ZIP seeds `wow.bfs.band` and uses the stable manifest - `https://store.bfs.band/minecraft/world-of-sosal/current/pack.toml`. It does not - redirect installation metadata to hectic-lab. Upstream mod and Java/loader - downloads still use their original providers (e.g. Modrinth, GitHub, Mojang). -- Existing hectic-lab instances can be migrated without reinstalling mods: - in Edit / Settings / Custom commands, replace only the manifest URL in - Pre-launch command with the BFS URL above. Change the multiplayer server - address to wow.bfs.band. New users should import the ZIP from BFS. -- `script/publish-prism-mirrors.py` builds host-specific ZIPs from one archive - and publishes both mirrors. It checks that the running neuro server's cached - archive has the same SHA-256. Each host's switch is atomic; publication across - two hosts is sequential, so rerun the command if it exits unsuccessfully. +- The historical BFS ZIP seeded `wow.bfs.band` and its own stable manifest. + Upstream mod and Java/loader downloads used their original providers + (e.g. Modrinth, GitHub, Mojang). BFS is retired; use the canonical client + entry point above when migrating an installed profile. +- At that time `script/publish-prism-mirrors.py` built host-specific ZIPs from + one archive and published both mirrors after checking neuro's cached archive + SHA-256. It now delegates only canonical publication on neuro, as described + above. - Both configurations were deployed; public Minecraft status/ping succeeds on BFS (~125 ms), HTTPS serves the pack, and Element/Matrix HTTP checks pass. @@ -777,12 +876,12 @@ Porkbun DNS, TTL 600: Players enter `wow.bfs.band` without a port in Minecraft Java. In Porkbun, SRV Priority is `0`, and Target is `0 25568 wow.bfs.band` (weight, port, host). -The root download URL https://store.bfs.band/ redirects to the WorldOfSosal page. +The root download URL https://store.bfs.band/ redirects to the wowmine page. The NixOS virtual host obtains and renews its HTTPS certificate automatically. The publication script now seeds this update URL and the port-free game address. -Existing BFS instances retain working legacy update URLs; switching their -pre-launch manifest to the new store host is optional. Root bfs.band remains -the existing Element entry point. +Those legacy BFS update URLs are now retired. Installed clients must switch +their pre-launch manifest to the canonical host. Root bfs.band was the +existing Element entry point. ## RCON and authentication (2026-09-19) diff --git a/docs/world-of-sosal-optimizations.md b/docs/wowmine-optimizations.md similarity index 94% rename from docs/world-of-sosal-optimizations.md rename to docs/wowmine-optimizations.md index 82570820..30bb9f4d 100644 --- a/docs/world-of-sosal-optimizations.md +++ b/docs/wowmine-optimizations.md @@ -1,4 +1,8 @@ -# WorldOfSosal v5 optimization compatibility +# wowmine v5 optimization compatibility + +Historical release evidence below is unchanged. The source filename uses the +wowmine Storage Box naming contract; its hash identifies the verified v5 bytes, +not a newly verified upload of a renamed object. Published on 2026-11-12 for Minecraft 1.21.1 / NeoForge 21.1.250. Sodium 0.8.13, Create 6.0.10, Sable 2.0.5, and all existing mod versions @@ -55,7 +59,7 @@ No warning suppression was added. ## Deployment and checks -Source: `minecraft/pack/WorldOfSosal-v5-optimizations.mrpack`. +Source: `minecraft/pack/wowmine-v5-optimizations.mrpack`. SHA-256: `d3ec9d8725fbaaaa1e14ced3404a1fb904417ab45b1f632861d8e495e7846211`. Parent v4: `4a197bc039d6684fa1e652e1242b15d87bd8758de895ea8c4f8455ce6a712df1`. All previous archive entries and indexed mods are unchanged; only six JAR diff --git a/docs/world-of-sosal-reset.md b/docs/wowmine-reset.md similarity index 89% rename from docs/world-of-sosal-reset.md rename to docs/wowmine-reset.md index 4580d9d3..506257db 100644 --- a/docs/world-of-sosal-reset.md +++ b/docs/wowmine-reset.md @@ -1,4 +1,11 @@ -# WorldOfSosal source versions and reset +# wowmine source versions and reset + +The rename target is a byte-identical source copy named +`wowmine-20261114T223938Z-winter-biomes.tar.gz`. Copy publication is planned, +not verified by this documentation change. Historical Storage Box source names +below use the wowmine prefix; recorded hashes and checks apply to the original +verified bytes and do not establish that renamed copies exist. Paths retaining +the old spelling below are explicitly historical rollout receipts or GC roots. The source map is independent of the running world. Keep every source revision as a separate archive in Storage Box under `minecraft/map/versions/`. @@ -11,7 +18,8 @@ Upload to a temporary filename, verify the remote SHA-256, then rename to the final version filename. Pin that path and hash in `nixos/system/neuro/minecraft/wow-mine-map.nix`. -The repository now pins `world-of-sosal-20261114T223938Z-winter-biomes.tar.gz`, +The current source bytes to be copied as +`wowmine-20261114T223938Z-winter-biomes.tar.gz` have SHA-256 `d1afd169b16b7b50a57c47da46245e93285b46b6c833bfd08941d07d0341b208` (6,423,189,189 bytes). Archive and JSON manifest were uploaded separately, fully downloaded again, hash checked, and renamed to immutable Storage Box @@ -73,7 +81,7 @@ Verification reports reside in `/var/tmp/worldofsosal-winter-biomes/`: `live-final-report.json`. These separate offline byte-preservation evidence from normal game writes after startup. -The parent is `world-of-sosal-20261113T172314Z-outland.tar.gz`, +The parent is `wowmine-20261113T172314Z-outland.tar.gz`, SHA-256 `bee81bb955099e85ed93ca7c258a9cc48ec1a26590bfe891c869a80ad0094def` (6,579,158,241 bytes). This is a clean source revision, derived from the spawn revision below, without gameplay state. It was activated on neuro on 2026-11-13: @@ -92,11 +100,12 @@ type (`min_y=-512`, `height=2544`) and an empty flat generator. The Azeroth spaw datapack remains enabled. Updated installation and teleport instructions and `OUTLAND_SEPARATION.json` are included in the archive. -The server uses Distant Horizons `server.levelKeyPrefix` -`world-of-sosal-20261114T223938Z-winter-biomes-`, enforced by the modpack importer's -`postStart`. The archive configuration omits this key, so `postStart` inserts it -under `[server]` rather than only replacing an existing line. This gives clients -a fresh terrain-cache identity for each dimension. Obsolete client terrain +During the winter overlay the server used a revision-specific Distant Horizons +`server.levelKeyPrefix`, enforced by the modpack importer's `postStart`. This +historical long prefix was later shortened; see `minecraft-prism.md`. The archive +configuration omitted the key, so `postStart` inserted it under `[server]` rather +than only replacing an existing line. This gave clients a fresh terrain-cache +identity for each dimension. Obsolete client terrain caches can be removed if old Azeroth LODs remain visible. No DH database is included in the source archive. Ordinary server restarts preserve the working world; only the explicit reset command imports the source again. @@ -134,13 +143,14 @@ are removed after the trial. This verifies server loading and persistence; client login with the changed mod set is a separate check. The parent spawn revision is -`world-of-sosal-20261112T093842Z-spawn-3742-89-8891.tar.gz`, with SHA-256 +`wowmine-20261112T093842Z-spawn-3742-89-8891.tar.gz`, with SHA-256 `da3f79e5593a5b7485ed371d65341cc1516c78a19a1fba71874ae8c1d90e624c`. -Its parent is retained as `versions/world-of-sosal-original-bc80084d.rar`, with +Its parent is retained as `versions/wowmine-original-bc80084d.rar`, with SHA-256 `bc80084de10a06b0fc2cb1651c61936b9e2fd2288f3f0fe44c964d83a393aa30`. -The spawn revision includes `worldofsosal_spawn`, which initializes each new +The immutable spawn revision includes the historical namespace +`worldofsosal_spawn`, which initializes each new character once at `3742 89 8891` in Azeroth and sets a personal respawn point. -Its source is `nixos/system/neuro/minecraft/world-of-sosal-spawn/`. +Its maintained source is `nixos/system/neuro/minecraft/wowmine-spawn/`. The spawn was re-enabled on 2026-11-12 after switching to native dimension height. The working world was not reset or replaced: only the datapack, world spawn diff --git a/docs/wowmine/DESIGN.md b/docs/wowmine/DESIGN.md index e15520b9..f414b33b 100644 --- a/docs/wowmine/DESIGN.md +++ b/docs/wowmine/DESIGN.md @@ -1,9 +1,9 @@ -# WorldOfSosal / wowmine +# wowmine ## 1. Purpose A Russian-language Minecraft server landing page at `/wowmine/`. The existing -Prism publication at `/minecraft/world-of-sosal/` remains the source of downloads +Prism publication at `/minecraft/wowmine/` remains the source of downloads and updates. This page never publishes or changes a client pack or server world. Primary action: download the auto-updating Prism instance. @@ -30,6 +30,7 @@ bevels and small hard shadows evoke Minecraft controls, not SaaS cards. ## 3. Tokens +Both light and dark palettes and the deployed theme switch are retained. Dark: background `#141a15`, raised `#202921`, inset `#101610`, text `#f4f3e7`, muted `#bec9b8`, line `#394638`. Shared: grass `#a7d754`, grass hover `#b9e66c`, action ink `#17250d`, @@ -57,28 +58,29 @@ scroll owner: document; anti-patterns: no horizontal step scroller and no same-size feature-card grid. The hero uses one scenic image and readable text over a dark scrim. -Below it, dark stone surfaces hold the server address and setup +Below it, theme-aware stone surfaces hold the server address and setup instructions. Desktop has a narrow requirements rail; mobile stacks in DOM order. Footer stays in normal flow. The whole page reflows down to 320px. ## 5. Components and states -- Brand: original block mark plus WorldOfSosal, linked to the page start. +- Brand: original block mark plus wowmine, linked to the page start. - Navigation: in-page links; no account or fake menu. -- Primary download: one prominent button, hover/pressed/focus states. +- Primary download: `wowmine-Prism.zip`, suggested filename `wowmine.zip`; one + prominent button with hover/pressed/focus states. - Copy-address row: address always visible; stable-size icon button; polite, reserved feedback for success or clipboard denial. Address remains selectable. - Setup list: three numbered instructions with real destinations and named files; no interaction required to read the instructions. - Requirements list: semantic description list, not performance claims. - FAQ: native details/summary, visible keyboard focus and open-state icon. -- Theme: fixed dark appearance, independent of system preference. No theme control. +- Theme: light and dark appearances, with the existing theme switch preserved. ## 6. Content and assets Verified existing source: `docs/minecraft-prism.md`, the public active page, and `script/build-prism-pack.py`. Stable links stay under -`/minecraft/world-of-sosal/`; Prism ZIP is not a plain mrpack import. +`/minecraft/wowmine/`; Prism ZIP is not a plain mrpack import. Fonts are self-hosted Google Fonts releases under OFL, with notices beside them. Hero art is generated specifically for this page; original generation is retained in task evidence, and the shipped asset is a compressed WebP. @@ -91,7 +93,7 @@ visible focus, text selection, themed scrollbars, no color-only instructions. Target: WCAG 2.2 AA contrast and reflow; touch controls 44px or larger. Reduced motion disables smooth scrolling and transforms. The static document works without JavaScript: downloads, setup, FAQ, and selectable IP remain usable. -The dark appearance is checked on mobile and desktop; the component state harness is +Both light and dark appearances are checked on mobile and desktop; the component state harness is the real page, exercised through browser interactions. ## 8. Evidence and accepted debt diff --git a/nixos/module/generic/minecraft-public-relay.nix b/nixos/module/generic/minecraft-public-relay.nix index 7aa6b64e..4b6039c7 100644 --- a/nixos/module/generic/minecraft-public-relay.nix +++ b/nixos/module/generic/minecraft-public-relay.nix @@ -35,7 +35,7 @@ in { Match all ''; systemd.sockets.minecraft-wow-proxy = { - description = "WorldOfSosal WoW public Minecraft port"; + description = "wowmine public Minecraft port"; wantedBy = [ "sockets.target" ]; listenStreams = [ "0.0.0.0:${toString cfg.publicPort}" ]; }; diff --git a/nixos/system/bfs.poland.xray/minecraft-wow.nix b/nixos/system/bfs.poland.xray/minecraft-wow.nix index 24862a59..66ec673f 100644 --- a/nixos/system/bfs.poland.xray/minecraft-wow.nix +++ b/nixos/system/bfs.poland.xray/minecraft-wow.nix @@ -5,14 +5,18 @@ enable = true; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKNWWegOVTOF3EOmam32iP7sMybULMTxsXuC+cEGITQ8 minecraft-wow-relay"; }; - systemd.tmpfiles.rules = [ "d /var/www/store/minecraft/world-of-sosal 0755 root root -" ]; + systemd.tmpfiles.rules = [ "d /var/www/store/minecraft/wowmine 0755 root root -" ]; services.nginx.virtualHosts."store.bfs.band" = { enableACME = true; forceSSL = true; root = "/var/www/store"; - locations."= /".return = "302 /minecraft/world-of-sosal/"; - locations."= /minecraft".return = "302 /minecraft/world-of-sosal/"; - locations."= /minecraft/".return = "302 /minecraft/world-of-sosal/"; + locations."= /".return = "302 /minecraft/wowmine/"; + locations."= /minecraft".return = "302 /minecraft/wowmine/"; + locations."= /minecraft/".return = "302 /minecraft/wowmine/"; + locations."^~ /minecraft/world-of-sosal/".extraConfig = '' + rewrite ^/minecraft/world-of-sosal/WorldOfSosal-(.*)$ /minecraft/wowmine/wowmine-$1 permanent; + rewrite ^/minecraft/world-of-sosal/(.*)$ /minecraft/wowmine/$1 permanent; + ''; locations."/".extraConfig = '' autoindex off; add_header Cache-Control "no-cache"; @@ -21,8 +25,12 @@ }; # Keep old pack URLs working for already imported Prism instances. services.nginx.virtualHosts."bfs.band".locations = { - "= /minecraft".return = "302 /minecraft/world-of-sosal/"; - "= /minecraft/".return = "302 /minecraft/world-of-sosal/"; + "= /minecraft".return = "302 /minecraft/wowmine/"; + "= /minecraft/".return = "302 /minecraft/wowmine/"; + "^~ /minecraft/world-of-sosal/".extraConfig = '' + rewrite ^/minecraft/world-of-sosal/WorldOfSosal-(.*)$ /minecraft/wowmine/wowmine-$1 permanent; + rewrite ^/minecraft/world-of-sosal/(.*)$ /minecraft/wowmine/$1 permanent; + ''; "^~ /minecraft/" = { root = "/var/www/store"; extraConfig = '' diff --git a/nixos/system/hectic-lab/hectic-lab.nix b/nixos/system/hectic-lab/hectic-lab.nix index 7798ad1b..b072eb10 100644 --- a/nixos/system/hectic-lab/hectic-lab.nix +++ b/nixos/system/hectic-lab/hectic-lab.nix @@ -48,7 +48,6 @@ let giteaRunnerService = "gitea-runner-${giteaRunnerEscapedInstance}"; giteaRunnerTokenEnvService = "${giteaRunnerService}-token-env"; giteaRunnerTokenEnv = "/run/gitea-runner-${giteaRunnerInstance}/token.env"; - worldOfSosalRoot = "/var/www/store/world-of-sosal"; in { imports = [ self.nixosModules.hectic @@ -69,7 +68,6 @@ in { (import ./containers.nix { inherit flake self inputs; }) ./experimental-sshd.nix ./minecraft-wow-proxy.nix - ./worldofsosal-map.nix (import ./ente.nix { inherit domain; }) (import ./immich.nix { inherit domain inputs; }) (import ./mechabellum.nix { inherit flake self inputs domain; }) @@ -402,8 +400,6 @@ in { systemd.tmpfiles.rules = [ "d /var/www/store 0755 nginx nginx -" - "d ${worldOfSosalRoot} 0750 root nginx -" - "d ${worldOfSosalRoot}/releases 0750 root nginx -" ]; systemd.services.${giteaRunnerTokenEnvService} = { @@ -449,81 +445,6 @@ in { autoindex on; ''; }; - locations."= /wowmine" = { - extraConfig = '' - return 302 /wowmine/; - ''; - }; - locations."^~ /wowmine/" = { - extraConfig = '' - alias ${./static/wowmine}/; - index index.html; - autoindex off; - add_header Cache-Control "no-cache" always; - limit_except GET { - deny all; - } - ''; - }; - locations."= /world-of-sosal/" = { - extraConfig = '' - return 302 /world-of-sosal/index.html; - ''; - }; - locations."= /world-of-sosal/index.html" = { - extraConfig = '' - alias ${./static/world-of-sosal/index.html}; - default_type text/html; - add_header Cache-Control "no-cache" always; - limit_except GET { - deny all; - } - ''; - }; - locations."= /world-of-sosal/latest.mrpack" = { - extraConfig = '' - root /var/www/store; - default_type application/zip; - add_header Content-Disposition "attachment" always; - add_header Cache-Control "no-cache, no-store, must-revalidate" always; - try_files $uri =404; - if ($request_method != GET) { return 405; } - ''; - }; - locations."= /world-of-sosal/SHA256SUMS" = { - extraConfig = '' - root /var/www/store; - default_type text/plain; - add_header Content-Disposition "attachment" always; - add_header Cache-Control "no-cache, no-store, must-revalidate" always; - try_files $uri =404; - if ($request_method != GET) { return 405; } - ''; - }; - locations."= /world-of-sosal/releases/" = { - extraConfig = '' - return 404; - ''; - }; - locations."~ ^/world-of-sosal/releases/[A-Za-z0-9][A-Za-z0-9._-]*\\.mrpack$" = { - extraConfig = '' - root /var/www/store; - default_type application/zip; - add_header Content-Disposition "attachment" always; - add_header Cache-Control "public, max-age=31536000, immutable" always; - try_files $uri =404; - if ($request_method != GET) { return 405; } - ''; - }; - locations."/world-of-sosal/" = { - extraConfig = '' - autoindex off; - limit_except GET { - deny all; - } - return 404; - ''; - }; }; virtualHosts."lessons.${domain}" = { enableACME = true; diff --git a/nixos/system/hectic-lab/static/world-of-sosal/index.html b/nixos/system/hectic-lab/static/world-of-sosal/index.html deleted file mode 100644 index 13a1e95e..00000000 --- a/nixos/system/hectic-lab/static/world-of-sosal/index.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - WorldOfSosal - - -
-

WorldOfSosal

-

Install in Prism with automatic mod updates

-

Download latest pack

-

Import latest pack in Prism Launcher

-

SHA-256 checksums

-

Updates are manual. Packs imported from arbitrary URLs do not update automatically.

-
- - diff --git a/nixos/system/hectic-lab/static/wowmine-download/index.html b/nixos/system/hectic-lab/static/wowmine-download/index.html new file mode 100644 index 00000000..1421191b --- /dev/null +++ b/nixos/system/hectic-lab/static/wowmine-download/index.html @@ -0,0 +1,18 @@ + + + + + + wowmine + + +
+

wowmine

+

Install in Prism with automatic mod updates

+

Download latest pack

+

Import latest pack in Prism Launcher

+

SHA-256 checksums

+

Updates are manual. Packs imported from arbitrary URLs do not update automatically.

+
+ + diff --git a/nixos/system/hectic-lab/static/wowmine/index.html b/nixos/system/hectic-lab/static/wowmine/index.html index b676d7aa..50c010b0 100644 --- a/nixos/system/hectic-lab/static/wowmine/index.html +++ b/nixos/system/hectic-lab/static/wowmine/index.html @@ -5,8 +5,8 @@ - - + + @@ -17,7 +17,7 @@ - WorldOfSosal — Азерот из блоков + wowmine — Азерот из блоков @@ -33,14 +33,14 @@