2024-10-28 19:43:35 -05:00
|
|
|
# vim:ft=ansible:
|
|
|
|
- name: docker deploy minecraft - weediewack next gen pack
|
|
|
|
docker_container:
|
|
|
|
name: minecraft-weedie
|
|
|
|
state: started
|
2024-10-28 22:46:24 -05:00
|
|
|
image: itzg/minecraft-server:latest
|
2024-10-28 19:43:35 -05:00
|
|
|
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
|
2024-10-28 22:46:24 -05:00
|
|
|
scoreboard objectives add Health health {"text":"❤","color":"red"}
|
2024-10-28 19:43:35 -05:00
|
|
|
RCON_CMDS_ON_CONNECT: |-
|
|
|
|
scoreboard objectives setdisplay list Deaths
|
2024-10-28 22:46:24 -05:00
|
|
|
scoreboard objectives setdisplay belowName Health
|
2024-10-28 19:43:35 -05:00
|
|
|
# Pack-specific stuff
|
|
|
|
TYPE: "Forge"
|
|
|
|
MOTD: "We're doing it a-fucking-gain!"
|
2024-10-28 22:46:24 -05:00
|
|
|
VERSION: "1.20.1"
|
|
|
|
FORGE_VERSION: "47.3.11"
|
2024-10-28 19:43:35 -05:00
|
|
|
MAX_MEMORY: "8G"
|
2024-10-29 16:55:36 -05:00
|
|
|
#GENERIC_PACKS: "Server Files 1.3.7"
|
|
|
|
#GENERIC_PACKS_PREFIX: "https://mediafilez.forgecdn.net/files/5832/451/"
|
|
|
|
#GENERIC_PACKS_SUFFIX: ".zip"
|
|
|
|
#SKIP_GENERIC_PACK_UPDATE_CHECK: "true"
|
2024-10-28 19:43:35 -05:00
|
|
|
#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 ]
|