Initial minecraft role

Paper/Java via itzg/minecraft-server in docker compose; whitelist and ops synchronized from Ansible, RCON on localhost only, explicit EULA flag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
lhahnandClaude Opus 5.5 committed 2026-10-15 17:57:12 +02:00
commit 7e2cc273a0
9 files changed
+172

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
# cloud-minecraft
Ansible role to setup a Minecraft Java Edition server (Paper by default) via docker compose,
based on the `itzg/minecraft-server` image.
- the game port is public, RCON listens on `127.0.0.1` only
- whitelist and operators are managed from Ansible (`minecraft_whitelist`, `minecraft_ops`);
the whitelist is enforced and synchronized on every start
- `minecraft_eula` must be set to `true` explicitly (Minecraft EULA: https://aka.ms/MinecraftEULA)
- world data lives in `minecraft_data_location`; for a consistent backup run
`rcon-cli save-off` and `rcon-cli save-all flush` before copying, `rcon-cli save-on` afterwards