Add minecraft service monitoring and change paper to vanilla

This commit is contained in:
Tobias Reisinger 2025-04-05 15:57:01 +02:00
parent c6c47cb2b5
commit 22023e9b01
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
2 changed files with 8 additions and 1 deletions
playbooks/roles/minecraft_3/vars
services.auto.tfvars

View file

@ -37,7 +37,7 @@ minecraft_3_env:
SPAWN_NPCS: true
SPAWN_PROTECTION: 0
SYNC_CHUNK_WRITES: true
TYPE: PAPER
TYPE: VANILLA
ONLINE_MODE: true
OP_PERMISSION_LEVEL: 4
OPS: "{{ vault_minecraft_3.ops }}"

View file

@ -412,6 +412,13 @@ services = {
type = "firewall"
}
]
monitoring = {
url = "tcp://minecraft.serguzim.me:25565"
group = "4-services"
conditions = [
"[CONNECTED] == true"
]
}
backup = [{
name = "minecraft_3_data"
type = "docker"