|
| 1 | +--- |
| 2 | +layout: page |
| 3 | +title: Maps |
| 4 | +parent: Configs |
| 5 | +grand_parent: Wiki |
| 6 | +nav_order: 5 |
| 7 | +--- |
| 8 | + |
| 9 | +# Map-Config |
| 10 | + |
| 11 | +In your `maps` directory, there is one `.conf` file per map. |
| 12 | +Usually, that will be three: `world.conf`, `world_nether.conf`, and `world_the_end.conf`, |
| 13 | +but may be more or less depending on the amount of loaded worlds when BlueMap was first installed. |
| 14 | + |
| 15 | +You can copy another map config to create a new map. |
| 16 | +You will probably want to change at least the [`world`](#world) and [`name`](#name) options, |
| 17 | +but you don't actually have to! By keeping them the same, you can have multiple maps of the same world. |
| 18 | + |
| 19 | +> **Info:** |
| 20 | +> When a "default" is mentioned for any option, it is meant that if the option is commented out, that is what BlueMap will use. |
| 21 | +> This may not be the same as the option that is pre-filled-in. |
| 22 | +{: .info } |
| 23 | + |
| 24 | +## `world` |
| 25 | +The path to the save-folder of the world to render. |
| 26 | + |
| 27 | +(If this is not defined (commented out or removed), the map will be only registered to the web-server and the web-app, but not rendered or loaded by BlueMap. This can be used to display a map that has been rendered somewhere else.) |
| 28 | + |
| 29 | +## `dimension` |
| 30 | +The dimension of the world. Can be `"minecraft:overworld"`, `"minecraft:the_nether"`, `"minecraft:the_end"` or any dimension-key introduced by a mod or datapack. |
| 31 | + |
| 32 | +## `name` |
| 33 | +The display-name of this map -> how this map will be named on the webapp. |
| 34 | + |
| 35 | +You can change this at any time. |
| 36 | + |
| 37 | +_Default is the id of this map_ |
| 38 | + |
| 39 | +## `sorting` |
| 40 | +A lower value makes the map sorted first (in lists and menus), a higher value makes it sorted later. |
| 41 | +The value needs to be an integer, but it can be negative. |
| 42 | + |
| 43 | +You can change this at any time. |
| 44 | + |
| 45 | +_Default is_ `0` |
| 46 | + |
| 47 | +## `start-pos` |
| 48 | +The position on the world where the map will be centered if you open it. |
| 49 | + |
| 50 | +You can change this at any time. |
| 51 | + |
| 52 | +_This defaults to the world-spawn if you don't set it._ |
| 53 | + |
| 54 | +## `sky-color` |
| 55 | +The color of the sky as a hex-color |
| 56 | + |
| 57 | +You can change this at any time. |
| 58 | + |
| 59 | +_Default is_ `"#7dabff"` |
| 60 | + |
| 61 | +## `void-color` |
| 62 | +The color of the void as a hex-color |
| 63 | + |
| 64 | +You can change this at any time. |
| 65 | + |
| 66 | +_Default is_ `"#000000"` |
| 67 | + |
| 68 | +## `sky-light` |
| 69 | +Defines the initial sky-light-strength the map will be set to when it is opened. |
| 70 | + |
| 71 | +`0` is no sky-light, `1` is fully lighted. |
| 72 | + |
| 73 | +You can change this at any time. |
| 74 | + |
| 75 | +_Default is_ `1` |
| 76 | + |
| 77 | +## `ambient-light` |
| 78 | +Defines the ambient light-strength that every block is receiving, regardless of the sunlight/blocklight. |
| 79 | + |
| 80 | +`0` is no ambient light, `1` is fully lighted. |
| 81 | + |
| 82 | +You can change this at any time. |
| 83 | + |
| 84 | +_Default is_ `0` |
| 85 | + |
| 86 | +## `remove-caves-below-y` |
| 87 | +BlueMap tries to omit all blocks that are below this Y-level and are not visible from above-ground. |
| 88 | +More specifically: Block-Faces that have a sunlight/skylight value of 0 are removed. |
| 89 | + |
| 90 | +This improves the performance of the map on slower devices by a lot, but might cause some blocks to disappear that should normally be visible. |
| 91 | + |
| 92 | +**Changing this value requires a re-render of the map.** |
| 93 | + |
| 94 | +Set to a very high value to remove caves everywhere (e.g. `10000`) |
| 95 | +Set to a very low value to remove nothing and render all caves (e.g. `-10000`) |
| 96 | + |
| 97 | +_Default is_ `55` _(slightly below water-level)_ |
| 98 | + |
| 99 | +## `cave-detection-ocean-floor` |
| 100 | +This is the amount of blocks relative to the "ocean-floor" heightmap that the cave-detection will start at. |
| 101 | +Everything above that (heightmap-relative) y-level will not be removed. |
| 102 | + |
| 103 | +Comment or set to a very high value to disable using the ocean-floor heightmap for cave-detection. |
| 104 | + |
| 105 | +**Changing this value requires a re-render of the map.** |
| 106 | + |
| 107 | +_Defaults to_ `10000` _(disabled)_ |
| 108 | + |
| 109 | +## `cave-detection-uses-block-light` |
| 110 | +With this value set to `true`, BlueMap also uses the block-light value (additionally to the sky-light) to "detect caves". |
| 111 | +(See: [`remove-caves-below-y`](#remove-caves-below-y)) |
| 112 | + |
| 113 | +**Changing this value requires a re-render of the map.** |
| 114 | + |
| 115 | +_Default is_ `false` |
| 116 | + |
| 117 | +## `min-inhabited-time` |
| 118 | +The minimum "inhabitedTime" value that a chunk must have to be rendered. |
| 119 | +The "inhabitedTime" value of a chunk refers to the cumulative number of ticks players have been near this chunk. |
| 120 | + |
| 121 | +If you set this to a value greater than `0`, BlueMap will only render chunks that players have visited already. |
| 122 | + |
| 123 | +_Default is_ `0` |
| 124 | + |
| 125 | +## `render-mask` |
| 126 | +With the render-mask you can limit the map-render. |
| 127 | + |
| 128 | +This can be used to render only a certain part of a world, or ignore the Nether's ceiling. |
| 129 | + |
| 130 | +If you change the render-mask, BlueMap automatically tries to update the map, |
| 131 | +including deleting map-tiles which are outside the new limits. |
| 132 | + |
| 133 | +You can use `/bluemap fix-edges <map>` to fix any remaining issues. |
| 134 | + |
| 135 | +Please check out [this wiki page](/wiki/customization/Masks.md) for more detailed information on how to configure this. |
| 136 | + |
| 137 | +_Default is no mask; BlueMap will render everything that exists._ |
| 138 | + |
| 139 | +## `render-edges` |
| 140 | +Using this, BlueMap pretends that every Block outside of the defined render-mask is AIR, |
| 141 | +this means you can see the blocks where the world is cut (instead of having a see-through/xray view). |
| 142 | +This has only an effect if you set some [`render-mask`](#render-mask) above. |
| 143 | + |
| 144 | +**Changing this value requires a re-render of the map.** |
| 145 | + |
| 146 | +_Default is_ `true` |
| 147 | + |
| 148 | +## `edge-light-strength` |
| 149 | +The sun-light strength that blocks at map-edges will recieve if render-edges is enabled. |
| 150 | + |
| 151 | +Should be a value between `0` and `15` |
| 152 | + |
| 153 | +_Default is_ `15` |
| 154 | + |
| 155 | +## `enable-perspective-view` |
| 156 | +Whether the perspective view will be enabled for this map. |
| 157 | + |
| 158 | +**Changing this to `true` requires a re-render of the map, only if the hires-layer is enabled and free-flight view is disabled.** |
| 159 | + |
| 160 | +_Default is_ `true` |
| 161 | + |
| 162 | +## `enable-flat-view` |
| 163 | +Whether the flat (isometric, top-down) view will be enabled for this map. |
| 164 | + |
| 165 | +Having only flat-view enabled while disabling free-flight and perspective will speed up the render and reduce the maps storage-size. |
| 166 | + |
| 167 | +_Default is_ `true` |
| 168 | + |
| 169 | +## `enable-free-flight-view` |
| 170 | +Whether the free-flight view will be enabled for this map. |
| 171 | + |
| 172 | +**Changing this to `true` requires a re-render of the map, only if the hires-layer is enabled and perspective view is disabled.** |
| 173 | + |
| 174 | +_Default is_ `true` |
| 175 | + |
| 176 | +## `enable-hires` |
| 177 | +Whether the hires-layer will be enabled. |
| 178 | + |
| 179 | +Disabling this will speed up rendering and reduce the size of the map-files a lot. |
| 180 | +But you will not be able to see the full 3d-models if you zoom in on the map. |
| 181 | + |
| 182 | +Changing this to `false` will not remove any existing tiles; existing tiles just won't get updated anymore. |
| 183 | + |
| 184 | +**Changing this to `true` will require a re-render of the map.** |
| 185 | + |
| 186 | +_Default is_ `true` |
| 187 | + |
| 188 | +## `storage` |
| 189 | +This defines the [storage-config](storages/) that will be used to save this map. |
| 190 | + |
| 191 | +You can find your storage configs next to this config file in the 'storages'-folder. |
| 192 | + |
| 193 | +**Changing this value requires a re-render of the map. The map in the old storage will not be deleted.** |
| 194 | + |
| 195 | +_Default is_ `"file"` |
| 196 | + |
| 197 | +## `ignore-missing-light-data` |
| 198 | +Normally BlueMap detects if a chunk has not yet generated it's light-data and omits rendering those chunks. |
| 199 | + |
| 200 | +If this is set to `true`, BlueMap will render Chunks even if there is no light-data! |
| 201 | + |
| 202 | +This can be useful for example if some mod prevents light-data from being saved correctly. |
| 203 | +However, this also has a few drawbacks: |
| 204 | +- For those chunks, every block will always be fully lit |
| 205 | +- Night-mode might not work correctly |
| 206 | +- Caves will always be rendered (ignoring the [`remove-caves-below-y`](#remove-caves-below-y) setting) |
| 207 | + |
| 208 | +_Default is_ `false` |
| 209 | + |
| 210 | +## `marker-sets` |
| 211 | +Here you can define any static marker-sets with markers that should be displayed on the map. |
| 212 | + |
| 213 | +You can change this at any time. |
| 214 | + |
| 215 | +If you need dynamic markers, you can use any plugin that integrates with BlueMap's API. |
| 216 | +[Here is a list.](/community/3rdPartySupport.md) |
| 217 | + |
| 218 | +Please check out [this wiki page](/wiki/customization/Markers.md) for information on how to configure this. |
0 commit comments