ansible-role-minecraft/defaults/main.yml

48 lines
1.8 KiB
YAML

# vim:ft=ansible:
minecraft_name: default
minecraft_version: 1.16.3
minecraft_enabled: yes
# minecraft_forge_version: You tell me
# Packages
# Put any extra dependencies (for mods, etc.) in _extra
minecraft_packages:
- openjdk-8-jre
- screen
minecraft_packages_extra: []
# Addon configuration
# You'll probably want to enable one of these
minecraft_paper_install: no
minecraft_paper_downloadurl: "https://papermc.io/api/v1/paper/{{ minecraft_version }}/latest/download"
minecraft_forge_install: no
minecraft_forge_versionstring: "{{ minecraft_version }}-{{ minecraft_forge_version }}"
minecraft_forge_downloadurl: "https://files.minecraftforge.net/maven/net/minecraftforge/forge/{{ minecraft_forge_versionstring }}/forge-{{ minecraft_forge_versionstring }}-installer.jar"
minecraft_forge_jar_name: "forge-{{ minecraft_forge_versionstring }}.jar"
# Define this if you already have a modpack zipped up and ready to go
#minecraft_forge_packurl: https://path.to.your/modpack.zip
# Define THIS if you want to download a bunch of mods by JAR URL:
minecraft_forge_mods: []
# Define THIS if you want to remove any mods that come with a pack by default
# Just a list of filenames in /mods. Matches directories, too
minecraft_forge_mods_remove: []
minecraft_vanilla_install: no
minecraft_vanilla_downloadurl: "https://launcher.mojang.com/v1/objects/35139deedbd5182953cf1caa23835da59ca3d7cd/server.jar"
# Service configuration
minecraft_home: /opt/minecraft
minecraft_stop_message: "Server is going down for maintenance"
# Java configuration
minecraft_jre_xms: 2048m
minecraft_jre_xmx: 4096m
# Minecraft configuration
# Contains key-value pairs that will be lineinfile'd into server.properties
# Example:
# minecraft_server_properties:
# - { opt: allow-flight, value: "false" }
# - opt: gamemode
# value: 0
minecraft_server_properties: []