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>
12 lines
644 B
Markdown
12 lines
644 B
Markdown
# 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
|