|
|
|
@ -13,7 +13,7 @@ launch_script: "{{ user_directory }}/launch"
|
|
|
|
|
apparmor_profile: "{{ global_apparmor_profiles_directory }}/{{ launch_script | regex_replace('/', '.') }}"
|
|
|
|
|
|
|
|
|
|
# minecraft_version: "1.10"
|
|
|
|
|
minecraft_source_link_generator: "curl --silent https://mcversions.net/download/{{ minecraft_version }} | grep --only-matching --perl-regexp '(?<=\")https://launcher.mojang.com/[^\"]+/server\\.jar(?=\")'"
|
|
|
|
|
minecraft_source_link_generator: "curl --silent https://mcversions.net/download/{{ minecraft_version | quote }} | grep --only-matching --perl-regexp '(?<=\")https://launcher.mojang.com/[^\"]+/server\\.jar(?=\")'"
|
|
|
|
|
minecraft_source_link: "{{ lookup('pipe', minecraft_source_link_generator) }}" # direct link to server jar
|
|
|
|
|
minecraft_port: "25565"
|
|
|
|
|
minecraft_query_port: "{{ minecraft_port }}"
|
|
|
|
|