feat: transfer wowmine to neuro
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
+24
-16
@@ -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
|
||||
|
||||
+159
-60
@@ -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-<version>.mrpack`, while `latest.mrpack` remains a compatibility URL.
|
||||
`wowmine-<version>.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 <version> | Minecraft
|
||||
successful multiplayer login, `CLIENT: wowmine <version> | Minecraft
|
||||
<version> | NeoForge <version>` 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)
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
+10
-8
@@ -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
|
||||
|
||||
@@ -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}" ];
|
||||
};
|
||||
|
||||
@@ -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 = ''
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>WorldOfSosal</title>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<h1>WorldOfSosal</h1>
|
||||
<p><a href="https://store.hectic-lab.com/minecraft/world-of-sosal/">Install in Prism with automatic mod updates</a></p>
|
||||
<p><a href="https://store.hectic-lab.com/world-of-sosal/latest.mrpack">Download latest pack</a></p>
|
||||
<p><a href="prismlauncher://import?url=https%3A%2F%2Fstore.hectic-lab.com%2Fworld-of-sosal%2Flatest.mrpack">Import latest pack in Prism Launcher</a></p>
|
||||
<p><a href="https://store.hectic-lab.com/world-of-sosal/SHA256SUMS">SHA-256 checksums</a></p>
|
||||
<p>Updates are manual. Packs imported from arbitrary URLs do not update automatically.</p>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,18 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>wowmine</title>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<h1>wowmine</h1>
|
||||
<p><a href="https://store.hectic-lab.com/minecraft/wowmine/">Install in Prism with automatic mod updates</a></p>
|
||||
<p><a href="https://store.hectic-lab.com/minecraft/wowmine/latest.mrpack">Download latest pack</a></p>
|
||||
<p><a href="prismlauncher://import?url=https%3A%2F%2Fstore.hectic-lab.com%2Fminecraft%2Fwowmine%2Flatest.mrpack">Import latest pack in Prism Launcher</a></p>
|
||||
<p><a href="https://store.hectic-lab.com/minecraft/wowmine/SHA256SUMS">SHA-256 checksums</a></p>
|
||||
<p>Updates are manual. Packs imported from arbitrary URLs do not update automatically.</p>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
@@ -5,8 +5,8 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="color-scheme" content="dark">
|
||||
<meta name="theme-color" content="#141a15">
|
||||
<meta name="description" content="WorldOfSosal — Азерот и Запределье в Minecraft. Скачай готовую сборку для Prism Launcher с автоматическими обновлениями и присоединяйся к серверу.">
|
||||
<meta property="og:title" content="WorldOfSosal — Азерот из блоков">
|
||||
<meta name="description" content="wowmine — Азерот и Запределье в Minecraft. Скачай готовую сборку для Prism Launcher с автоматическими обновлениями и присоединяйся к серверу.">
|
||||
<meta property="og:title" content="wowmine — Азерот из блоков">
|
||||
<meta property="og:description" content="Знакомый мир, новая история. Готовая сборка Minecraft с автоматическими обновлениями через Prism Launcher.">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:locale" content="ru_RU">
|
||||
@@ -17,7 +17,7 @@
|
||||
<link rel="preload" href="/wowmine/assets/world-valley.webp" as="image" fetchpriority="high">
|
||||
<link rel="stylesheet" href="/wowmine/assets/site.css">
|
||||
<script src="/wowmine/assets/site.js" defer></script>
|
||||
<title>WorldOfSosal — Азерот из блоков</title>
|
||||
<title>wowmine — Азерот из блоков</title>
|
||||
</head>
|
||||
<body id="top">
|
||||
<a class="skip-link" href="#main">Перейти к содержимому</a>
|
||||
@@ -33,14 +33,14 @@
|
||||
|
||||
<header class="site-header">
|
||||
<div class="container header-inner">
|
||||
<a class="brand" href="#top" aria-label="WorldOfSosal — в начало">
|
||||
<a class="brand" href="#top" aria-label="wowmine — в начало">
|
||||
<svg class="brand-block" viewBox="0 0 40 44" aria-hidden="true">
|
||||
<path fill="#a7d754" d="m20 1 19 10-19 10L1 11Z"/>
|
||||
<path fill="#765239" d="m1 11 19 10v22L1 33Z"/>
|
||||
<path fill="#513c30" d="m20 21 19-10v22L20 43Z"/>
|
||||
<path fill="#76a637" d="m1 11 19 10v8l-6-3v-4l-5-2v4l-8-5Zm19 10 19-10v8l-5 3v-4l-6 4v5l-8 4Z"/>
|
||||
</svg>
|
||||
<span class="brand-name">World<span>OfSosal</span></span>
|
||||
<span class="brand-name">wowmine</span>
|
||||
</a>
|
||||
<nav class="main-nav" aria-label="Основная навигация">
|
||||
<a class="nav-world" href="#world">Мир сервера</a>
|
||||
@@ -58,7 +58,7 @@
|
||||
<h1 id="hero-title">Азерот. <span>Теперь из блоков.</span></h1>
|
||||
<p class="hero-lead">Знакомые земли — совсем другая история.<br>Исследуй Азерот и Запределье в нашей сборке Minecraft.</p>
|
||||
<div class="hero-actions">
|
||||
<a class="button button-primary" href="/minecraft/world-of-sosal/WorldOfSosal-Prism.zip" download="WoS.zip">
|
||||
<a class="button button-primary" href="/minecraft/wowmine/wowmine-Prism.zip" download="wowmine.zip">
|
||||
<svg class="icon" aria-hidden="true"><use href="#download"/></svg>
|
||||
Скачать сборку
|
||||
</a>
|
||||
@@ -118,7 +118,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<span class="step-number" aria-hidden="true">02</span>
|
||||
<div><h3>Добавь сборку</h3><p><a href="/minecraft/world-of-sosal/WorldOfSosal-Prism.zip" download="WoS.zip">Скачай ZIP для Prism</a>. Затем открой «Добавить сборку» → «Импорт из ZIP» и выбери скачанный файл.</p></div>
|
||||
<div><h3>Добавь сборку</h3><p><a href="/minecraft/wowmine/wowmine-Prism.zip" download="wowmine.zip">Скачай ZIP для Prism</a>. Затем открой «Добавить сборку» → «Импорт из ZIP» и выбери скачанный файл.</p></div>
|
||||
</li>
|
||||
<li>
|
||||
<span class="step-number" aria-hidden="true">03</span>
|
||||
@@ -157,7 +157,7 @@
|
||||
</details>
|
||||
<details>
|
||||
<summary>Можно скачать обычный mrpack?<svg class="icon" aria-hidden="true"><use href="#plus"/></svg></summary>
|
||||
<p>Да, доступен <a href="/minecraft/world-of-sosal/latest.mrpack" download>обычный mrpack</a>. В нём нет автообновлений: новые версии нужно устанавливать вручную. Для проверки файлов есть <a href="/minecraft/world-of-sosal/SHA256SUMS">контрольные суммы SHA-256</a>.</p>
|
||||
<p>Да, доступен <a href="/minecraft/wowmine/latest.mrpack" download>обычный mrpack</a>. В нём нет автообновлений: новые версии нужно устанавливать вручную. Для проверки файлов есть <a href="/minecraft/wowmine/SHA256SUMS">контрольные суммы SHA-256</a>.</p>
|
||||
</details>
|
||||
</div>
|
||||
</div>
|
||||
@@ -166,8 +166,8 @@
|
||||
|
||||
<footer class="site-footer">
|
||||
<div class="container footer-inner">
|
||||
<a class="footer-brand" href="#top">WorldOfSosal<span>Увидимся по ту сторону экрана.</span></a>
|
||||
<div class="footer-links"><a href="/minecraft/world-of-sosal/">Страница сборки</a><a href="/minecraft/world-of-sosal/SHA256SUMS">SHA-256</a></div>
|
||||
<a class="footer-brand" href="#top">wowmine<span>Увидимся по ту сторону экрана.</span></a>
|
||||
<div class="footer-links"><a href="/minecraft/wowmine/">Страница сборки</a><a href="/minecraft/wowmine/SHA256SUMS">SHA-256</a></div>
|
||||
<p>Неофициальный проект. Не связан с Mojang или Microsoft.</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
systemd.services.worldofsosal-bluemap-proxy = {
|
||||
description = "Private BlueMap HTTP transport from neuro";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
serviceConfig = {
|
||||
User = "root";
|
||||
ExecStart = "${pkgs.openssh}/bin/ssh -NT -o BatchMode=yes -o IdentityAgent=none -o IdentitiesOnly=yes -o StrictHostKeyChecking=yes -o ExitOnForwardFailure=yes -o ConnectTimeout=10 -o ServerAliveInterval=15 -o ServerAliveCountMax=3 -L 127.0.0.1:18100:127.0.0.1:8100 neuro";
|
||||
Restart = "always";
|
||||
RestartSec = 10;
|
||||
NoNewPrivileges = true;
|
||||
ProtectSystem = "strict";
|
||||
ProtectHome = "read-only";
|
||||
PrivateTmp = true;
|
||||
CapabilityBoundingSet = "";
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."store.hectic-lab.com".locations = {
|
||||
"= /wowmine/map" = {
|
||||
extraConfig = "return 302 /wowmine/map/;";
|
||||
};
|
||||
"^~ /wowmine/map/" = {
|
||||
proxyPass = "http://127.0.0.1:18100/";
|
||||
extraConfig = ''
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header Connection "";
|
||||
proxy_buffering off;
|
||||
proxy_read_timeout 3600s;
|
||||
limit_except GET {
|
||||
deny all;
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,11 +1,23 @@
|
||||
# WorldOfSosal pack publishing
|
||||
# wowmine pack publishing
|
||||
|
||||
The public endpoint is `https://store.hectic-lab.com/world-of-sosal/`. Nix
|
||||
Retired on 2026-11-20. Website, downloads, publishing and map serving now live
|
||||
on neuro at `https://wowmine.bfs.band:8443/`. The old hectic-lab paths have no
|
||||
redirects. Use `../../../docs/minecraft-prism.md` for current publishing and
|
||||
updater instructions. Commands below describe the historical deployment;
|
||||
do not run them on hectic-lab.
|
||||
|
||||
The public endpoint is `https://store.hectic-lab.com/minecraft/wowmine/`. Nix
|
||||
deploys only its landing page and nginx configuration. Pack files, the checksum
|
||||
manifest, and `latest.mrpack` stay under `/var/www/store/world-of-sosal` on the
|
||||
manifest, and `latest.mrpack` stay under `/var/www/store/minecraft/wowmine` on the
|
||||
host and never enter Git or the Nix store.
|
||||
|
||||
## Publish an uploaded pack
|
||||
The wowmine rename and `v15-wowmine` release are planned. No new release hash
|
||||
or deployment success is established here. The auto-updating Prism ZIP is
|
||||
`wowmine-Prism.zip`, suggested as `wowmine.zip`; its updater reads
|
||||
`current/pack.toml`. See `../../../docs/minecraft-prism.md` for publication.
|
||||
Old public paths are compatibility redirects for installed clients only.
|
||||
|
||||
## Publish an uploaded manual pack
|
||||
|
||||
Run these commands on `hectic-lab` as root after the Storage Box pack has
|
||||
already been uploaded to a local staging path. Pick a stable version name; do
|
||||
@@ -13,14 +25,15 @@ not replace an existing versioned release.
|
||||
|
||||
```sh
|
||||
set -eu
|
||||
source_pack=/path/to/already-uploaded/WorldOfSosal.mrpack
|
||||
version=2026-09-16
|
||||
root=/var/www/store/world-of-sosal
|
||||
release_name="WorldOfSosal-${version}.mrpack"
|
||||
source_pack=/path/to/already-uploaded/wowmine-v15-wowmine.mrpack
|
||||
: "${source_sha256:?Set the independently verified source SHA-256}"
|
||||
version=v15-wowmine
|
||||
root=/var/www/store/minecraft/wowmine
|
||||
release_name="wowmine-${version}.mrpack"
|
||||
release_path="$root/releases/$release_name"
|
||||
|
||||
printf '%s %s\n' \
|
||||
f8c18acb9208e4592725632ae50dab4f9c308483b34fd43a6507c74fdbf8169f \
|
||||
"$source_sha256" \
|
||||
"$source_pack" | sha256sum --check --status
|
||||
test ! -e "$release_path"
|
||||
install -o root -g nginx -m 0640 "$source_pack" "$release_path.new"
|
||||
@@ -40,12 +53,12 @@ mv -Tf "$latest" "$root/latest.mrpack"
|
||||
Versioned releases use a one-year immutable cache policy. `latest.mrpack` and
|
||||
`SHA256SUMS` disable caching so an atomic replacement becomes visible quickly.
|
||||
The manifest is available at
|
||||
`https://store.hectic-lab.com/world-of-sosal/SHA256SUMS`.
|
||||
`https://store.hectic-lab.com/minecraft/wowmine/SHA256SUMS`.
|
||||
|
||||
Import the current pack in Prism Launcher with:
|
||||
|
||||
```text
|
||||
prismlauncher://import?url=https%3A%2F%2Fstore.hectic-lab.com%2Fworld-of-sosal%2Flatest.mrpack
|
||||
prismlauncher://import?url=https%3A%2F%2Fstore.hectic-lab.com%2Fminecraft%2Fwowmine%2Flatest.mrpack
|
||||
```
|
||||
|
||||
Direct URL imports do not auto-update. Repeat the publication and import steps
|
||||
@@ -1,6 +1,6 @@
|
||||
# Current Minecraft access (2026-11-17)
|
||||
|
||||
WorldOfSosal on the WoW map uses `wowmine.bfs.band:35565` publicly.
|
||||
wowmine on the WoW map uses `wowmine.bfs.band:35565` publicly.
|
||||
DNS A points to `95.31.254.84`; `_minecraft._tcp.wowmine.bfs.band` SRV is
|
||||
`0 0 35565 wowmine.bfs.band.`. The existing MikroTik forward reaches neuro's
|
||||
Minecraft Java server directly on TCP 35565. SSH game tunnels and the public
|
||||
@@ -66,7 +66,7 @@ Ports that need to be forwarded from router to `192.168.0.10`:
|
||||
| 10000 | 10000 | UDP | Jitsi Videobridge |
|
||||
| 25565 | 25565 | TCP | Minecraft |
|
||||
| 25567 | 25567 | TCP | Minecraft WoW Mine map |
|
||||
| 25568 | 25568 | TCP | Minecraft World of Sosal |
|
||||
| 25568 | 25568 | TCP | Minecraft wowmine (historical relay) |
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
let
|
||||
name = "wowMineMapRestore";
|
||||
production = config.services.minecraft-servers.servers.wowMineMap;
|
||||
pack = config.services.minecraft-modpack-imports.worldOfSosal;
|
||||
pack = config.services.minecraft-modpack-imports.wowmine;
|
||||
restore = config.services.minecraft-backup-restores.${name};
|
||||
serverDir = "${config.services.minecraft-servers.dataDir}/${name}";
|
||||
in {
|
||||
@@ -29,7 +29,7 @@ in {
|
||||
enable-query = false;
|
||||
view-distance = 8;
|
||||
simulation-distance = 4;
|
||||
motd = "WorldOfSosal backup restore test";
|
||||
motd = "wowmine backup restore test";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -43,7 +43,7 @@ in {
|
||||
|
||||
systemd.services."minecraft-modpack-import-${name}" = {
|
||||
unitConfig.ConditionPathExists = "!${restore.completionMarker}";
|
||||
postStart = import ./world-of-sosal-settings.nix { inherit pkgs serverDir; };
|
||||
postStart = import ./wowmine-settings.nix { inherit pkgs serverDir; };
|
||||
};
|
||||
|
||||
services.minecraft-backup-restores.${name} = {
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
serverDir = "${config.services.minecraft-servers.dataDir}/wowMineMap";
|
||||
stateDir = "/var/lib/worldofsosal-bluemap";
|
||||
stateDir = "/var/lib/wowmine-bluemap";
|
||||
diskCheck = "${pkgs.coreutils}/bin/test $(${pkgs.coreutils}/bin/df -B1 --output=avail ${stateDir} | ${pkgs.coreutils}/bin/tail -n1) -ge 21474836480";
|
||||
jar = pkgs.fetchurl {
|
||||
url = "https://github.com/BlueMap-Minecraft/BlueMap/releases/download/v5.29/bluemap-5.29-cli.jar";
|
||||
sha256 = "e830767fa6364b52b9310fb598508ebde7eec5ebe8360a989e240d991af89a3a";
|
||||
};
|
||||
in {
|
||||
systemd.services.worldofsosal-bluemap = {
|
||||
description = "WorldOfSosal live Azeroth and Outland 3D maps";
|
||||
systemd.services.wowmine-bluemap = {
|
||||
description = "wowmine live Azeroth and Outland 3D maps";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
after = [ "network-online.target" "minecraft-server-wowMineMap.service" ];
|
||||
@@ -21,7 +21,7 @@ in {
|
||||
serviceConfig = {
|
||||
User = "minecraft";
|
||||
Group = "minecraft";
|
||||
StateDirectory = "worldofsosal-bluemap";
|
||||
StateDirectory = "wowmine-bluemap";
|
||||
StateDirectoryMode = "0750";
|
||||
WorkingDirectory = stateDir;
|
||||
ExecCondition = "${pkgs.runtimeShell} -ec '${builtins.replaceStrings [ "$" ] [ "$$" ] diskCheck}'";
|
||||
@@ -47,17 +47,17 @@ in {
|
||||
TimeoutStopSec = 120;
|
||||
};
|
||||
};
|
||||
systemd.services.worldofsosal-bluemap-space-guard = {
|
||||
systemd.services.wowmine-bluemap-space-guard = {
|
||||
description = "Keep 20 GiB free for Minecraft while rendering maps";
|
||||
serviceConfig.Type = "oneshot";
|
||||
script = ''
|
||||
if ! ${diskCheck}; then
|
||||
echo "Stopping only BlueMap: less than 20 GiB free on map filesystem"
|
||||
${pkgs.systemd}/bin/systemctl stop worldofsosal-bluemap.service
|
||||
${pkgs.systemd}/bin/systemctl stop wowmine-bluemap.service
|
||||
fi
|
||||
'';
|
||||
};
|
||||
systemd.timers.worldofsosal-bluemap-space-guard = {
|
||||
systemd.timers.wowmine-bluemap-space-guard = {
|
||||
wantedBy = [ "timers.target" ];
|
||||
timerConfig = {
|
||||
OnBootSec = "1min";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
accept-download: true
|
||||
data: "/var/lib/worldofsosal-bluemap/data"
|
||||
data: "/var/lib/wowmine-bluemap/data"
|
||||
render-thread-count: 2
|
||||
update-cooldown: 60
|
||||
full-update-interval: 1440
|
||||
@@ -7,6 +7,6 @@ region-file-check-interval: 5
|
||||
scan-for-mod-resources: true
|
||||
metrics: false
|
||||
log: {
|
||||
file: "/var/lib/worldofsosal-bluemap/data/logs/debug.log"
|
||||
file: "/var/lib/wowmine-bluemap/data/logs/debug.log"
|
||||
append: true
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
storage-type: file
|
||||
root: "/var/lib/worldofsosal-bluemap/web/maps"
|
||||
root: "/var/lib/wowmine-bluemap/web/maps"
|
||||
compression: gzip
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
enabled: true
|
||||
webroot: "/var/lib/worldofsosal-bluemap/web"
|
||||
webroot: "/var/lib/wowmine-bluemap/web"
|
||||
update-settings-file: true
|
||||
use-cookies: true
|
||||
default-to-flat-view: false
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
enabled: true
|
||||
webroot: "/var/lib/worldofsosal-bluemap/web"
|
||||
webroot: "/var/lib/wowmine-bluemap/web"
|
||||
ip: "127.0.0.1"
|
||||
port: 8100
|
||||
sse-enabled: true
|
||||
@@ -8,6 +8,6 @@ additional-headers: {
|
||||
"X-Content-Type-Options": "nosniff"
|
||||
}
|
||||
log: {
|
||||
file: "/var/lib/worldofsosal-bluemap/data/logs/webserver.log"
|
||||
file: "/var/lib/wowmine-bluemap/data/logs/webserver.log"
|
||||
append: true
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
./horizon.nix
|
||||
./create-aeronautics.nix
|
||||
./wow-mine-map.nix
|
||||
./world-of-sosal.nix
|
||||
./wowmine.nix
|
||||
./bluemap.nix
|
||||
./backup-restore-test.nix
|
||||
./public-tunnel.nix
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
let
|
||||
mkTunnel = relay: {
|
||||
enable = false;
|
||||
description = "WorldOfSosal WoW reverse tunnel to ${relay.name}";
|
||||
description = "wowmine reverse tunnel to ${relay.name}";
|
||||
startLimitIntervalSec = 0;
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"values": ["worldofsosal:spawn_tick"]
|
||||
}
|
||||
-1
@@ -1 +0,0 @@
|
||||
execute as @a[tag=!worldofsosal_initialized] in crafting_azeroth:azeroth run function worldofsosal:first_spawn
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"pack": {
|
||||
"pack_format": 48,
|
||||
"description": "WorldOfSosal: initial spawn in Azeroth"
|
||||
}
|
||||
}
|
||||
@@ -13,8 +13,8 @@
|
||||
serverName = "wowMineMap";
|
||||
remoteHost = "u664722.your-storagebox.de";
|
||||
remoteUser = "u664722";
|
||||
remotePath = "minecraft/map/versions/world-of-sosal-20261114T223938Z-winter-biomes.tar.gz";
|
||||
archiveName = "world-of-sosal-20261114T223938Z-winter-biomes.tar.gz";
|
||||
remotePath = "minecraft/map/versions/wowmine-20261114T223938Z-winter-biomes.tar.gz";
|
||||
archiveName = "wowmine-20261114T223938Z-winter-biomes.tar.gz";
|
||||
cacheDir = "/var/lib/minecraft-maps";
|
||||
archiveSha256 = "d1afd169b16b7b50a57c47da46245e93285b46b6c833bfd08941d07d0341b208";
|
||||
sshKeyFile = config.sops.secrets."minecraft/storage-box-key".path;
|
||||
@@ -23,7 +23,7 @@
|
||||
};
|
||||
|
||||
systemd.services.minecraft-world-reset-wowMineMap = {
|
||||
description = "Reset WorldOfSosal to the pinned source map";
|
||||
description = "Reset wowmine to the pinned source map";
|
||||
path = [ pkgs.coreutils pkgs.systemd ];
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
@@ -65,7 +65,7 @@
|
||||
'';
|
||||
enable = true;
|
||||
jvmOpts = "-Xmx24G -Xms2G";
|
||||
# WorldOfSosal client and server use the same pinned NeoForge.
|
||||
# wowmine client and server use the same pinned NeoForge.
|
||||
package = pkgs.minecraftServers.neoforge-1_21_1.override (
|
||||
builtins.fromJSON (builtins.readFile ./neoforge-21.1.250.json)
|
||||
);
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"values": ["wowmine:spawn_tick"]
|
||||
}
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
spawnpoint @s 3742 89 8891
|
||||
tp @s 3742 89 8891
|
||||
tag @s add worldofsosal_initialized
|
||||
tag @s add wowmine_initialized
|
||||
@@ -0,0 +1,3 @@
|
||||
# Compatibility: preserve existing first-join state without teleporting players.
|
||||
tag @a[tag=worldofsosal_initialized,tag=!wowmine_initialized] add wowmine_initialized
|
||||
execute as @a[tag=!wowmine_initialized] in crafting_azeroth:azeroth run function wowmine:first_spawn
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"pack": {
|
||||
"pack_format": 48,
|
||||
"description": "wowmine: initial spawn in Azeroth"
|
||||
}
|
||||
}
|
||||
+13
-16
@@ -1,27 +1,27 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
packVersion = "v13-lootplus-cleanup";
|
||||
packVersion = "v15-wowmine";
|
||||
serverDir = "${config.services.minecraft-servers.dataDir}/wowMineMap";
|
||||
serverMotd = "WoS | Warcraft";
|
||||
serverMotd = "wowmine | Warcraft";
|
||||
in
|
||||
{
|
||||
sops.secrets."minecraft/storage-box-pack-key" = {
|
||||
sopsFile = ../../../../sus/neuro-minecraft.yaml;
|
||||
owner = "mc-pack-worldOfSosal";
|
||||
group = "mc-pack-worldOfSosal";
|
||||
owner = "mc-pack-wowmine";
|
||||
group = "mc-pack-wowmine";
|
||||
mode = "0400";
|
||||
};
|
||||
|
||||
services.minecraft-modpack-imports.worldOfSosal = {
|
||||
services.minecraft-modpack-imports.wowmine = {
|
||||
enable = true;
|
||||
serverName = "wowMineMap";
|
||||
remoteHost = "u664722.your-storagebox.de";
|
||||
remoteUser = "u664722";
|
||||
remotePath = "minecraft/pack/WorldOfSosal-${packVersion}.mrpack";
|
||||
archiveName = "WorldOfSosal.mrpack";
|
||||
cacheDir = "/var/lib/minecraft-modpacks/worldOfSosal";
|
||||
archiveSha256 = "e5895994e95a4df476d7da00b53c39d0372885265acb6cf9b5a9647a015db5f7";
|
||||
remotePath = "minecraft/pack/wowmine-${packVersion}.mrpack";
|
||||
archiveName = "wowmine.mrpack";
|
||||
cacheDir = "/var/lib/minecraft-modpacks/wowmine";
|
||||
archiveSha256 = "6c97a4b3c5f82c055b7de4ebfbda84ab941a55128753485eadd47e8266ec3b43";
|
||||
expectedDependencies = {
|
||||
minecraft = "1.21.1";
|
||||
neoforge = "21.1.250";
|
||||
@@ -34,20 +34,17 @@ in
|
||||
serverMotd;
|
||||
|
||||
systemd.services.minecraft-server-wowMineMap.preStart =
|
||||
(import ./world-of-sosal-settings.nix {
|
||||
import ./wowmine-settings.nix {
|
||||
inherit pkgs serverDir;
|
||||
namesOnly = true;
|
||||
}) + ''
|
||||
${pkgs.gnused}/bin/sed -i \
|
||||
's/^motd=.*/motd=${serverMotd}/' "${serverDir}/server.properties"
|
||||
'';
|
||||
};
|
||||
|
||||
# Import the map before writing modpack configuration into the same server.
|
||||
systemd.services.minecraft-modpack-import-worldOfSosal = {
|
||||
systemd.services.minecraft-modpack-import-wowmine = {
|
||||
after = [ "minecraft-world-import-wowMineMap.service" ];
|
||||
requires = [ "minecraft-world-import-wowMineMap.service" ];
|
||||
# Test the map's native dimension height without runtime height overrides.
|
||||
postStart = import ./world-of-sosal-settings.nix {
|
||||
postStart = import ./wowmine-settings.nix {
|
||||
inherit pkgs serverDir;
|
||||
};
|
||||
};
|
||||
@@ -71,6 +71,7 @@ in {
|
||||
self.nixosModules.hectic
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
./minecraft
|
||||
./wowmine-web.nix
|
||||
./hardware.nix
|
||||
];
|
||||
|
||||
@@ -132,40 +133,6 @@ in {
|
||||
# admins = [ "yukkop@accord.tube" ];
|
||||
#};
|
||||
|
||||
# Static landing page for bfs.band on :80 and :443 (no HTTP->HTTPS redirect).
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "security@bfs.band";
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
enable = false;
|
||||
virtualHosts."bfs.band" = let
|
||||
site = pkgs.runCommand "bfs-band-site" {} ''
|
||||
mkdir -p $out
|
||||
cat > $out/index.html <<'EOF'
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>bfs.band</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>bfs.band</h1>
|
||||
<p>Coming soon.</p>
|
||||
</body>
|
||||
</html>
|
||||
EOF
|
||||
'';
|
||||
in {
|
||||
serverAliases = [ "www.bfs.band" ];
|
||||
enableACME = true;
|
||||
addSSL = true; # serve on both :80 and :443, no forced redirect
|
||||
forceSSL = false;
|
||||
root = "${site}";
|
||||
};
|
||||
};
|
||||
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
host = "127.0.0.1";
|
||||
@@ -210,9 +177,6 @@ in {
|
||||
};
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [
|
||||
80 443 # HTTP, HTTPS
|
||||
];
|
||||
allowedUDPPorts = [ 9 ]; # Wake on LAN
|
||||
};
|
||||
};
|
||||
|
||||
@@ -0,0 +1,98 @@
|
||||
{
|
||||
nixpkgs ? builtins.fetchTarball {
|
||||
url = "https://github.com/NixOS/nixpkgs/archive/b25309931cfda5f0b8805f462a29897eeae50168.tar.gz";
|
||||
sha256 = "sha256-qMSsgG+9tIdx282dMqGuJAUK3t6F36clM6efd0rXfes=";
|
||||
},
|
||||
system ? "x86_64-linux",
|
||||
}:
|
||||
let
|
||||
evaluated = import (nixpkgs + "/nixos/lib/eval-config.nix") {
|
||||
inherit system;
|
||||
modules = [
|
||||
../wowmine-web.nix
|
||||
{
|
||||
boot.isContainer = true;
|
||||
networking.hostName = "neuro";
|
||||
system.stateVersion = "26.05";
|
||||
}
|
||||
];
|
||||
};
|
||||
inherit (evaluated) config pkgs;
|
||||
inherit (pkgs) lib;
|
||||
failedAssertions = map (a: a.message) (lib.filter (a: !a.assertion) config.assertions);
|
||||
selectedUnits = lib.filterAttrs (
|
||||
name: _: lib.hasPrefix "acme-" name || lib.hasPrefix "nginx" name
|
||||
) config.systemd.units;
|
||||
# Link the real generated unit files. The full NixOS system-unit directory
|
||||
# also contains unrelated package units and global boot target aliases.
|
||||
units = pkgs.runCommand "wowmine-web-units" { } (
|
||||
"mkdir -p $out\n"
|
||||
+ lib.concatStrings (lib.mapAttrsToList (name: unit:
|
||||
''
|
||||
ln -s ${unit.unit}/${name} $out/${name}
|
||||
''
|
||||
+ lib.concatMapStrings (alias: ''
|
||||
ln -s ${name} $out/${alias}
|
||||
'') unit.aliases
|
||||
+ lib.concatStrings (lib.mapAttrsToList (option: suffix:
|
||||
lib.concatMapStrings (target: ''
|
||||
mkdir -p $out/${target}.${suffix}
|
||||
ln -s ../${name} $out/${target}.${suffix}/${name}
|
||||
'') unit.${option}
|
||||
) {
|
||||
wantedBy = "wants";
|
||||
requiredBy = "requires";
|
||||
upheldBy = "upholds";
|
||||
})
|
||||
) selectedUnits)
|
||||
);
|
||||
nginxConfig = builtins.head (
|
||||
builtins.match ".* -c '([^']+)'" config.systemd.services.nginx.serviceConfig.ExecStart
|
||||
);
|
||||
metadata = {
|
||||
nixpkgsRevision = "b25309931cfda5f0b8805f462a29897eeae50168";
|
||||
inherit system failedAssertions nginxConfig;
|
||||
assertionCount = builtins.length config.assertions;
|
||||
warnings = config.warnings;
|
||||
users = lib.genAttrs [ "nginx" "acme" ] (
|
||||
name: {
|
||||
inherit (config.users.users.${name}) uid group extraGroups home homeMode isSystemUser;
|
||||
}
|
||||
);
|
||||
groups = lib.genAttrs [ "nginx" "acme" ] (
|
||||
name: {
|
||||
inherit (config.users.groups.${name}) gid members;
|
||||
}
|
||||
);
|
||||
units = lib.mapAttrs (
|
||||
_: unit: {
|
||||
inherit (unit) wantedBy requiredBy upheldBy aliases;
|
||||
text = unit.text;
|
||||
}
|
||||
) selectedUnits;
|
||||
certificate = {
|
||||
inherit (config.security.acme.certs."wowmine.bfs.band")
|
||||
directory group webroot email server reloadServices renewInterval renewJitter;
|
||||
};
|
||||
sourceFiles = [ "wowmine-web.nix" "wowmine-site/eval.nix" "wowmine-site/static" ];
|
||||
siteRoot = config.services.nginx.virtualHosts."wowmine.bfs.band".locations."^~ /wowmine/".alias;
|
||||
runtimeRoots = [ "/var/www/wowmine/public/minecraft/wowmine" ];
|
||||
};
|
||||
metadataFile = pkgs.writeText "wowmine-web-metadata.json" (builtins.toJSON metadata);
|
||||
bundle = pkgs.runCommand "wowmine-web-scoped" { } ''
|
||||
mkdir -p $out/tmpfiles.d
|
||||
ln -s ${units} $out/units
|
||||
ln -s ${nginxConfig} $out/nginx.conf
|
||||
ln -s ${metadataFile} $out/metadata.json
|
||||
for package in ${toString config.systemd.tmpfiles.packages}; do
|
||||
if [ -e "$package/lib/tmpfiles.d/10-acme.conf" ]; then
|
||||
ln -s "$package/lib/tmpfiles.d/10-acme.conf" $out/tmpfiles.d/
|
||||
fi
|
||||
done
|
||||
test -e $out/tmpfiles.d/10-acme.conf
|
||||
'';
|
||||
in
|
||||
assert lib.assertMsg (failedAssertions == [ ]) (lib.concatStringsSep "\n" failedAssertions);
|
||||
{
|
||||
inherit bundle metadata units nginxConfig;
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
Copyright 2019 The Golos Text Project Authors (https://github.com/googlefonts/golos-text)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
https://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
@@ -0,0 +1,93 @@
|
||||
Copyright (c) 2011-2012, Jovanny Lemonad (jovanny.ru), with Reserved Font Name "Russo"
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
@@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
|
||||
<path fill="#a7d754" d="m24 2 22 11-22 11L2 13Z"/>
|
||||
<path fill="#765239" d="m2 13 22 11v22L2 35Z"/>
|
||||
<path fill="#513c30" d="m24 24 22-11v22L24 46Z"/>
|
||||
<path fill="#76a637" d="m2 13 22 11v8l-8-4v-4l-6-3v5l-8-4Zm22 11 22-11v9l-7 3v-4l-7 4v5l-8 4Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 322 B |
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,251 @@
|
||||
@font-face {
|
||||
font-family: "Golos Text";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url("./golos-regular.ttf") format("truetype");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Golos Text";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-display: swap;
|
||||
src: url("./golos-semibold.ttf") format("truetype");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Russo One";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url("./russo-one.ttf") format("truetype");
|
||||
}
|
||||
|
||||
:root {
|
||||
color-scheme: dark;
|
||||
--bg: #141a15;
|
||||
--surface: #202921;
|
||||
--inset: #101610;
|
||||
--ink: #f4f3e7;
|
||||
--muted: #bec9b8;
|
||||
--line: #394638;
|
||||
--grass: #a7d754;
|
||||
--grass-hover: #b9e66c;
|
||||
--action-ink: #17250d;
|
||||
--focus: #e8b86c;
|
||||
--hero-ink: #fffdf0;
|
||||
--hero-muted: #e5e9d7;
|
||||
--body-font: "Golos Text", sans-serif;
|
||||
--heading-font: "Russo One", sans-serif;
|
||||
--space-1: 4px;
|
||||
--space-2: 8px;
|
||||
--space-3: 12px;
|
||||
--space-4: 16px;
|
||||
--space-6: 24px;
|
||||
--space-8: 32px;
|
||||
--space-12: 48px;
|
||||
--space-16: 64px;
|
||||
--space-20: 80px;
|
||||
--space-24: 96px;
|
||||
--ease: 140ms ease-out;
|
||||
--gutter: clamp(24px, 4vw, 48px);
|
||||
scroll-behavior: smooth;
|
||||
scroll-padding-top: var(--space-8);
|
||||
scrollbar-color: var(--line) var(--bg);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root:not([data-theme]) {
|
||||
color-scheme: light;
|
||||
--bg: #f3f2e8;
|
||||
--surface: #fff;
|
||||
--inset: #e7e9dc;
|
||||
--ink: #202b21;
|
||||
--muted: #53624c;
|
||||
--line: #c8d1bd;
|
||||
--focus: #47671d;
|
||||
}
|
||||
}
|
||||
:root[data-theme="light"] {
|
||||
color-scheme: light;
|
||||
--bg: #f3f2e8;
|
||||
--surface: #fff;
|
||||
--inset: #e7e9dc;
|
||||
--ink: #202b21;
|
||||
--muted: #53624c;
|
||||
--line: #c8d1bd;
|
||||
--focus: #47671d;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--body-font); }
|
||||
::selection { background: var(--grass); color: var(--action-ink); }
|
||||
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
|
||||
button, summary, a { -webkit-tap-highlight-color: transparent; }
|
||||
button { font: inherit; cursor: pointer; }
|
||||
button, a { touch-action: manipulation; }
|
||||
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
|
||||
h1, h2, h3, p { margin: 0; }
|
||||
h1, h2, h3 { font-family: var(--heading-font); font-weight: 400; line-height: 1.2; text-wrap: balance; }
|
||||
h2 { font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -.02em; }
|
||||
h3 { font-size: clamp(24px, 2.1vw, 28px); }
|
||||
code { font-family: ui-monospace, "Cascadia Code", monospace; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
|
||||
.container { width: min(100% - var(--gutter) * 2, 1200px); margin-inline: auto; }
|
||||
.section { padding-block: var(--space-24); }
|
||||
.icon-sprite { position: absolute; inline-size: 0; block-size: 0; overflow: hidden; }
|
||||
.icon, .world-icon { inline-size: 24px; block-size: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; }
|
||||
.skip-link { position: fixed; top: var(--space-4); left: var(--space-4); z-index: 3; padding: var(--space-3) var(--space-4); background: var(--grass); color: var(--action-ink); transform: translateY(-180%); }
|
||||
.skip-link:focus { transform: translateY(0); }
|
||||
|
||||
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
|
||||
.header-inner { min-block-size: 88px; display: flex; align-items: center; gap: var(--space-8); }
|
||||
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; }
|
||||
.brand-block { inline-size: 36px; block-size: 40px; flex: 0 0 auto; }
|
||||
.brand-name { font-family: var(--heading-font); font-size: 20px; letter-spacing: -.02em; line-height: 1.1; }
|
||||
.brand-name span { display: block; font-size: 24px; }
|
||||
.main-nav { display: flex; align-items: center; justify-content: center; gap: var(--space-8); margin-inline-start: auto; }
|
||||
.main-nav a { display: flex; align-items: center; min-block-size: 48px; text-decoration: none; font-size: 14px; font-weight: 600; transition: color var(--ease); }
|
||||
.main-nav a:hover { color: var(--muted); text-decoration: underline; }
|
||||
.theme-toggle { display: grid; place-items: center; inline-size: 48px; block-size: 48px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: background var(--ease), transform var(--ease); }
|
||||
.theme-toggle:hover { background: var(--inset); }
|
||||
.theme-toggle:active { transform: translateY(2px); }
|
||||
.theme-moon { display: none; }
|
||||
:root[data-theme="light"] .theme-sun { display: none; }
|
||||
:root[data-theme="light"] .theme-moon { display: block; }
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root:not([data-theme]) .theme-sun { display: none; }
|
||||
:root:not([data-theme]) .theme-moon { display: block; }
|
||||
}
|
||||
|
||||
.hero { --focus: #e8b86c; position: relative; isolation: isolate; overflow: hidden; color: var(--hero-ink); background: #101a10; }
|
||||
.hero-scene { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: center; z-index: -2; }
|
||||
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(9 20 10 / 88%), rgb(9 20 10 / 68%) 38%, rgb(9 20 10 / 9%) 78%), linear-gradient(0deg, rgb(9 20 10 / 48%), transparent 45%); }
|
||||
.hero-inner { min-block-size: 640px; padding-block: var(--space-24) var(--space-24); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
|
||||
h1 { max-inline-size: 800px; font-size: clamp(36px, 5.3vw, 84px); line-height: 1.09; letter-spacing: -.02em; text-shadow: 0 4px 0 rgb(9 20 10 / 75%); }
|
||||
h1 span { display: block; }
|
||||
.hero-lead { max-inline-size: 51ch; margin-block-start: var(--space-6); color: var(--hero-muted); font-size: 18px; line-height: 1.75; text-wrap: pretty; }
|
||||
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-8); margin-block-start: var(--space-8); }
|
||||
.button { display: inline-flex; justify-content: center; align-items: center; gap: var(--space-3); min-block-size: 56px; padding: var(--space-4) var(--space-6); border: 2px solid transparent; font-weight: 600; line-height: 1.3; text-decoration: none; transition: background var(--ease), transform var(--ease), box-shadow var(--ease); }
|
||||
.button-primary { background: var(--grass); color: var(--action-ink); border-color: rgb(23 37 13 / 28%); box-shadow: inset 0 3px 0 rgb(255 255 255 / 26%), 0 5px 0 #506c26; }
|
||||
.button-primary:hover { background: var(--grass-hover); transform: translateY(-2px); box-shadow: inset 0 3px 0 rgb(255 255 255 / 26%), 0 7px 0 #506c26; }
|
||||
.button-primary:active { transform: translateY(4px); box-shadow: inset 0 3px 0 rgb(255 255 255 / 26%), 0 1px 0 #506c26; }
|
||||
.hero-guide { display: inline-flex; align-items: center; gap: var(--space-3); min-block-size: 48px; text-decoration: none; font-weight: 600; }
|
||||
.hero-guide:hover { text-decoration: underline; }
|
||||
.hero-guide .icon { inline-size: 20px; }
|
||||
.hero-note { margin-block-start: var(--space-6); color: var(--hero-muted); font-size: 14px; }
|
||||
.hero-scroll { position: absolute; inset-block-end: var(--space-6); inset-inline-end: var(--gutter); display: flex; align-items: center; gap: var(--space-3); min-block-size: 44px; color: var(--hero-ink); text-decoration: none; font-size: 14px; }
|
||||
.hero-scroll .icon { transform: rotate(90deg); inline-size: 18px; }
|
||||
.hero-scroll:hover span { text-decoration: underline; }
|
||||
|
||||
.connection { background: var(--surface); border-bottom: 1px solid var(--line); }
|
||||
.connection-inner { position: relative; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-6); padding-block: var(--space-8) var(--space-12); }
|
||||
.connection-label { display: flex; align-items: center; gap: var(--space-4); }
|
||||
.signal-mark { inline-size: 12px; block-size: 12px; background: var(--muted); box-shadow: 6px -6px 0 var(--muted); margin-inline-end: var(--space-2); }
|
||||
.connection-title { font-weight: 600; }
|
||||
.connection-caption { color: var(--muted); font-size: 14px; }
|
||||
.address-group { display: flex; align-items: center; gap: var(--space-6); min-inline-size: 0; }
|
||||
#server-address { font-size: 17px; color: var(--ink); }
|
||||
.button-copy { inline-size: 184px; min-block-size: 48px; padding: var(--space-3) var(--space-4); border: 1px solid var(--line); color: var(--ink); background: var(--inset); font-size: 14px; }
|
||||
.button-copy:hover { background: var(--bg); }
|
||||
.button-copy:active { transform: translateY(2px); }
|
||||
.copied-icon { display: none; }
|
||||
[data-copied="true"] .copy-icon { display: none; }
|
||||
[data-copied="true"] .copied-icon { display: block; }
|
||||
.copy-feedback { position: absolute; inset-inline-end: 0; inset-block-end: var(--space-3); max-inline-size: 100%; min-block-size: 23px; color: var(--muted); font-size: 14px; }
|
||||
|
||||
.world-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-24); }
|
||||
.section-intro > p { margin-block-start: var(--space-6); max-inline-size: 48ch; color: var(--muted); font-size: 18px; }
|
||||
.world-list { display: grid; gap: var(--space-8); align-content: center; }
|
||||
.world-entry { display: flex; gap: var(--space-6); }
|
||||
.world-entry + .world-entry { padding-block-start: var(--space-8); border-top: 1px solid var(--line); }
|
||||
.world-icon { inline-size: 32px; block-size: 32px; color: var(--muted); }
|
||||
.world-entry p { margin-block-start: var(--space-3); color: var(--muted); max-inline-size: 48ch; }
|
||||
|
||||
.setup-section { background: var(--inset); }
|
||||
.setup-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: var(--space-24); margin-block-start: var(--space-12); }
|
||||
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-8); }
|
||||
.steps li { display: flex; align-items: flex-start; gap: var(--space-6); }
|
||||
.step-number { flex: 0 0 48px; display: grid; place-items: center; block-size: 48px; color: var(--muted); border: 1px solid var(--line); font-family: var(--heading-font); font-size: 20px; font-variant-numeric: tabular-nums; }
|
||||
.steps h3 { font-size: 24px; }
|
||||
.steps p { margin-block-start: var(--space-3); max-inline-size: 63ch; color: var(--muted); }
|
||||
.steps a, .questions a { color: var(--ink); }
|
||||
.steps a:hover, .questions a:hover { text-decoration-thickness: 2px; }
|
||||
.requirements { align-self: start; padding: var(--space-8); background: var(--surface); }
|
||||
.requirements dl { margin-block: var(--space-6); }
|
||||
.requirements dl > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2) var(--space-4); padding-block: var(--space-3); border-bottom: 1px solid var(--line); font-size: 14px; }
|
||||
.requirements dt { color: var(--muted); }
|
||||
.requirements dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
|
||||
.requirements > p { color: var(--muted); font-size: 14px; }
|
||||
|
||||
.help-layout { display: grid; grid-template-columns: 1fr 1.65fr; gap: var(--space-24); }
|
||||
.questions details { border-bottom: 1px solid var(--line); }
|
||||
.questions details:first-child { border-top: 1px solid var(--line); }
|
||||
.questions summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-block-size: 80px; padding-block: var(--space-6); cursor: pointer; font-size: 18px; font-weight: 600; line-height: 1.5; }
|
||||
.questions summary::-webkit-details-marker { display: none; }
|
||||
.questions summary:hover { color: var(--muted); }
|
||||
.questions summary .icon { transition: transform var(--ease); }
|
||||
.questions details[open] summary .icon { transform: rotate(45deg); }
|
||||
.questions details > p { max-inline-size: 65ch; padding-block-end: var(--space-6); padding-inline-end: var(--space-12); color: var(--muted); }
|
||||
.site-footer { border-top: 1px solid var(--line); padding-block: var(--space-12); background: var(--inset); }
|
||||
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: var(--space-8); }
|
||||
.footer-brand { display: flex; flex-direction: column; min-block-size: 48px; text-decoration: none; font-family: var(--heading-font); font-size: 20px; }
|
||||
.footer-brand span { margin-block-start: var(--space-2); color: var(--muted); font: 400 14px/1.65 var(--body-font); }
|
||||
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-6); font-size: 14px; }
|
||||
.footer-links a { display: flex; align-items: center; min-block-size: 48px; }
|
||||
.footer-inner > p { flex-basis: 100%; color: var(--muted); font-size: 14px; }
|
||||
|
||||
@media (min-width: 1600px) {
|
||||
.hero-inner { min-block-size: 720px; }
|
||||
}
|
||||
@media (max-width: 960px) {
|
||||
.world-layout, .setup-layout, .help-layout { gap: var(--space-12); }
|
||||
.world-layout { grid-template-columns: 1fr 1fr; }
|
||||
.connection-label { flex-basis: 100%; }
|
||||
.address-group { inline-size: 100%; justify-content: space-between; }
|
||||
.copy-feedback { inset-inline-start: 0; }
|
||||
}
|
||||
@media (max-width: 700px) {
|
||||
.header-inner { min-block-size: 80px; gap: var(--space-4); }
|
||||
.brand-block { inline-size: 28px; block-size: 32px; }
|
||||
.brand-name { font-size: 16px; }
|
||||
.brand-name span { font-size: 19px; }
|
||||
.main-nav { gap: 0; }
|
||||
.main-nav a { font-size: 14px; }
|
||||
.main-nav .nav-world, .main-nav .nav-help { display: none; }
|
||||
.theme-toggle { inline-size: 44px; block-size: 44px; flex: 0 0 auto; }
|
||||
.hero-inner { min-block-size: 620px; padding-block: var(--space-16) var(--space-24); }
|
||||
.hero-scene { object-position: 61% center; }
|
||||
.hero::before { background: linear-gradient(90deg, rgb(9 20 10 / 88%), rgb(9 20 10 / 60%)), linear-gradient(0deg, rgb(9 20 10 / 30%), transparent); }
|
||||
h1 { font-size: clamp(34px, 7.7vw, 48px); }
|
||||
.hero-lead { margin-block-start: var(--space-6); font-size: 16px; }
|
||||
.hero-actions { gap: var(--space-4) var(--space-6); margin-block-start: var(--space-8); }
|
||||
.button-primary { min-block-size: 56px; }
|
||||
.hero-guide { font-size: 14px; }
|
||||
.hero-note { font-size: 14px; }
|
||||
.hero-scroll { inset-inline-start: var(--gutter); inset-inline-end: auto; font-size: 14px; }
|
||||
.connection-inner { gap: var(--space-6); padding-block: var(--space-8) 52px; }
|
||||
.address-group { gap: var(--space-3); }
|
||||
#server-address { font-size: 14px; }
|
||||
.button-copy { inline-size: 48px; flex: 0 0 48px; padding: var(--space-3); }
|
||||
.button-copy span { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
|
||||
.copy-feedback { font-size: 14px; line-height: 1.5; }
|
||||
.section { padding-block: var(--space-16); }
|
||||
.world-layout, .setup-layout, .help-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-12); }
|
||||
.section-intro > p { font-size: 16px; }
|
||||
.world-entry { gap: var(--space-4); }
|
||||
.world-entry h3 { font-size: 26px; }
|
||||
.world-icon { inline-size: 28px; block-size: 28px; }
|
||||
.setup-layout { margin-block-start: var(--space-8); }
|
||||
.steps li { gap: var(--space-4); }
|
||||
.step-number { flex-basis: 40px; block-size: 40px; font-size: 18px; }
|
||||
.steps h3 { font-size: 24px; }
|
||||
.requirements { padding: var(--space-6); }
|
||||
.questions summary { font-size: 16px; gap: var(--space-4); }
|
||||
.questions details > p { padding-inline-end: 0; }
|
||||
.footer-inner { gap: var(--space-6); }
|
||||
.footer-links { gap: var(--space-6); }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
:root { scroll-behavior: auto; }
|
||||
*, *::before, *::after { transition: none !important; }
|
||||
.button-primary:hover, .button-primary:active, .button-copy:active, .theme-toggle:active { transform: none; }
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
// @ts-check
|
||||
|
||||
const root = document.documentElement;
|
||||
const darkPreference = window.matchMedia("(prefers-color-scheme: dark)");
|
||||
|
||||
document.querySelectorAll("[data-theme-toggle]").forEach((button) => {
|
||||
button.addEventListener("click", () => {
|
||||
const dark = root.dataset.theme
|
||||
? root.dataset.theme === "dark"
|
||||
: darkPreference.matches;
|
||||
root.dataset.theme = dark ? "light" : "dark";
|
||||
button.setAttribute(
|
||||
"aria-label",
|
||||
dark ? "Включить тёмную тему" : "Включить светлую тему",
|
||||
);
|
||||
button.setAttribute("title", button.getAttribute("aria-label") ?? "");
|
||||
});
|
||||
});
|
||||
|
||||
document.querySelectorAll("[data-copy-address]").forEach((button) => {
|
||||
button.addEventListener("click", async () => {
|
||||
const address = document.getElementById("server-address");
|
||||
const feedback = document.getElementById("copy-feedback");
|
||||
if (!address || !feedback) return;
|
||||
|
||||
try {
|
||||
await navigator.clipboard.writeText(address.innerText.trim());
|
||||
button.setAttribute("data-copied", "true");
|
||||
feedback.textContent = "Адрес скопирован. Увидимся в игре.";
|
||||
} catch (error) {
|
||||
if (!(error instanceof DOMException)) throw error;
|
||||
button.removeAttribute("data-copied");
|
||||
feedback.textContent = "Выдели адрес и скопируй его вручную.";
|
||||
}
|
||||
});
|
||||
});
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 226 KiB |
@@ -0,0 +1,181 @@
|
||||
<!doctype html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="color-scheme" content="dark light">
|
||||
<meta name="theme-color" content="#141a15">
|
||||
<meta name="description" content="wowmine — Азерот и Запределье в Minecraft. Скачай готовую сборку для Prism Launcher с автоматическими обновлениями и присоединяйся к серверу.">
|
||||
<meta property="og:title" content="wowmine — Азерот из блоков">
|
||||
<meta property="og:description" content="Знакомый мир, новая история. Готовая сборка Minecraft с автоматическими обновлениями через Prism Launcher.">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:locale" content="ru_RU">
|
||||
<meta property="og:image" content="https://wowmine.bfs.band:8443/wowmine/assets/world-valley.webp">
|
||||
<link rel="canonical" href="https://wowmine.bfs.band:8443/wowmine/">
|
||||
<link rel="icon" type="image/svg+xml" href="/wowmine/assets/favicon.svg">
|
||||
<link rel="preload" href="/wowmine/assets/russo-one.ttf" as="font" type="font/ttf" crossorigin>
|
||||
<link rel="preload" href="/wowmine/assets/world-valley.webp" as="image" fetchpriority="high">
|
||||
<link rel="stylesheet" href="/wowmine/assets/site.css">
|
||||
<script src="/wowmine/assets/site.js" defer></script>
|
||||
<title>wowmine — Азерот из блоков</title>
|
||||
</head>
|
||||
<body id="top">
|
||||
<a class="skip-link" href="#main">Перейти к содержимому</a>
|
||||
<svg class="icon-sprite" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
|
||||
<symbol id="arrow" viewBox="0 0 24 24"><path d="M5 12h14m-6-6 6 6-6 6"/></symbol>
|
||||
<symbol id="download" viewBox="0 0 24 24"><path d="M12 3v12m-5-5 5 5 5-5M5 16v5h14v-5"/></symbol>
|
||||
<symbol id="copy" viewBox="0 0 24 24"><path d="M9 9h11v11H9zM15 5V3H3v12h2"/></symbol>
|
||||
<symbol id="check" viewBox="0 0 24 24"><path d="m5 12 4 4L19 6"/></symbol>
|
||||
<symbol id="sun" viewBox="0 0 24 24"><path d="M12 2v2m0 16v2M2 12h2m16 0h2M5 5l1.5 1.5m11 11L19 19M5 19l1.5-1.5m11-11L19 5"/><circle cx="12" cy="12" r="4"/></symbol>
|
||||
<symbol id="moon" viewBox="0 0 24 24"><path d="M20.5 13A8.5 8.5 0 0 1 11 3.5 8.5 8.5 0 1 0 20.5 13Z"/></symbol>
|
||||
<symbol id="plus" viewBox="0 0 24 24"><path d="M5 12h14M12 5v14"/></symbol>
|
||||
<symbol id="map" viewBox="0 0 24 24"><path d="m3 5 6-2 6 2 6-2v16l-6 2-6-2-6 2Zm6-2v16m6-14v16"/></symbol>
|
||||
<symbol id="portal" viewBox="0 0 24 24"><path d="M5 21V7l4-4h6l4 4v14M9 21V9l2-2h2l2 2v12M3 21h18"/></symbol>
|
||||
</svg>
|
||||
|
||||
<header class="site-header">
|
||||
<div class="container header-inner">
|
||||
<a class="brand" href="#top" aria-label="wowmine — в начало">
|
||||
<svg class="brand-block" viewBox="0 0 40 44" aria-hidden="true">
|
||||
<path fill="#a7d754" d="m20 1 19 10-19 10L1 11Z"/>
|
||||
<path fill="#765239" d="m1 11 19 10v22L1 33Z"/>
|
||||
<path fill="#513c30" d="m20 21 19-10v22L20 43Z"/>
|
||||
<path fill="#76a637" d="m1 11 19 10v8l-6-3v-4l-5-2v4l-8-5Zm19 10 19-10v8l-5 3v-4l-6 4v5l-8 4Z"/>
|
||||
</svg>
|
||||
<span class="brand-name">wowmine</span>
|
||||
</a>
|
||||
<nav class="main-nav" aria-label="Основная навигация">
|
||||
<a class="nav-world" href="#world">Мир сервера</a>
|
||||
<a class="nav-world" href="/wowmine/map/#azeroth:3742:80:8891:220:0.7:0.9:0:0:perspective">3D-карта</a>
|
||||
<a href="#start">Как начать</a>
|
||||
<a class="nav-help" href="#help">Вопросы</a>
|
||||
</nav>
|
||||
<button class="theme-toggle" type="button" aria-label="Сменить тему" title="Сменить тему" data-theme-toggle>
|
||||
<svg class="icon theme-sun" aria-hidden="true"><use href="#sun"/></svg>
|
||||
<svg class="icon theme-moon" aria-hidden="true"><use href="#moon"/></svg>
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main id="main">
|
||||
<section class="hero" aria-labelledby="hero-title">
|
||||
<img class="hero-scene" src="/wowmine/assets/world-valley.webp" width="1600" height="900" alt="" fetchpriority="high">
|
||||
<div class="container hero-inner">
|
||||
<h1 id="hero-title">Азерот. <span>Теперь из блоков.</span></h1>
|
||||
<p class="hero-lead">Знакомые земли — совсем другая история.<br>Исследуй Азерот и Запределье в нашей сборке Minecraft.</p>
|
||||
<div class="hero-actions">
|
||||
<a class="button button-primary" href="/minecraft/wowmine/wowmine-Prism.zip" download="wowmine.zip">
|
||||
<svg class="icon" aria-hidden="true"><use href="#download"/></svg>
|
||||
Скачать сборку
|
||||
</a>
|
||||
<a class="hero-guide" href="#start">Как установить <svg class="icon" aria-hidden="true"><use href="#arrow"/></svg></a>
|
||||
<a class="hero-guide" href="/wowmine/map/#azeroth:3742:80:8891:220:0.7:0.9:0:0:perspective"><svg class="icon" aria-hidden="true"><use href="#map"/></svg> 3D-карта</a>
|
||||
</div>
|
||||
<p class="hero-note">Для Prism Launcher · с автообновлениями</p>
|
||||
</div>
|
||||
<a class="hero-scroll" href="#world" aria-label="Узнать о мире"><span>Дальше — целый мир</span><svg class="icon" aria-hidden="true"><use href="#arrow"/></svg></a>
|
||||
</section>
|
||||
|
||||
<section class="connection" aria-label="Подключение к серверу">
|
||||
<div class="container connection-inner">
|
||||
<div class="connection-label">
|
||||
<span class="signal-mark" aria-hidden="true"></span>
|
||||
<div><p class="connection-title">Место встречи</p><p class="connection-caption">Добавь в список серверов</p></div>
|
||||
</div>
|
||||
<div class="address-group">
|
||||
<code id="server-address">wowmine.bfs.band:35565</code>
|
||||
<button class="button button-copy" type="button" data-copy-address>
|
||||
<svg class="icon copy-icon" aria-hidden="true"><use href="#copy"/></svg>
|
||||
<svg class="icon copied-icon" aria-hidden="true"><use href="#check"/></svg>
|
||||
<span>Скопировать IP</span>
|
||||
</button>
|
||||
</div>
|
||||
<p class="copy-feedback" id="copy-feedback" role="status" aria-live="polite"></p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section world-section" id="world" aria-labelledby="world-title">
|
||||
<div class="container world-layout">
|
||||
<div class="section-intro">
|
||||
<h2 id="world-title">За каждым блоком — <br>новое открытие.</h2>
|
||||
<p>Знакомые города и далёкие земли. Мир Warcraft, в котором можно не только путешествовать, но и строить свою историю.</p>
|
||||
</div>
|
||||
<div class="world-list">
|
||||
<article class="world-entry">
|
||||
<svg class="world-icon" aria-hidden="true"><use href="#map"/></svg>
|
||||
<div><h3>Азерот</h3><p>Знакомые земли, города и простор для собственных построек. Выбирай направление и отправляйся в путь.</p></div>
|
||||
</article>
|
||||
<article class="world-entry">
|
||||
<svg class="world-icon" aria-hidden="true"><use href="#portal"/></svg>
|
||||
<div><h3>Запределье</h3><p>Отдельное измерение для продолжения путешествия. Когда одного мира уже недостаточно.</p></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section setup-section" id="start" aria-labelledby="start-title">
|
||||
<div class="container">
|
||||
<h2 id="start-title">Три шага до приключения</h2>
|
||||
<div class="setup-layout">
|
||||
<ol class="steps">
|
||||
<li>
|
||||
<span class="step-number" aria-hidden="true">01</span>
|
||||
<div><h3>Установи Prism Launcher</h3><p>Скачай <a href="https://prismlauncher.org/download/">Prism Launcher</a> и выбери Java 21 в настройках. Это дом для твоей сборки.</p></div>
|
||||
</li>
|
||||
<li>
|
||||
<span class="step-number" aria-hidden="true">02</span>
|
||||
<div><h3>Добавь сборку</h3><p><a href="/minecraft/wowmine/wowmine-Prism.zip" download="wowmine.zip">Скачай ZIP для Prism</a>. Затем открой «Добавить сборку» → «Импорт из ZIP» и выбери скачанный файл.</p></div>
|
||||
</li>
|
||||
<li>
|
||||
<span class="step-number" aria-hidden="true">03</span>
|
||||
<div><h3>Запускай и присоединяйся</h3><p>Разреши команду перед запуском: она установит и обновит моды через packwiz. Адрес сервера уже добавлен в сборку.</p></div>
|
||||
</li>
|
||||
</ol>
|
||||
<aside class="requirements" aria-label="Параметры сборки">
|
||||
<h3>Перед запуском</h3>
|
||||
<dl>
|
||||
<div><dt>Minecraft</dt><dd>1.21.1</dd></div>
|
||||
<div><dt>Загрузчик</dt><dd>NeoForge 21.1.250</dd></div>
|
||||
<div><dt>Java</dt><dd>21</dd></div>
|
||||
<div><dt>Память сборки</dt><dd>8 ГБ</dd></div>
|
||||
</dl>
|
||||
<p>Память уже настроена в инстансе. Моды не нужно устанавливать по одному.</p>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section help-section" id="help" aria-labelledby="help-title">
|
||||
<div class="container help-layout">
|
||||
<h2 id="help-title">Перед входом <br>в мир</h2>
|
||||
<div class="questions">
|
||||
<details>
|
||||
<summary>Как обновляется сборка?<svg class="icon" aria-hidden="true"><use href="#plus"/></svg></summary>
|
||||
<p>Перед каждым запуском packwiz проверяет файлы и устанавливает опубликованные обновления модов и конфигурации. Скачивать новую сборку вручную не нужно.</p>
|
||||
</details>
|
||||
<details>
|
||||
<summary>Сохранятся мои настройки?<svg class="icon" aria-hidden="true"><use href="#plus"/></svg></summary>
|
||||
<p>Личные настройки в <code>options.txt</code> сохраняются. Файлы конфигурации, которыми управляет сборка, могут заменяться при обновлении.</p>
|
||||
</details>
|
||||
<details>
|
||||
<summary>Что делать после обновления Minecraft?<svg class="icon" aria-hidden="true"><use href="#plus"/></svg></summary>
|
||||
<p>При смене версии Minecraft или NeoForge может понадобиться ещё раз запустить игру после обновления. Разрешённая команда перед запуском должна оставаться включённой.</p>
|
||||
</details>
|
||||
<details>
|
||||
<summary>Можно скачать обычный mrpack?<svg class="icon" aria-hidden="true"><use href="#plus"/></svg></summary>
|
||||
<p>Да, доступен <a href="/minecraft/wowmine/latest.mrpack" download>обычный mrpack</a>. В нём нет автообновлений: новые версии нужно устанавливать вручную. Для проверки файлов есть <a href="/minecraft/wowmine/SHA256SUMS">контрольные суммы SHA-256</a>.</p>
|
||||
</details>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer class="site-footer">
|
||||
<div class="container footer-inner">
|
||||
<a class="footer-brand" href="#top">wowmine<span>Увидимся по ту сторону экрана.</span></a>
|
||||
<div class="footer-links"><a href="/minecraft/wowmine/">Страница сборки</a><a href="/minecraft/wowmine/SHA256SUMS">SHA-256</a></div>
|
||||
<p>Неофициальный проект. Не связан с Mojang или Microsoft.</p>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,104 @@
|
||||
{ ... }:
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /var/www/wowmine 0755 root root -"
|
||||
"d /var/www/wowmine/public/minecraft/wowmine/releases 0755 root root -"
|
||||
];
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "security@bfs.band";
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts."wowmine-http" = {
|
||||
serverName = "wowmine.bfs.band";
|
||||
useACMEHost = "wowmine.bfs.band";
|
||||
# Keep HTTP-01 challenges on80 while sending visitors to the public TLS port.
|
||||
locations."/".return = "301 https://wowmine.bfs.band:8443$request_uri";
|
||||
};
|
||||
virtualHosts."wowmine.bfs.band" = {
|
||||
enableACME = true;
|
||||
onlySSL = true;
|
||||
root = "/var/www/wowmine/public";
|
||||
# Preserve the client's external port when8443 is forwarded to443.
|
||||
extraConfig = ''
|
||||
absolute_redirect off;
|
||||
'';
|
||||
|
||||
locations = {
|
||||
"= /" = {
|
||||
return = "302 /wowmine/";
|
||||
};
|
||||
"= /wowmine" = {
|
||||
return = "302 /wowmine/";
|
||||
};
|
||||
"^~ /wowmine/" = {
|
||||
alias = "${./wowmine-site/static}/";
|
||||
extraConfig = ''
|
||||
index index.html;
|
||||
autoindex off;
|
||||
add_header Cache-Control "no-cache" always;
|
||||
limit_except GET {
|
||||
deny all;
|
||||
}
|
||||
'';
|
||||
};
|
||||
"= /wowmine/map" = {
|
||||
return = "302 /wowmine/map/";
|
||||
};
|
||||
"^~ /wowmine/map/" = {
|
||||
proxyPass = "http://127.0.0.1:8100/";
|
||||
extraConfig = ''
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header Connection "";
|
||||
proxy_buffering off;
|
||||
proxy_read_timeout 3600s;
|
||||
limit_except GET {
|
||||
deny all;
|
||||
}
|
||||
'';
|
||||
};
|
||||
"= /minecraft/wowmine" = {
|
||||
return = "302 /minecraft/wowmine/";
|
||||
};
|
||||
"^~ /minecraft/wowmine/" = {
|
||||
extraConfig = ''
|
||||
index index.html;
|
||||
autoindex off;
|
||||
add_header Cache-Control "no-cache" always;
|
||||
limit_except GET {
|
||||
deny all;
|
||||
}
|
||||
try_files $uri $uri/ =404;
|
||||
'';
|
||||
};
|
||||
"= /minecraft/world-of-sosal" = {
|
||||
return = "301 /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;
|
||||
'';
|
||||
};
|
||||
"= /world-of-sosal" = {
|
||||
return = "302 /minecraft/wowmine/";
|
||||
};
|
||||
"^~ /world-of-sosal/" = {
|
||||
extraConfig = ''
|
||||
rewrite ^/world-of-sosal/(?:index.html)?$ /minecraft/wowmine/ permanent;
|
||||
rewrite ^/world-of-sosal/(?:releases/)?WorldOfSosal-(.*)$ /minecraft/wowmine/wowmine-$1 permanent;
|
||||
rewrite ^/world-of-sosal/(.*)$ /minecraft/wowmine/$1 permanent;
|
||||
'';
|
||||
};
|
||||
"/" = {
|
||||
return = "404";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
+11
-11
@@ -45,7 +45,7 @@ def main():
|
||||
ap = argparse.ArgumentParser(description=__doc__)
|
||||
ap.add_argument('mrpack', type=Path)
|
||||
ap.add_argument('output', type=Path, help='new output directory (must not exist)')
|
||||
ap.add_argument('--base-url', default='https://store.hectic-lab.com/minecraft/world-of-sosal/')
|
||||
ap.add_argument('--base-url', default='https://wowmine.bfs.band:8443/minecraft/wowmine/')
|
||||
ap.add_argument('--server', help='optional initial multiplayer server address')
|
||||
ap.add_argument('--bootstrap', type=Path)
|
||||
args = Arguments(**vars(ap.parse_args()))
|
||||
@@ -103,14 +103,14 @@ def main():
|
||||
continue
|
||||
name = item.filename[len(prefix):]
|
||||
safe_path(name)
|
||||
if name == 'config/worldofsosal-version.json' and json.loads(z.read(item)) != pack_info:
|
||||
if name == 'config/wowmine-version.json' and json.loads(z.read(item)) != pack_info:
|
||||
raise ValueError('Client version metadata disagrees with mrpack manifest')
|
||||
if not (name.startswith(('config/', 'mods/', 'resourcepacks/', 'shaderpacks/')) or name == 'options.txt'):
|
||||
raise ValueError('Review unexpected override: ' + name)
|
||||
if name in destinations:
|
||||
raise ValueError('Override duplicates downloaded mod: ' + name)
|
||||
write(name, z.read(item), preserve=name in ('options.txt', 'config/DistantHorizons.toml'))
|
||||
write('config/worldofsosal-version.json', (json.dumps(pack_info, indent=2) + '\n').encode())
|
||||
write('config/wowmine-version.json', (json.dumps(pack_info, indent=2) + '\n').encode())
|
||||
index = 'hash-format = "sha256"\n'
|
||||
for entry in sorted(entries.values(), key=lambda e: e['file']):
|
||||
index += '\n[[files]]\n'
|
||||
@@ -121,36 +121,36 @@ def main():
|
||||
else:
|
||||
index += f'{k} = {quote(v)}\n'
|
||||
(root / 'index.toml').write_text(index)
|
||||
pack = f'name = "WorldOfSosal"\npack-format = "packwiz:1.1.0"\nversion = {quote(manifest["versionId"])}\n\n[index]\nfile = "index.toml"\nhash-format = "sha256"\nhash = "{digest(index.encode())}"\n\n[versions]\nminecraft = {quote(deps["minecraft"])}\nneoforge = {quote(deps["neoforge"])}\n'
|
||||
pack = f'name = "wowmine"\npack-format = "packwiz:1.1.0"\nversion = {quote(manifest["versionId"])}\n\n[index]\nfile = "index.toml"\nhash-format = "sha256"\nhash = "{digest(index.encode())}"\n\n[versions]\nminecraft = {quote(deps["minecraft"])}\nneoforge = {quote(deps["neoforge"])}\n'
|
||||
tomllib.loads(pack)
|
||||
(root / 'pack.toml').write_text(pack)
|
||||
(args.output / 'latest.mrpack').write_bytes(archive)
|
||||
(args.output / download_name).write_bytes(archive)
|
||||
# Prism otherwise uses its legacy INI parser and corrupts quoted commands.
|
||||
cfg = '\n'.join(['[General]', 'ConfigVersion=1.2', 'InstanceType=OneSix', 'name=WoS', 'iconKey=default', 'OverrideCommands=true', 'PreLaunchCommand=' + quote(f'"$INST_JAVA" -jar packwiz-installer-bootstrap.jar {base}current/pack.toml'), 'OverrideMemory=true', 'MinMemAlloc=1024', 'MaxMemAlloc=8192', ''])
|
||||
cfg = '\n'.join(['[General]', 'ConfigVersion=1.2', 'InstanceType=OneSix', 'name=wowmine', 'iconKey=default', 'OverrideCommands=true', 'PreLaunchCommand=' + quote(f'"$INST_JAVA" -jar packwiz-installer-bootstrap.jar {base}current/pack.toml'), 'OverrideMemory=true', 'MinMemAlloc=1024', 'MaxMemAlloc=8192', ''])
|
||||
mmc = {'formatVersion': 1, 'components': [{'uid':'net.minecraft', 'version':deps['minecraft'], 'important':True}, {'uid':'net.neoforged', 'version':deps['neoforge'], 'important':True}]}
|
||||
def nbt_string(value):
|
||||
data = value.encode()
|
||||
return struct.pack('>H', len(data)) + data
|
||||
# Initial server list is seeded only during instance import, never overwritten.
|
||||
servers = b'\x0a\x00\x00\x09' + nbt_string('servers') + b'\x0a\x00\x00\x00\x01'
|
||||
servers += b'\x08' + nbt_string('name') + nbt_string('WoS')
|
||||
servers += b'\x08' + nbt_string('name') + nbt_string('wowmine')
|
||||
servers += b'\x08' + nbt_string('ip') + nbt_string(args.server or '') + b'\x00\x00'
|
||||
with zipfile.ZipFile(args.output / 'WorldOfSosal-Prism.zip', 'w', zipfile.ZIP_DEFLATED) as z:
|
||||
with zipfile.ZipFile(args.output / 'wowmine-Prism.zip', 'w', zipfile.ZIP_DEFLATED) as z:
|
||||
z.writestr('instance.cfg', cfg)
|
||||
z.writestr('mmc-pack.json', json.dumps(mmc, indent=2))
|
||||
z.writestr('.minecraft/packwiz-installer-bootstrap.jar', bootstrap)
|
||||
if args.server:
|
||||
z.writestr('.minecraft/servers.dat', servers)
|
||||
page = f'''<!doctype html><html lang="ru"><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>WorldOfSosal</title>
|
||||
<h1>WorldOfSosal — автоматическое обновление</h1>
|
||||
<p>Один раз скачайте <a href="WorldOfSosal-Prism.zip" download="WoS.zip">инстанс для Prism Launcher</a>, затем выберите «Добавить сборку → Импорт из zip». Разрешите команду перед запуском: она устанавливает и обновляет моды через packwiz.</p>
|
||||
page = f'''<!doctype html><html lang="ru"><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>wowmine</title>
|
||||
<h1>wowmine — автоматическое обновление</h1>
|
||||
<p>Один раз скачайте <a href="wowmine-Prism.zip" download="wowmine.zip">инстанс для Prism Launcher</a>, затем выберите «Добавить сборку → Импорт из zip». Разрешите команду перед запуском: она устанавливает и обновляет моды через packwiz.</p>
|
||||
<p>Сборка {html.escape(pack_info['version'])} · Minecraft {html.escape(deps['minecraft'])} · NeoForge {html.escape(deps['neoforge'])} · Java 21 · память 8 ГБ.</p>
|
||||
<p>{'Сервер: <code>' + html.escape(args.server) + '</code>.' if args.server else 'Адрес игрового сервера будет сообщён отдельно.'}</p>
|
||||
<p>Моды и конфигурация сборки обновляются при каждом запуске. Личные настройки options.txt и Distant Horizons сохраняются. В новых установках качество LOD — High; Medium можно выбрать в настройках Distant Horizons. При смене Minecraft или NeoForge может потребоваться повторный запуск после обновления версии.</p>
|
||||
<p><a href="{urllib.parse.quote(download_name)}" download="{html.escape(download_name, quote=True)}">Обычный mrpack без автообновлений</a> · <a href="SHA256SUMS">Контрольные суммы</a></p></html>'''
|
||||
(args.output / 'index.html').write_text(page)
|
||||
files = ['WorldOfSosal-Prism.zip', download_name, 'latest.mrpack', 'pack/pack.toml']
|
||||
files = ['wowmine-Prism.zip', download_name, 'latest.mrpack', 'pack/pack.toml']
|
||||
(args.output / 'SHA256SUMS').write_text(''.join(f'{digest((args.output/f).read_bytes())} {f.replace("pack/", "current/")}\n' for f in files))
|
||||
print(json.dumps({'release':release, 'minecraft':deps['minecraft'], 'neoforge':deps['neoforge'], 'managed_files':len(entries), 'server':args.server}))
|
||||
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Build and publish the same tested server pack on both independent entry points."""
|
||||
"""Compatibility command: build and publish the tested server pack on neuro."""
|
||||
import argparse
|
||||
import hashlib
|
||||
from pathlib import Path
|
||||
import subprocess
|
||||
import sys
|
||||
import tempfile
|
||||
import zipfile
|
||||
|
||||
|
||||
def main():
|
||||
def main() -> None:
|
||||
ap = argparse.ArgumentParser(description=__doc__)
|
||||
ap.add_argument('mrpack', type=Path)
|
||||
ap.add_argument('--bootstrap', type=Path)
|
||||
@@ -20,37 +19,21 @@ def main():
|
||||
deployed = subprocess.run([
|
||||
'ssh', '-o', 'BatchMode=yes', 'neuro',
|
||||
'systemctl is-active --quiet minecraft-server-wowMineMap && '
|
||||
'sha256sum /var/lib/minecraft-modpacks/worldOfSosal/WorldOfSosal.mrpack',
|
||||
'sha256sum /var/lib/minecraft-modpacks/wowmine/wowmine.mrpack',
|
||||
], capture_output=True, text=True, check=True).stdout.split()[0]
|
||||
if deployed != expected:
|
||||
ap.error('Deploy this mrpack on neuro first: the server archive hash differs')
|
||||
scripts = Path(__file__).resolve().parent
|
||||
mirrors = [
|
||||
('hectic-lab', 'https://store.hectic-lab.com/minecraft/world-of-sosal/', 'wowmine.bfs.band:35565'),
|
||||
('bfs.poland.xray', 'https://store.bfs.band/minecraft/world-of-sosal/', 'wowmine.bfs.band:35565'),
|
||||
]
|
||||
with tempfile.TemporaryDirectory(prefix='prism-mirrors-') as temporary:
|
||||
root = Path(temporary)
|
||||
bootstrap = args.bootstrap.resolve() if args.bootstrap else None
|
||||
builds = []
|
||||
for host, url, server in mirrors:
|
||||
output = root / host
|
||||
command = [sys.executable, str(scripts / 'build-prism-pack.py'),
|
||||
str(archive), str(output), '--base-url', url, '--server', server]
|
||||
if bootstrap:
|
||||
command += ['--bootstrap', str(bootstrap)]
|
||||
subprocess.run(command, check=True)
|
||||
if bootstrap is None:
|
||||
bootstrap = root / 'packwiz-installer-bootstrap.jar'
|
||||
with zipfile.ZipFile(output / 'WorldOfSosal-Prism.zip') as z:
|
||||
bootstrap.write_bytes(z.read('.minecraft/packwiz-installer-bootstrap.jar'))
|
||||
builds.append((host, url, output))
|
||||
# Each switch is atomic on its host. A failed publication exits nonzero;
|
||||
# rerunning safely verifies existing releases and retries both mirrors.
|
||||
for host, url, output in builds:
|
||||
subprocess.run([sys.executable, str(scripts / 'publish-prism-pack.py'),
|
||||
str(output), host], check=True)
|
||||
print(url, flush=True)
|
||||
with tempfile.TemporaryDirectory(prefix='prism-publish-') as temporary:
|
||||
output = Path(temporary) / 'export'
|
||||
command = [sys.executable, str(scripts / 'build-prism-pack.py'),
|
||||
str(archive), str(output), '--server', 'wowmine.bfs.band:35565']
|
||||
if args.bootstrap:
|
||||
command += ['--bootstrap', str(args.bootstrap.resolve())]
|
||||
subprocess.run(command, check=True)
|
||||
subprocess.run([sys.executable, str(scripts / 'publish-prism-pack.py'),
|
||||
str(output)], check=True)
|
||||
print('https://wowmine.bfs.band:8443/minecraft/wowmine/', flush=True)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
@@ -12,14 +12,14 @@ import tarfile
|
||||
import tempfile
|
||||
|
||||
root = Path(sys.argv[1]).resolve()
|
||||
host = sys.argv[2] if len(sys.argv) > 2 else 'hectic-lab'
|
||||
host = sys.argv[2] if len(sys.argv) > 2 else 'neuro'
|
||||
if host.startswith('-'):
|
||||
raise ValueError('Invalid SSH host')
|
||||
release = hashlib.sha256((root / 'pack/pack.toml').read_bytes()).hexdigest()
|
||||
with tempfile.TemporaryDirectory(prefix='prism-publish-') as temporary:
|
||||
archive = Path(temporary) / 'publish.tar.gz'
|
||||
with tarfile.open(archive, 'w:gz') as tar:
|
||||
for name in ['pack', 'WorldOfSosal-Prism.zip', 'SHA256SUMS', 'index.html']:
|
||||
for name in ['pack', 'wowmine-Prism.zip', 'SHA256SUMS', 'index.html']:
|
||||
tar.add(root / name, arcname=name)
|
||||
for path in root.glob('*.mrpack'):
|
||||
tar.add(path, arcname=path.name)
|
||||
@@ -28,7 +28,7 @@ with tempfile.TemporaryDirectory(prefix='prism-publish-') as temporary:
|
||||
subprocess.run(['ssh', '-o', 'BatchMode=yes', host, f'cat > {remote}'], stdin=upload, check=True)
|
||||
script = '''set -eu
|
||||
umask 022
|
||||
base=/var/www/store/minecraft/world-of-sosal
|
||||
base=/var/www/wowmine/public/minecraft/wowmine
|
||||
release=RELEASE
|
||||
archive=/tmp/prism-publish-$release.tar.gz
|
||||
mkdir -p "$base/releases"
|
||||
@@ -50,7 +50,7 @@ done
|
||||
for source in "$stage"/*.mrpack; do
|
||||
mv "$source" "$base/$(basename "$source")"
|
||||
done
|
||||
for name in WorldOfSosal-Prism.zip SHA256SUMS index.html; do
|
||||
for name in wowmine-Prism.zip SHA256SUMS index.html; do
|
||||
mv "$stage/$name" "$base/$name"
|
||||
done
|
||||
ln -s "releases/$release" "$stage/current"
|
||||
@@ -58,4 +58,4 @@ mv -Tf "$stage/current" "$base/current"
|
||||
echo "Published $release"
|
||||
'''.replace('RELEASE', release)
|
||||
subprocess.run(['ssh', '-o', 'BatchMode=yes', host, 'sh', '-s'], input=script, text=True, check=True)
|
||||
print(f'Published client files on {host}:/var/www/store/minecraft/world-of-sosal')
|
||||
print(f'Published client files on {host}:/var/www/wowmine/public/minecraft/wowmine')
|
||||
|
||||
+56
@@ -1,5 +1,61 @@
|
||||
# Build evidence
|
||||
|
||||
## wowmine rename build, 2026-11-18
|
||||
|
||||
Observed in `/home/yukkop/pj/hearth/script/wowmine-client-info`:
|
||||
|
||||
```sh
|
||||
GRADLE_USER_HOME="$PWD/.gradle-home" sh gradlew --console=plain build
|
||||
```
|
||||
|
||||
Asynchronous monitor `mon_Y4H3XQR200C1WECD`, terminal `bash_5`, reported
|
||||
`BUILD SUCCESSFUL in 15s` and `watcher completed (exit code 0)`.
|
||||
Compilation, resource processing, JAR creation, and sources JAR creation ran.
|
||||
Gradle reported `test NO-SOURCE`; this project has no automated unit tests.
|
||||
Java was OpenJDK `21.0.7+6-nixos`. Build versions remain Gradle `9.2.1`,
|
||||
ModDevGradle `2.0.148`, NeoForge `21.1.250`, and addon `1.0.0`.
|
||||
|
||||
```text
|
||||
build/libs/wowmine-client-info-1.0.0.jar
|
||||
SHA-256 11500779009865f9f87d68ea54726e0c80db4cd2404ccd23d6307880a2705110
|
||||
|
||||
build/libs/wowmine-client-info-1.0.0-sources.jar
|
||||
SHA-256 2310083a7a928f5e770b8c5c861d9e59d2d2b1475abb4a7d78e178b49bea97e9
|
||||
```
|
||||
|
||||
`jar tf` inspected both archives: classes/sources use `net/wowmine`, the
|
||||
entrypoint is `WowmineClientInfo`, and the mixin resource is
|
||||
`wowmine-client-info.mixins.json`. `javap -p -constants` confirmed the renamed
|
||||
classes and `wowmineClientInfo$title` method. No old package or resource names
|
||||
remain in either archive inventory.
|
||||
|
||||
Scoped Bun assertions passed for JSON/TOML parsing, renamed mod/display/mixin
|
||||
identity, unchanged pinned client dependencies, client-only mixin isolation,
|
||||
absence of old source references, both archive inventories, and the old
|
||||
subtree containing only generated `.gradle/` and `build/` directories.
|
||||
The initial Python validation command could not run because `python3` was
|
||||
absent; the validation was performed with installed Bun instead.
|
||||
Java/JSON editor diagnostics remain unavailable (`jdtls`/`biome` absent);
|
||||
the Java compiler and JSON/TOML parsers succeeded.
|
||||
|
||||
Source/text moves and edits used `apply_patch`. The unchanged binary wrapper
|
||||
JAR and existing `.gradle-home/` dependency cache were relocated directly,
|
||||
because the text patch tool cannot move a binary JAR. Historical old build
|
||||
outputs and project caches remain under the old subtree, unused by this build.
|
||||
Old names below are historical evidence only, not compatibility aliases.
|
||||
|
||||
The runtime contract now reads `config/wowmine-version.json`. The pack
|
||||
builder must supply manifest `name` exactly `wowmine`; title and local login
|
||||
message still display that manifest value. No fallback to the old filename
|
||||
or mod ID was added. No GUI/gameplay, launcher, server, publisher, or production
|
||||
changes were performed. Runtime acceptance remains owned by the main task.
|
||||
|
||||
## Historical pre-rename build
|
||||
|
||||
The following 2026-11-12 evidence is retained verbatim as historical evidence.
|
||||
Its old paths, artifact names, classes, and hashes describe that original
|
||||
build, not the renamed wowmine artifacts.
|
||||
|
||||
Observed on 2026-11-12 in `/home/yukkop/pj/hearth/script/worldofsosal-client-info`.
|
||||
This records an actual successful build, not a proposed command.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# WorldOfSosal Client Info
|
||||
# wowmine Client Info
|
||||
|
||||
Tiny client-only addon, version 1.0.0, for Minecraft 1.21.1 and NeoForge
|
||||
21.1.250. Java 21 required. Uses NeoForge's built-in Mixin support and the
|
||||
@@ -19,8 +19,8 @@ The first build needs network access.
|
||||
|
||||
Outputs:
|
||||
|
||||
- `build/libs/worldofsosal-client-info-1.0.0.jar`: install in the client's `mods`.
|
||||
- `build/libs/worldofsosal-client-info-1.0.0-sources.jar`: Java source/resources.
|
||||
- `build/libs/wowmine-client-info-1.0.0.jar`: install in the client's `mods`.
|
||||
- `build/libs/wowmine-client-info-1.0.0-sources.jar`: Java source/resources.
|
||||
|
||||
The repository directory also contains the complete build definition and
|
||||
wrapper. Keep those files with the sources to rebuild; the sources JAR alone
|
||||
@@ -28,7 +28,7 @@ is not a build project.
|
||||
|
||||
## Pack metadata contract
|
||||
|
||||
The pack builder owns `<game directory>/config/worldofsosal-version.json`.
|
||||
The pack builder owns `<game directory>/config/wowmine-version.json`.
|
||||
It must generate this UTF-8 JSON object from the same mrpack manifest used
|
||||
for the release:
|
||||
|
||||
@@ -39,6 +39,10 @@ for the release:
|
||||
| `minecraft` | `dependencies.minecraft` |
|
||||
| `neoforge` | `dependencies.neoforge` |
|
||||
|
||||
The release manifest's `name` must be exactly lower-case `wowmine` for the
|
||||
window title and local login message to show the intended branding. The addon
|
||||
continues to display the manifest name rather than hardcoding a release name.
|
||||
|
||||
All four values must be strings, nonblank, and contain no control characters.
|
||||
Extra properties are ignored. No pack release version is compiled into this
|
||||
addon. The displayed Minecraft and NeoForge versions come from this metadata,
|
||||
+3
-3
@@ -3,11 +3,11 @@ plugins {
|
||||
id 'net.neoforged.moddev' version '2.0.148'
|
||||
}
|
||||
|
||||
group = 'net.worldofsosal'
|
||||
group = 'net.wowmine'
|
||||
version = '1.0.0'
|
||||
|
||||
base {
|
||||
archivesName = 'worldofsosal-client-info'
|
||||
archivesName = 'wowmine-client-info'
|
||||
}
|
||||
|
||||
java {
|
||||
@@ -18,7 +18,7 @@ java {
|
||||
neoForge {
|
||||
version = '21.1.250'
|
||||
mods {
|
||||
worldofsosal_client_info {
|
||||
wowmine_client_info {
|
||||
sourceSet(sourceSets.main)
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -5,4 +5,4 @@ pluginManagement {
|
||||
}
|
||||
}
|
||||
|
||||
rootProject.name = 'worldofsosal-client-info'
|
||||
rootProject.name = 'wowmine-client-info'
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package net.worldofsosal.clientinfo;
|
||||
package net.wowmine.clientinfo;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonElement;
|
||||
@@ -26,7 +26,7 @@ public record PackInfo(String name, String version, String minecraft, String neo
|
||||
}
|
||||
|
||||
private static PackInfo read() {
|
||||
Path path = FMLPaths.CONFIGDIR.get().resolve("worldofsosal-version.json");
|
||||
Path path = FMLPaths.CONFIGDIR.get().resolve("wowmine-version.json");
|
||||
try (Reader reader = Files.newBufferedReader(path, StandardCharsets.UTF_8);
|
||||
JsonReader jsonReader = new JsonReader(reader)) {
|
||||
JsonElement json = new Gson().getAdapter(JsonElement.class).read(jsonReader);
|
||||
+5
-5
@@ -1,4 +1,4 @@
|
||||
package net.worldofsosal.clientinfo;
|
||||
package net.wowmine.clientinfo;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.network.chat.Component;
|
||||
@@ -7,10 +7,10 @@ import net.neoforged.fml.common.Mod;
|
||||
import net.neoforged.neoforge.client.event.ClientPlayerNetworkEvent;
|
||||
import net.neoforged.neoforge.common.NeoForge;
|
||||
|
||||
@Mod(value = "worldofsosal_client_info", dist = Dist.CLIENT)
|
||||
public final class WorldOfSosalClientInfo {
|
||||
public WorldOfSosalClientInfo() {
|
||||
NeoForge.EVENT_BUS.addListener(WorldOfSosalClientInfo::onLogin);
|
||||
@Mod(value = "wowmine_client_info", dist = Dist.CLIENT)
|
||||
public final class WowmineClientInfo {
|
||||
public WowmineClientInfo() {
|
||||
NeoForge.EVENT_BUS.addListener(WowmineClientInfo::onLogin);
|
||||
}
|
||||
|
||||
private static void onLogin(ClientPlayerNetworkEvent.LoggingIn event) {
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package net.worldofsosal.clientinfo.mixin;
|
||||
package net.wowmine.clientinfo.mixin;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.worldofsosal.clientinfo.PackInfo;
|
||||
import net.wowmine.clientinfo.PackInfo;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
@@ -10,7 +10,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
|
||||
@Mixin(Minecraft.class)
|
||||
public abstract class MinecraftTitleMixin {
|
||||
@Inject(method = "createTitle()Ljava/lang/String;", at = @At("RETURN"), cancellable = true)
|
||||
private void worldofsosalClientInfo$title(CallbackInfoReturnable<String> callback) {
|
||||
private void wowmineClientInfo$title(CallbackInfoReturnable<String> callback) {
|
||||
callback.setReturnValue(PackInfo.current().display() + " | " + callback.getReturnValue());
|
||||
}
|
||||
}
|
||||
+5
-5
@@ -3,22 +3,22 @@ loaderVersion="[4,)"
|
||||
license="All Rights Reserved"
|
||||
|
||||
[[mods]]
|
||||
modId="worldofsosal_client_info"
|
||||
modId="wowmine_client_info"
|
||||
version="1.0.0"
|
||||
displayName="WorldOfSosal Client Info"
|
||||
displayName="wowmine Client Info"
|
||||
description='''Local pack information in the window title and client chat.'''
|
||||
|
||||
[[mixins]]
|
||||
config="worldofsosal-client-info.mixins.json"
|
||||
config="wowmine-client-info.mixins.json"
|
||||
|
||||
[[dependencies.worldofsosal_client_info]]
|
||||
[[dependencies.wowmine_client_info]]
|
||||
modId="neoforge"
|
||||
type="required"
|
||||
versionRange="[21.1.250]"
|
||||
ordering="NONE"
|
||||
side="CLIENT"
|
||||
|
||||
[[dependencies.worldofsosal_client_info]]
|
||||
[[dependencies.wowmine_client_info]]
|
||||
modId="minecraft"
|
||||
type="required"
|
||||
versionRange="[1.21.1]"
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"required": true,
|
||||
"minVersion": "0.8",
|
||||
"package": "net.worldofsosal.clientinfo.mixin",
|
||||
"package": "net.wowmine.clientinfo.mixin",
|
||||
"compatibilityLevel": "JAVA_21",
|
||||
"client": [
|
||||
"MinecraftTitleMixin"
|
||||
Reference in New Issue
Block a user