# HG changeset patch # User Luke Hoersten # Date 1625328566 18000 # Node ID dbc589234a499f235579734e73e3994fcc4d73e9 # Parent 740231770c7cdd876199e8c776ae314b21f46afc Added difficulty config. diff -r 740231770c7c -r dbc589234a49 minecraft/defaults/main.yaml --- a/minecraft/defaults/main.yaml Sun Jun 27 13:24:22 2021 -0500 +++ b/minecraft/defaults/main.yaml Sat Jul 03 11:09:26 2021 -0500 @@ -6,6 +6,7 @@ minecraft_motd: "A Minecraft Server" minecraft_mem: "2G" minecraft_seed: "" +minecraft_difficulty: "hard" minecraft_paper_version: "1.17" minecraft_paper_build: "53" diff -r 740231770c7c -r dbc589234a49 minecraft/tasks/main.yaml --- a/minecraft/tasks/main.yaml Sun Jun 27 13:24:22 2021 -0500 +++ b/minecraft/tasks/main.yaml Sat Jul 03 11:09:26 2021 -0500 @@ -68,6 +68,7 @@ loop: - {key: "motd", value: "{{minecraft_motd}}"} - {key: "level-seed", value: "{{minecraft_seed}}"} + - {key: "difficulty", value: "{{minecraft_difficulty}}"} - name: install systemd service become: yes