diff --git a/roles/alpina/templates/apps/minecruft/.env.minecruft.j2 b/roles/alpina/templates/apps/minecruft/.env.minecruft.j2 index 2c92d76..2d95452 100644 --- a/roles/alpina/templates/apps/minecruft/.env.minecruft.j2 +++ b/roles/alpina/templates/apps/minecruft/.env.minecruft.j2 @@ -4,7 +4,8 @@ CF_API_KEY="{{ minecruft_cf_api_key }}" TYPE=AUTO_CURSEFORGE CF_PAGE_URL=https://www.curseforge.com/minecraft/modpacks/create-arcane-engineering/files/4852034 CF_EXCLUDE_MODS=591711 -CURSEFORGE_FILES=https://www.curseforge.com/minecraft/mc-mods/simple-voice-chat/files/7011546 +CURSEFORGE_FILES='https://www.curseforge.com/minecraft/mc-mods/simple-voice-chat/files/7011546\nhttps://www.curseforge.com/minecraft/mc-mods/bluemap/files/5555751' + MEMORY=16G ENABLE_ROLLING_LOGS=true diff --git a/roles/alpina/templates/apps/minecruft/compose.yml.j2 b/roles/alpina/templates/apps/minecruft/compose.yml.j2 index c136f4b..83a10b6 100644 --- a/roles/alpina/templates/apps/minecruft/compose.yml.j2 +++ b/roles/alpina/templates/apps/minecruft/compose.yml.j2 @@ -6,8 +6,10 @@ services: - 25565:25565 - 25565:25565/udp - 24454:24454/udp + - 8100:8100 restart: unless-stopped env_file: .env.minecruft volumes: - {{ base_volume_path }}/minecruft/data:/data - - {{ base_volume_path }}/minecruft/downloads:/downloads + - {{ base_volume_path }}/minecruft/downloads:/ + - {{ base_volume_path }}/minecruft/config:/config diff --git a/roles/alpina/templates/apps/minecruft/config/bluemap/core.conf b/roles/alpina/templates/apps/minecruft/config/bluemap/core.conf new file mode 100644 index 0000000..7315f79 --- /dev/null +++ b/roles/alpina/templates/apps/minecruft/config/bluemap/core.conf @@ -0,0 +1,42 @@ +# By changing the setting (accept-download) below to TRUE you are indicating that you have accepted mojang's EULA (https://account.mojang.com/documents/minecraft_eula), +# you confirm that you own a license to Minecraft (Java Edition) +# and you agree that BlueMap will download and use a minecraft-client file (depending on the minecraft-version) from mojangs servers (https://piston-meta.mojang.com/) for you. +# This file contains resources that belong to mojang and you must not redistribute it or do anything else that is not compliant with mojang's EULA. +# BlueMap uses resources in this file to generate the 3D-Models used for the map and texture them. (BlueMap will not work without those resources.) +accept-download: true + +# The folder where bluemap saves data-files it needs during runtime or to save e.g. the render-progress to resume it later. +# Default is "bluemap" +data: "bluemap" + +# This changes the amount of threads that BlueMap will use to render the maps. +# A higher value can improve render-speed but could impact performance on the host machine. +# This should be always below or equal to the number of available processor-cores. +# Zero or a negative value means the amount of available processor-cores subtracted by the value. +# (So a value of -2 with 6 cores results in 4 render-processes) +# Default is 1 +render-thread-count: 3 + +# Controls whether BlueMap should try to find and load mod-resources and datapacks from the server/world-directories. +# Default is true +scan-for-mod-resources: true + +# If this is true, BlueMap might send really basic metrics reports containing only the implementation-type and the version that is being used to https://metrics.bluecolored.de/bluemap/ +# This allows me to track the basic usage of BlueMap and helps me stay motivated to further develop this tool! Please leave it on :) +# An example report looks like this: {"implementation":"bukkit","version":"5.3","mcVersion":"?"} +# Default is true +metrics: true + +# Config-section for debug-logging +log: { + # The file where the debug-log will be written to. + # Comment out to disable debug-logging completely. + # Java String formatting syntax can be used to add time, see: https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html + # Default is no logging + file: "bluemap/logs/debug.log" + #file: "bluemap/logs/debug_%1$tF_%1$tT.log" + + # Whether the logger should append to an existing file, or overwrite it + # Default is false + append: false +} \ No newline at end of file