diff --git a/playbooks/tasks/game/minecraft-createfarming.yml b/playbooks/tasks/game/minecraft-createfarming.yml index c066c63..4a82bb0 100644 --- a/playbooks/tasks/game/minecraft-createfarming.yml +++ b/playbooks/tasks/game/minecraft-createfarming.yml @@ -4,11 +4,20 @@ name: minecraft-createfarming state: started image: itzg/minecraft-server:latest - restart_policy: unless-stopped - pull: yes 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 + RCON_CMDS_ON_CONNECT: |- + scoreboard objectives setdisplay list Deaths + # Pack-specific stuff MODRINTH_PROJECT: "https://modrinth.com/modpack/create-farmersdelight/version/1.0.0" + MOTD: "Create Farming and Delights! Spinny trains!" TYPE: "MODRINTH" VERSION: "1.20.1" MAX_MEMORY: "6G"