2024-05-21 18:52:33 -05:00
|
|
|
# vim:ft=ansible:
|
|
|
|
- name: docker deploy minecraft - create farming and delights
|
|
|
|
docker_container:
|
|
|
|
name: minecraft-createfarming
|
2024-07-10 20:30:46 -05:00
|
|
|
state: absent
|
2024-05-21 18:52:33 -05:00
|
|
|
image: itzg/minecraft-server:latest
|
|
|
|
env:
|
2024-07-10 13:06:31 -05:00
|
|
|
# Common envvars
|
2024-05-21 18:52:33 -05:00
|
|
|
EULA: "true"
|
2024-07-10 13:06:31 -05:00
|
|
|
OPS: "VintageSalt"
|
|
|
|
SNOOPER_ENABLED: "false"
|
|
|
|
SPAWN_PROTECTION: "0"
|
|
|
|
USE_AIKAR_FLAGS: "true"
|
|
|
|
RCON_CMDS_STARTUP: |-
|
|
|
|
scoreboard objectives add Deaths deathCount
|
2024-07-10 13:07:36 -05:00
|
|
|
#scoreboard objectives add Health health {"text":"❤","color":"red"}
|
2024-07-10 13:06:31 -05:00
|
|
|
RCON_CMDS_ON_CONNECT: |-
|
|
|
|
scoreboard objectives setdisplay list Deaths
|
2024-07-10 13:07:36 -05:00
|
|
|
#scoreboard objectives setdisplay belowName Health
|
2024-07-10 13:06:31 -05:00
|
|
|
# Pack-specific stuff
|
2024-05-21 18:52:33 -05:00
|
|
|
MODRINTH_PROJECT: "https://modrinth.com/modpack/create-farmersdelight/version/1.0.0"
|
2024-07-10 13:06:31 -05:00
|
|
|
MOTD: "Create Farming and Delights! Spinny trains!"
|
2024-05-21 18:52:33 -05:00
|
|
|
TYPE: "MODRINTH"
|
|
|
|
VERSION: "1.20.1"
|
|
|
|
MAX_MEMORY: "6G"
|
2024-07-10 13:07:36 -05:00
|
|
|
#VIEW_DISTANCE: "10"
|
2024-05-21 18:52:33 -05:00
|
|
|
ports:
|
|
|
|
- "25565:25565/tcp"
|
|
|
|
- "25565:25565/udp"
|
|
|
|
- "24454:24454/udp"
|
2024-07-10 01:13:16 -05:00
|
|
|
# Prometheus exporter for Forge
|
|
|
|
# https://www.curseforge.com/minecraft/mc-mods/prometheus-exporter
|
|
|
|
#- "19565:19565/tcp"
|
|
|
|
# Prometheus exporter for Fabric
|
|
|
|
# https://modrinth.com/mod/fabricexporter
|
|
|
|
- "19565:25585/tcp"
|
2024-05-21 18:52:33 -05:00
|
|
|
volumes:
|
|
|
|
- /data/minecraft/createfarming:/data
|
2024-06-06 23:36:49 -05:00
|
|
|
tags: [ docker, minecraft, create, createfarming ]
|