From f5f96d86ad23b1c2166540200732612cee664ccf Mon Sep 17 00:00:00 2001
From: DerGrumpf
Date: Sun, 10 Nov 2024 19:46:03 +0100
Subject: [PATCH] Added squaremap component features and config files -> Tested
---
.gitignore | 3 ++
docker-compose.yml | 1 +
squaremap/advanced.yml | 59 ++++++++++++++++++++++++++
squaremap/config.yml | 95 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 158 insertions(+)
create mode 100644 squaremap/advanced.yml
create mode 100644 squaremap/config.yml
diff --git a/.gitignore b/.gitignore
index 3af0ccb..2f8c3c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,4 @@
/data
+/squaremap/data
+/squaremap/web
+/squaremap/locale
diff --git a/docker-compose.yml b/docker-compose.yml
index da18155..52fa2c2 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -49,6 +49,7 @@ services:
- 9001:25585 # Fabric Exporter
volumes:
- ./data:/data
+ - ./squaremap:/data/squaremap
- ./mods.txt:/extras/mods.txt:ro
- ./config:/config
diff --git a/squaremap/advanced.yml b/squaremap/advanced.yml
new file mode 100644
index 0000000..54e780e
--- /dev/null
+++ b/squaremap/advanced.yml
@@ -0,0 +1,59 @@
+config-version: 3
+world-settings:
+ default:
+ invisible-blocks:
+ - minecraft:tall_grass
+ - minecraft:fern
+ - minecraft:short_grass
+ - minecraft:large_fern
+ iterate-up-base-blocks:
+ - minecraft:netherrack
+ - minecraft:glowstone
+ - minecraft:soul_sand
+ - minecraft:soul_soil
+ - minecraft:gravel
+ - minecraft:warped_nylium
+ - minecraft:crimson_nylium
+ - minecraft:nether_gold_ore
+ - minecraft:ancient_debris
+ - minecraft:nether_quartz_ore
+ - minecraft:magma_block
+ - minecraft:basalt
+ color-overrides:
+ biomes:
+ foliage:
+ minecraft:jungle: '#1f8907'
+ minecraft:mangrove_swamp: '#6f9623'
+ minecraft:sparse_jungle: '#1f8907'
+ minecraft:bamboo_jungle: '#1f8907'
+ minecraft:dark_forest: '#1c7b07'
+ grass: {}
+ water: {}
+ blocks:
+ minecraft:azure_bluet: '#F7F7F7'
+ minecraft:oxeye_daisy: '#D6E8E8'
+ minecraft:glass: '#FFFFFF'
+ minecraft:white_tulip: '#D6E8E8'
+ minecraft:mycelium: '#6F6265'
+ minecraft:spruce_leaves: '#619961'
+ minecraft:pink_tulip: '#EBC5FD'
+ minecraft:rose_bush: '#9B221A'
+ minecraft:blue_orchid: '#2ABFFD'
+ minecraft:orange_tulip: '#BD6A22'
+ minecraft:peony: '#EBC5FD'
+ minecraft:sunflower: '#FFEC4F'
+ minecraft:allium: '#B878ED'
+ minecraft:wither_rose: '#211A16'
+ minecraft:birch_leaves: '#80A755'
+ minecraft:lava: '#EA5C0F'
+ minecraft:lily_of_the_valley: '#FFFFFF'
+ minecraft:poppy: '#ED302C'
+ minecraft:attached_melon_stem: '#E0C71C'
+ minecraft:red_tulip: '#9B221A'
+ minecraft:dandelion: '#FFEC4F'
+ minecraft:pink_petals: '#FFB4DB'
+ minecraft:attached_pumpkin_stem: '#E0C71C'
+ minecraft:lilac: '#B66BB2'
+ minecraft:cornflower: '#466AEB'
+ minecraft:terracotta: '#9E6246'
+ minecraft:lily_pad: '#208030'
diff --git a/squaremap/config.yml b/squaremap/config.yml
new file mode 100644
index 0000000..6bca1d7
--- /dev/null
+++ b/squaremap/config.yml
@@ -0,0 +1,95 @@
+config-version: 2
+settings:
+ commands:
+ main-command-label: squaremap
+ main-command-aliases:
+ - map
+ render-progress-logging:
+ enabled: true
+ interval-seconds: 1
+ language-file: lang-en.yml
+ debug-mode: false
+ update-checker: false
+ web-address: http://localhost:8080
+ web-directory:
+ path: web
+ auto-update: true
+ image-quality:
+ compress-images:
+ enabled: true
+ value: 0.5
+ internal-webserver:
+ enabled: true
+ bind: 0.0.0.0
+ port: 8080
+ flush-json-immediately: false
+ ui:
+ coordinates:
+ enabled: true
+ link:
+ enabled: true
+ sidebar:
+ pinned: pinned
+world-settings:
+ default:
+ map:
+ enabled: true
+ display-name: '{world} @ Garde Studios'
+ order: 0
+ icon: ''
+ max-render-threads: -1
+ iterate-up: false
+ max-height: -1
+ biomes:
+ enabled: true
+ blend-biomes: 3
+ glass:
+ clear: true
+ lava:
+ checkerboard: true
+ water:
+ clear-depth: true
+ checkerboard: false
+ zoom:
+ maximum: 3
+ default: 3
+ extra: 2
+ background-render:
+ enabled: true
+ max-chunks-per-interval: 1024
+ interval-seconds: 15
+ max-render-threads: -1
+ markers:
+ update-interval-seconds: 5
+ spawn-icon:
+ enabled: true
+ show-controls: true
+ default-hidden: false
+ layer-priority: 0
+ z-index: 0
+ world-border:
+ enabled: true
+ show-controls: true
+ default-hidden: false
+ layer-priority: 1
+ z-index: 1
+ visibility-limits:
+ - type: world-border
+ enabled: 'false'
+ player-tracker:
+ enabled: true
+ update-interval-seconds: 1
+ show-controls: true
+ default-hidden: false
+ layer-priority: 2
+ z-index: 2
+ nameplate:
+ enabled: true
+ show-head: true
+ heads-url: https://mc-heads.net/avatar/{uuid}/16
+ show-armor: true
+ show-health: true
+ hide:
+ invisible: true
+ spectators: true
+ use-display-names: false