Add Minecraft Direwolf20, disable zomboid

This commit is contained in:
Salt 2024-05-10 17:45:05 -05:00
parent f5482ff013
commit 14325bb33b
3 changed files with 37 additions and 1 deletions

View File

@ -40,6 +40,7 @@
- game/minecraft-prominence2.yml - game/minecraft-prominence2.yml
- game/minecraft-stoneblock.yml - game/minecraft-stoneblock.yml
- game/minecraft-aofabric.yml - game/minecraft-aofabric.yml
- game/minecraft-direwolf20.yml
- game/palworld.yml - game/palworld.yml
- game/satisfactory.yml - game/satisfactory.yml
- game/zomboid.yml - game/zomboid.yml
@ -56,6 +57,7 @@
- /data/minecraft/oldpack/backups - /data/minecraft/oldpack/backups
- /data/minecraft/stoneblock/backups - /data/minecraft/stoneblock/backups
- /data/minecraft/create-extra/backups - /data/minecraft/create-extra/backups
- /data/minecraft/direwolf20/backups
- /data/minecraft/prominence/FeedTheBeast/world/.git - /data/minecraft/prominence/FeedTheBeast/world/.git
- /data/sb-mirror - /data/sb-mirror
- /data/shared/media - /data/shared/media

View File

@ -0,0 +1,34 @@
# vim:ft=ansible:
- name: docker deploy minecraft - direwolf20
docker_container:
name: minecraft-direwolf20
state: started
image: itzg/minecraft-server:latest
restart_policy: unless-stopped
pull: yes
env:
EULA: "true"
GENERIC_PACK: "/modpacks/1.20.1-direwolf20/Da Bois.zip"
TYPE: "NEOFORGE"
VERSION: "1.20.1"
FORGE_VERSION: "47.1.105"
MEMORY: "8G"
MOTD: "Tannerite Dog Edition\\n#abolishtheatf"
OPS: "VintageSalt"
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
SNOOPER_ENABLED: "false"
SPAWN_PROTECTION: "0"
USE_AIKAR_FLAGS: "true"
VIEW_DISTANCE: "10"
ports:
- "25567:25565/tcp"
- "25567:25565/udp"
volumes:
- /data/srv/packs:/modpacks
- /data/minecraft/direwolf20:/data
tags: [ docker, minecraft, direwolf20 ]

View File

@ -2,7 +2,7 @@
- name: docker deploy zomboid - name: docker deploy zomboid
community.docker.docker_container: community.docker.docker_container:
name: zomboid name: zomboid
state: started state: absent
# Wanted to use latest but: # Wanted to use latest but:
# https://github.com/Renegade-Master/zomboid-dedicated-server/issues/74 # https://github.com/Renegade-Master/zomboid-dedicated-server/issues/74
# https://github.com/Renegade-Master/zomboid-dedicated-server/issues/68 # https://github.com/Renegade-Master/zomboid-dedicated-server/issues/68