diff --git a/docs/minecraft-prism.md b/docs/minecraft-prism.md index 322aee04..a56386b5 100644 --- a/docs/minecraft-prism.md +++ b/docs/minecraft-prism.md @@ -7,6 +7,9 @@ must switch their pre-launch URL to the active site's `current/pack.toml`, or import the active site's Prism ZIP. The active Prism ZIP includes the matching update URL and server address. +The direct game address is `95.31.254.84:35565` (TCP). 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. Players import `WorldOfSosal-Prism.zip` into Prism once and approve its pre-launch command. Before each launch, packwiz-installer reconciles the client with the @@ -18,6 +21,49 @@ 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/ +## Direct game access: 2026-11-17 + +The user selected the existing MikroTik TCP 35565 forward. Minecraft Java status +requests from hectic-lab to `95.31.254.84:35565` returned WorldOfSosal 1.21.1, +including after retiring both SSH tunnels and the public relay. The incoming +address is the SSH endpoint, not the rotating outbound HTTP proxy address. + +Neuro's game `server-port` and allowed TCP port are now 35565. Requested UDP 36565 +is also allowed on IPv4/IPv6; an external UDP echo round trip passed. UDP is not +the Java login protocol. Sable's separate UDP transport follows the game port; +this change does not claim Sable uses 36565 or configure another router forward. +RCON 25575 remains outside the allowed TCP list. + +Only wowMineMap was restarted. All 132 JAR hashes, actual configuration bytes, +OP data, world directory/source marker and both importer InvocationIDs were +preserved. The generated `rpg_series/loot_fallback_report.json` refreshed at boot; +it labels itself as an output report whose edits have no effect. The initial +byte-wide config check therefore reported that difference; the scoped audit +verified it was the only difference, rather than restoring or hiding the report. +Player data, advancements, stats and level data were backed up before startup +under `/var/tmp/worldofsosal-direct/player-state-backup/`. + +The legacy 50/60 pre-start overrides are retained. The new +`70-direct-port.conf` runs the GC-rooted port hook after them; it changes only +`server-port`. The selectively activated firewall unit is also GC-rooted. +These `/etc/systemd/system.control` overrides must be reconciled if the generated +Nix properties/firewall are changed in a future deployment. + +The neuro `minecraft-wow-tunnel` and `minecraft-wow-tunnel-bfs` services and +hectic-lab `minecraft-wow-proxy` socket/service are stopped and persistently +masked. Their Nix definitions are disabled. Administrative SSH is unchanged. + +The Prism ZIP and download page now contain the direct address. Only the ZIP's +`.minecraft/servers.dat` entry changed; all 595 managed pack files and the source +archive/version remain unchanged. New ZIP SHA-256: +`1bf95be58de679490806776dbfe7a941577f9cd8926d58591e55f563e9bcdd53`. +Public ZIP/checksum/page readback passed. The separate `/wowmine/` landing-page +template was corrected by one address-line edit, preserving unrelated in-progress +design edits; that immutable live landing page was not republished in this network +task. Use the direct address above rather than its previous copy-IP text. +Evidence and helper scripts: `/tmp/worldofsosal-direct/` and +`/var/tmp/worldofsosal-direct/`. No project Git commit. + ## Publishing a tested update Keep authoritative `.mrpack` revisions as separate files in Storage Box. diff --git a/docs/wowmine/DESIGN.md b/docs/wowmine/DESIGN.md index ca6ede1f..e15520b9 100644 --- a/docs/wowmine/DESIGN.md +++ b/docs/wowmine/DESIGN.md @@ -32,10 +32,8 @@ bevels and small hard shadows evoke Minecraft controls, not SaaS cards. Dark: background `#141a15`, raised `#202921`, inset `#101610`, text `#f4f3e7`, muted `#bec9b8`, line `#394638`. -Light: background `#f3f2e8`, raised `#ffffff`, inset `#e7e9dc`, -text `#202b21`, muted `#53624c`, line `#c8d1bd`. Shared: grass `#a7d754`, grass hover `#b9e66c`, action ink `#17250d`, -dark/hero focus `#e8b86c`, light focus `#47671d`; +focus `#e8b86c`; hero ink `#fffdf0`, hero muted `#e5e9d7`. Type: Russo One 400 for display/headings, Golos Text 400/600 for UI/body; @@ -58,15 +56,15 @@ step-nav (https://github.com/changeroa/StyleGallery/blob/main/patterns/stacking/ 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 in both -themes. Below it, theme-aware stone surfaces hold the server address and setup +The hero uses one scenic image and readable text over a dark scrim. +Below it, dark 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. -- Navigation: in-page links, a compact theme control; no account or fake menu. +- Navigation: in-page links; no account or fake menu. - Primary download: one prominent button, 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. @@ -74,8 +72,7 @@ order. Footer stays in normal flow. The whole page reflows down to 320px. 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: follows system preference; a button toggles the page between light and - dark without storing cookies or requiring localStorage. +- Theme: fixed dark appearance, independent of system preference. No theme control. ## 6. Content and assets @@ -94,7 +91,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. -Both themes are captured on mobile and desktop; the component state harness is +The dark appearance is checked on mobile and desktop; the component state harness is the real page, exercised through browser interactions. ## 8. Evidence and accepted debt diff --git a/nixos/system/hectic-lab/minecraft-wow-proxy.nix b/nixos/system/hectic-lab/minecraft-wow-proxy.nix index 9b78156e..74dc7e8f 100644 --- a/nixos/system/hectic-lab/minecraft-wow-proxy.nix +++ b/nixos/system/hectic-lab/minecraft-wow-proxy.nix @@ -2,7 +2,7 @@ { imports = [ (import ../../module/generic/minecraft-public-relay.nix { }) ]; services.minecraft-public-relay = { - enable = true; + enable = false; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKNWWegOVTOF3EOmam32iP7sMybULMTxsXuC+cEGITQ8 minecraft-wow-relay"; }; } diff --git a/nixos/system/hectic-lab/static/wowmine/assets/site.css b/nixos/system/hectic-lab/static/wowmine/assets/site.css index 6b54d779..a687ca5e 100644 --- a/nixos/system/hectic-lab/static/wowmine/assets/site.css +++ b/nixos/system/hectic-lab/static/wowmine/assets/site.css @@ -53,29 +53,6 @@ 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); } @@ -105,17 +82,6 @@ code { font-family: ui-monospace, "Cascadia Code", monospace; font-variant-numer .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%); } diff --git a/nixos/system/hectic-lab/static/wowmine/assets/site.js b/nixos/system/hectic-lab/static/wowmine/assets/site.js index 572c63b0..4b707460 100644 --- a/nixos/system/hectic-lab/static/wowmine/assets/site.js +++ b/nixos/system/hectic-lab/static/wowmine/assets/site.js @@ -1,22 +1,5 @@ // @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"); diff --git a/nixos/system/hectic-lab/static/wowmine/index.html b/nixos/system/hectic-lab/static/wowmine/index.html index aa3da8b6..72066a99 100644 --- a/nixos/system/hectic-lab/static/wowmine/index.html +++ b/nixos/system/hectic-lab/static/wowmine/index.html @@ -3,7 +3,7 @@ - + @@ -26,8 +26,6 @@ - - @@ -49,10 +47,6 @@ Как начать Вопросы - @@ -81,7 +75,7 @@

Место встречи

Добавь в список серверов

- store.hectic-lab.com:25568 + 95.31.254.84:35565