42 lines
1.5 KiB
YAML
42 lines
1.5 KiB
YAML
# 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: []
|
|
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: {}
|