fix: wowmine: caches
This commit is contained in:
@@ -57,7 +57,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>
|
||||
<a class="button button-primary" href="/minecraft/world-of-sosal/WorldOfSosal-Prism.zip" download="WoS.zip">
|
||||
<svg class="icon" aria-hidden="true"><use href="#download"/></svg>
|
||||
Скачать сборку
|
||||
</a>
|
||||
@@ -75,7 +75,7 @@
|
||||
<div><p class="connection-title">Место встречи</p><p class="connection-caption">Добавь в список серверов</p></div>
|
||||
</div>
|
||||
<div class="address-group">
|
||||
<code id="server-address">95.31.254.84:35565</code>
|
||||
<code id="server-address">wowmine.bfs.band</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>
|
||||
@@ -116,7 +116,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>Скачай ZIP для Prism</a>. Затем открой «Добавить сборку» → «Импорт из ZIP» и выбери скачанный файл.</p></div>
|
||||
<div><h3>Добавь сборку</h3><p><a href="/minecraft/world-of-sosal/WorldOfSosal-Prism.zip" download="WoS.zip">Скачай ZIP для Prism</a>. Затем открой «Добавить сборку» → «Импорт из ZIP» и выбери скачанный файл.</p></div>
|
||||
</li>
|
||||
<li>
|
||||
<span class="step-number" aria-hidden="true">03</span>
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
# Current Minecraft access (2026-09-18)
|
||||
# Current Minecraft access (2026-11-17)
|
||||
|
||||
WorldOfSosal on the WoW map uses `store.hectic-lab.com:25568` publicly.
|
||||
The game server is `neuro:25567`; a restricted persistent reverse SSH tunnel
|
||||
connects it to the public relay. See `docs/minecraft-prism.md` and the Nix modules
|
||||
`minecraft/public-tunnel.nix` / `hectic-lab/minecraft-wow-proxy.nix`.
|
||||
WorldOfSosal on the WoW map uses `wowmine.bfs.band` publicly, without a port.
|
||||
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
|
||||
relay are disabled. See `docs/minecraft-prism.md`.
|
||||
|
||||
Verified LAN: neuro is `192.168.88.10`, gateway `192.168.88.1`.
|
||||
SSH access is `95.31.254.84:34457`. Direct external Minecraft TCP probes timed out,
|
||||
and no UPnP IGD was discovered. The old TP-Link network and manual port-forward
|
||||
SSH access is `95.31.254.84:34457`. Direct Minecraft Java status on TCP 35565
|
||||
passed on 2026-11-17. The old TP-Link network and manual port-forward
|
||||
instructions below describe the previous network, not the active configuration.
|
||||
|
||||
---
|
||||
|
||||
@@ -1,13 +1,18 @@
|
||||
{ pkgs, serverDir }:
|
||||
{ pkgs, serverDir, namesOnly ? false }:
|
||||
''
|
||||
${pkgs.lib.optionalString (!namesOnly) ''
|
||||
rm -f -- \
|
||||
"${serverDir}/mods/dynamicheight-0.2.0+neoforge-1.21-1.21.1.jar" \
|
||||
"${serverDir}/mods/sable_dynamicheight_compat-1.0.0.jar"
|
||||
''}
|
||||
${pkgs.gnused}/bin/sed -i \
|
||||
-e '/^[[:space:]]*levelKeyPrefix[[:space:]]*=/d' \
|
||||
-e '/^\[server\]$/a\levelKeyPrefix = "world-of-sosal-20261114T223938Z-winter-biomes-"' \
|
||||
-e '/^[[:space:]]*serverKey[[:space:]]*=/d' \
|
||||
-e '/^\[server\]$/a\levelKeyPrefix = "wos-w1"\nserverKey = "wos"' \
|
||||
"${serverDir}/config/DistantHorizons.toml"
|
||||
${pkgs.lib.optionalString (!namesOnly) ''
|
||||
${pkgs.gnused}/bin/sed -i \
|
||||
-e 's/^\([[:space:]]*enableCheatModeForCreative[[:space:]]*=\).*/\1 false/' \
|
||||
"${serverDir}/config/jei-server.toml"
|
||||
''}
|
||||
''
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
let
|
||||
packVersion = "v13-lootplus-cleanup";
|
||||
serverDir = "${config.services.minecraft-servers.dataDir}/wowMineMap";
|
||||
serverMotd = "WoS | Warcraft";
|
||||
in
|
||||
{
|
||||
sops.secrets."minecraft/storage-box-pack-key" = {
|
||||
@@ -29,7 +31,16 @@ in
|
||||
};
|
||||
|
||||
services.minecraft-servers.servers.wowMineMap.serverProperties.motd =
|
||||
"WorldOfSosal ${packVersion} — World of Warcraft";
|
||||
serverMotd;
|
||||
|
||||
systemd.services.minecraft-server-wowMineMap.preStart =
|
||||
(import ./world-of-sosal-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 = {
|
||||
@@ -37,8 +48,7 @@ in
|
||||
requires = [ "minecraft-world-import-wowMineMap.service" ];
|
||||
# Test the map's native dimension height without runtime height overrides.
|
||||
postStart = import ./world-of-sosal-settings.nix {
|
||||
inherit pkgs;
|
||||
serverDir = "${config.services.minecraft-servers.dataDir}/wowMineMap";
|
||||
inherit pkgs serverDir;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user