ansible/roles/minecraft/defaults/main.yml

45 lines
1.7 KiB
YAML
Raw Normal View History

2020-11-20 04:09:09 -06:00
# vim:ft=ansible:
minecraft_name: default
minecraft_version: 1.16.3
# 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_downloadurl: "https://files.minecraftforge.net/maven/net/minecraftforge/forge/{{ minecraft_version }}-{{ minecraft_forge_version }}/forge-{{ minecraft_version }}-{{ minecraft_forge_version }}-installer.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: []
2020-12-21 01:22:24 -06:00
# 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: []
2020-11-20 04:09:09 -06:00
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
2020-12-21 01:22:24 -06:00
minecraft_server_properties: []