Add another Minecraft server

This commit is contained in:
Salt 2020-03-09 07:00:20 -05:00
parent 221baa0910
commit bb481aceb3
3 changed files with 22 additions and 9 deletions

22
ec2.yml
View File

@ -6,13 +6,23 @@
- common
- user
- hosts: tag_minecraft_botaniapack
vars:
mcname: "botaniapack-1"
mczip: "https://www.assburgers.club/files/botaniapack-1.zip"
mcforge: "1.10.2-12.18.3.2511"
mcmotd: "First time on 9iron edition"
roles:
- minecraft
- role: minecraft
vars:
mcname: "botaniapack-1"
mczip: "https://www.9iron.club/files/botaniapack-1.zip"
mcforge: "1.10.2-12.18.3.2511"
mcmotd: "First time on 9iron edition"
- role: minecraft
vars:
mcname: "botaniapack-2"
mczip: "https://www.9iron.club/files/botaniapack-1.zip"
mcforge: "1.10.2-12.18.3.2511"
mcmotd: "Creative testing edition"
mcleveltype: "flat"
mcgensettings: "minecraft:bedrock,3*minecraft:stone,52*minecraft:sandstone;"
mcport: 25566
mcgamemode: 1
- hosts: tag_ansiblehost_true
roles:
- ansiblehost

View File

@ -2,3 +2,6 @@
mcname: "default"
mcport: "25565"
mcmotd: "An Ansible-deployed Minecraft server"
mcleveltype: "default"
mcgensettings: ""
mcgamemode: 0

View File

@ -2,10 +2,10 @@
#Fri Aug 23 01:44:29 UTC 2019
spawn-protection=0
max-tick-time=60000
generator-settings=
generator-settings={{ mcgensettings }}
force-gamemode=false
allow-nether=true
gamemode=0
gamemode={{ mcgamemode }}
broadcast-console-to-ops=true
enable-query=false
player-idle-timeout=0
@ -14,7 +14,7 @@ spawn-monsters=true
op-permission-level=4
pvp=true
snooper-enabled=false
level-type=default
level-type={{ mcleveltype }}
hardcore=false
enable-command-block=true
max-players=8