Skip to content

Minecraft (WeirdsPlace)

wp-minecraft02-new (LXC 162, Ubuntu 24.04, 4 cores / 8 GB / 40 GB) runs the WeirdsPlace Minecraft 02 server: Paper 1.20.6 (MC 1.20.6) on Java 21, as user alex, under systemd. Internally reachable as minecraft02.home.janwiebe.eu:25565 (AdGuard record straight to the LXC; not HTTP, so not via Traefik).

Server files /home/alex/minecraft (paper.jar, world, world_nether, world_the_end, plugins/, server.properties)
Unit minecraft.service (roles/minecraft_server, playbooks/minecraft.yml, Semaphore template minecraft)
Java heap -Xms2G -Xmx6G + Aikar's G1 flags (minecraft_xms / minecraft_xmx)
Ports 25565 game (TCP), 25575 RCON (password in server.properties)
Monitoring node_exporter + blackbox TCP probe on 25565 (ServiceDown)
systemctl status minecraft
journalctl -u minecraft -f                 # server console output
systemctl restart minecraft                # SIGTERM -> the server saves all worlds, then exits

Console commands: use RCON (port 25575, password rcon.password in server.properties), e.g. with mcrcon, or in game as an op. Updating Paper: stop the unit, replace paper.jar with the new build from papermc.io, start it again (Paper converts the world on first start: back up first).

Migration from wp-minecraft02-old (2026-11-27)

The old VM (VMID 133 on node06, 10.0.3.26) ran the same server as root in screen, started by a minecraft.service with -Xmx32G on a 16 GB VM (actual use was ~4–5 GB).

  1. /home/alex/minecraft (21 GB: world 13 GB, #backup 5.4 GB, nether/end 1.4 GB) copied while the server kept running, then a final pass of everything changed since, with save-off + save-all flush sent to the old server so the region files were consistent; save-on after.
  2. Files now owned by alex (they were root's); eula.txt kept.
  3. Heap capped at 6 GB in an 8 GB container instead of 32 GB on 16 GB.

Cutover (2026-11-27 22:31): the old VM was stopped (kept, not deleted) and wp-minecraft02-new (CT 162, node05) took over its address 10.0.3.26, so the existing port forward for 25565 keeps working unchanged. DNS, Prometheus and NetBox follow the guest IP automatically. On the new copy: world 6,093 files / 13.2 GB, nether 398 / 0.9 GB, end 268 / 0.6 GB, #backup 7,021 / 5.4 GB, plugins 346, 3,020 region files.