ansible/roles/minecraft/defaults/main.yml
Salt a162c43cce Add function to remove mods from a server
Fun thing we gain from this for free: the ability to scriptedly remove client-side mods from 1.7.10 and earlier packs
2020-11-21 06:54:38 -06:00

45 lines
1.7 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: []
# 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: []