fix: wowmine site

This commit is contained in:
2026-11-17 20:28:58 +00:00
parent cd3e215b4d
commit 393a8cc6f5
8 changed files with 59 additions and 71 deletions
+46
View File
@@ -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. import the active site's Prism ZIP.
The active Prism ZIP includes the matching update URL and server address. 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 Players import `WorldOfSosal-Prism.zip` into Prism once and approve its pre-launch
command. Before each launch, packwiz-installer reconciles the client with the 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. The original `.mrpack` alone does not provide this automatic update mechanism.
Official workflow: https://packwiz.infra.link/tutorials/installing/packwiz-installer/ 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 ## Publishing a tested update
Keep authoritative `.mrpack` revisions as separate files in Storage Box. Keep authoritative `.mrpack` revisions as separate files in Storage Box.
+6 -9
View File
@@ -32,10 +32,8 @@ bevels and small hard shadows evoke Minecraft controls, not SaaS cards.
Dark: background `#141a15`, raised `#202921`, inset `#101610`, Dark: background `#141a15`, raised `#202921`, inset `#101610`,
text `#f4f3e7`, muted `#bec9b8`, line `#394638`. 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`, Shared: grass `#a7d754`, grass hover `#b9e66c`, action ink `#17250d`,
dark/hero focus `#e8b86c`, light focus `#47671d`; focus `#e8b86c`;
hero ink `#fffdf0`, hero muted `#e5e9d7`. hero ink `#fffdf0`, hero muted `#e5e9d7`.
Type: Russo One 400 for display/headings, Golos Text 400/600 for UI/body; 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 scroll owner: document; anti-patterns: no horizontal step scroller and no
same-size feature-card grid. same-size feature-card grid.
The hero uses one scenic image and readable text over a dark scrim in both The hero uses one scenic image and readable text over a dark scrim.
themes. Below it, theme-aware stone surfaces hold the server address and setup Below it, dark stone surfaces hold the server address and setup
instructions. Desktop has a narrow requirements rail; mobile stacks in DOM instructions. Desktop has a narrow requirements rail; mobile stacks in DOM
order. Footer stays in normal flow. The whole page reflows down to 320px. order. Footer stays in normal flow. The whole page reflows down to 320px.
## 5. Components and states ## 5. Components and states
- Brand: original block mark plus WorldOfSosal, linked to the page start. - 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. - Primary download: one prominent button, hover/pressed/focus states.
- Copy-address row: address always visible; stable-size icon button; polite, - Copy-address row: address always visible; stable-size icon button; polite,
reserved feedback for success or clipboard denial. Address remains selectable. 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. files; no interaction required to read the instructions.
- Requirements list: semantic description list, not performance claims. - Requirements list: semantic description list, not performance claims.
- FAQ: native details/summary, visible keyboard focus and open-state icon. - FAQ: native details/summary, visible keyboard focus and open-state icon.
- Theme: follows system preference; a button toggles the page between light and - Theme: fixed dark appearance, independent of system preference. No theme control.
dark without storing cookies or requiring localStorage.
## 6. Content and assets ## 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. Target: WCAG 2.2 AA contrast and reflow; touch controls 44px or larger.
Reduced motion disables smooth scrolling and transforms. The static document Reduced motion disables smooth scrolling and transforms. The static document
works without JavaScript: downloads, setup, FAQ, and selectable IP remain usable. 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. the real page, exercised through browser interactions.
## 8. Evidence and accepted debt ## 8. Evidence and accepted debt
@@ -2,7 +2,7 @@
{ {
imports = [ (import ../../module/generic/minecraft-public-relay.nix { }) ]; imports = [ (import ../../module/generic/minecraft-public-relay.nix { }) ];
services.minecraft-public-relay = { services.minecraft-public-relay = {
enable = true; enable = false;
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKNWWegOVTOF3EOmam32iP7sMybULMTxsXuC+cEGITQ8 minecraft-wow-relay"; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKNWWegOVTOF3EOmam32iP7sMybULMTxsXuC+cEGITQ8 minecraft-wow-relay";
}; };
} }
@@ -53,29 +53,6 @@
scrollbar-color: var(--line) var(--bg); 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; } * { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--body-font); } 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); } ::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 { 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 { 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; } .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 { --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-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::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%); }
@@ -1,22 +1,5 @@
// @ts-check // @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) => { document.querySelectorAll("[data-copy-address]").forEach((button) => {
button.addEventListener("click", async () => { button.addEventListener("click", async () => {
const address = document.getElementById("server-address"); const address = document.getElementById("server-address");
@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="dark light"> <meta name="color-scheme" content="dark">
<meta name="theme-color" content="#141a15"> <meta name="theme-color" content="#141a15">
<meta name="description" content="WorldOfSosal — Азерот и Запределье в Minecraft. Скачай готовую сборку для Prism Launcher с автоматическими обновлениями и присоединяйся к серверу."> <meta name="description" content="WorldOfSosal — Азерот и Запределье в Minecraft. Скачай готовую сборку для Prism Launcher с автоматическими обновлениями и присоединяйся к серверу.">
<meta property="og:title" content="WorldOfSosal — Азерот из блоков"> <meta property="og:title" content="WorldOfSosal — Азерот из блоков">
@@ -26,8 +26,6 @@
<symbol id="download" viewBox="0 0 24 24"><path d="M12 3v12m-5-5 5 5 5-5M5 16v5h14v-5"/></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="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="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="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="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> <symbol id="portal" viewBox="0 0 24 24"><path d="M5 21V7l4-4h6l4 4v14M9 21V9l2-2h2l2 2v12M3 21h18"/></symbol>
@@ -49,10 +47,6 @@
<a href="#start">Как начать</a> <a href="#start">Как начать</a>
<a class="nav-help" href="#help">Вопросы</a> <a class="nav-help" href="#help">Вопросы</a>
</nav> </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> </div>
</header> </header>
@@ -81,7 +75,7 @@
<div><p class="connection-title">Место встречи</p><p class="connection-caption">Добавь в список серверов</p></div> <div><p class="connection-title">Место встречи</p><p class="connection-caption">Добавь в список серверов</p></div>
</div> </div>
<div class="address-group"> <div class="address-group">
<code id="server-address">store.hectic-lab.com:25568</code> <code id="server-address">95.31.254.84:35565</code>
<button class="button button-copy" type="button" data-copy-address> <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 copy-icon" aria-hidden="true"><use href="#copy"/></svg>
<svg class="icon copied-icon" aria-hidden="true"><use href="#check"/></svg> <svg class="icon copied-icon" aria-hidden="true"><use href="#check"/></svg>
@@ -1,6 +1,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
mkTunnel = relay: { mkTunnel = relay: {
enable = false;
description = "WorldOfSosal WoW reverse tunnel to ${relay.name}"; description = "WorldOfSosal WoW reverse tunnel to ${relay.name}";
startLimitIntervalSec = 0; startLimitIntervalSec = 0;
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
@@ -51,7 +51,8 @@
}; };
# The module's automatic firewall would also expose RCON. # The module's automatic firewall would also expose RCON.
networking.firewall.allowedTCPPorts = [ 25567 ]; networking.firewall.allowedTCPPorts = [ 35565 ];
networking.firewall.allowedUDPPorts = [ 36565 ];
services.minecraft-servers.servers.wowMineMap = { services.minecraft-servers.servers.wowMineMap = {
openFirewall = false; openFirewall = false;
extraStartPre = '' extraStartPre = ''
@@ -70,7 +71,7 @@
); );
serverProperties = { serverProperties = {
server-port = 25567; server-port = 35565;
difficulty = "hard"; difficulty = "hard";
online-mode = false; online-mode = false;
enable-rcon = true; enable-rcon = true;