diff --git a/playbooks/prod_web.yml b/playbooks/prod_web.yml index ecf09a1..33a9466 100755 --- a/playbooks/prod_web.yml +++ b/playbooks/prod_web.yml @@ -40,6 +40,7 @@ - game/factorio.yml - game/minecraft-createfarming.yml - game/minecraft-magicpack.yml + - game/minecraft-weedie.yml - game/zomboid.yml - game/satisfactory.yml tags: [ always ] @@ -52,6 +53,7 @@ backup_s3backup_exclude_list_extra: - /data/minecraft/magicpack/backups - /data/minecraft/direwolf20/backups + - /data/minecraft/weedie/backups - /data/shared/media - /data/shared/downloads - /data/zomboid/ZomboidDedicatedServer/steamapps/workshop diff --git a/playbooks/tasks/game/minecraft-weedie.yml b/playbooks/tasks/game/minecraft-weedie.yml new file mode 100644 index 0000000..7b42540 --- /dev/null +++ b/playbooks/tasks/game/minecraft-weedie.yml @@ -0,0 +1,43 @@ +# vim:ft=ansible: +- name: docker deploy minecraft - weediewack next gen pack + docker_container: + name: minecraft-weedie + state: started + image: itzg/minecraft-server:java17 + env: + # Common envvars + EULA: "true" + OPS: "VintageSalt" + SNOOPER_ENABLED: "false" + SPAWN_PROTECTION: "0" + USE_AIKAR_FLAGS: "true" + RCON_CMDS_STARTUP: |- + scoreboard objectives add Deaths deathCount + #scoreboard objectives add Health health {"text":"❤","color":"red"} + RCON_CMDS_ON_CONNECT: |- + scoreboard objectives setdisplay list Deaths + #scoreboard objectives setdisplay belowName Health + # Pack-specific stuff + TYPE: "Forge" + MOTD: "We're doing it a-fucking-gain!" + VERSION: "1.18.2" + FORGE_VERSION: "40.2.0" + MAX_MEMORY: "8G" + GENERIC_PACKS: "Version 108 server files" + GENERIC_PACKS_PREFIX: "https://mediafilez.forgecdn.net/files/4301/113/" + GENERIC_PACKS_SUFFIX: ".zip" + SKIP_GENERIC_PACK_UPDATE_CHECK: "true" + #VIEW_DISTANCE: "10" + ports: + - "25565:25565/tcp" + - "25565:25565/udp" + - "24454:24454/udp" + # Prometheus exporter for Forge + # https://www.curseforge.com/minecraft/mc-mods/prometheus-exporter + - "19566:19565/tcp" + # Prometheus exporter for Fabric + # https://modrinth.com/mod/fabricexporter + #- "19565:25585/tcp" + volumes: + - /data/minecraft/weedie:/data + tags: [ docker, minecraft, weedie ]