Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions common/src/main/resources/de/bluecolored/bluemap/config/core.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,45 +4,45 @@
## ##

# 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.
# 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.)
# 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).
# ${timestamp}
accept-download: false

# The folder where bluemap saves data-files it needs during runtime or to save e.g. the render-progress to resume it later.
# The folder where BlueMap saves data files it needs during runtime or to save (for example) the render progress file to resume it later.
# Default is "bluemap"
data: "${data}"

# 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)
# A higher value can improve the 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 threads).
# Default is 1
render-thread-count: ${render-thread-count}

# Controls whether BlueMap should try to find and load mod-resources and datapacks from the server/world-directories.
# 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
${metrics<<
# 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/
# If this is true, BlueMap might send really basic metric 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":"${implementation}","version":"${version}","mcVersion":"${mcVersion}"}
# Default is true
metrics: true
>>}
# Config-section for debug-logging
# 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
# 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 timestamps, see: https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html
# Default is no logging.
file: "${logfile}"
#file: "${logfile-with-time}"

# Whether the logger should append to an existing file, or overwrite it
# Default is false
# Whether the logger should append to an existing file, or overwrite it.
# Default is false (overwrite the file).
append: false
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,91 +3,91 @@
## Map-Config ##
## ##

# The path to the save-folder of the world to render.
# (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.)
# The path to the save folder of the world to render.
# If this is not defined (commented out or removed), the map will be only registered to the webserver and the webapp
# but not rendered or loaded by BlueMap. This can be used to display a map that has been rendered somewhere else.
world: "${world}"

# 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.
# 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.
dimension: "${dimension}"

# The display-name of this map -> how this map will be named on the webapp.
# The display name of this map (how this map will be named on the webapp).
# You can change this at any time.
# Default is the id of this map
name: "${name}"

# A lower value makes the map sorted first (in lists and menus), a higher value makes it sorted later.
# A lower value makes the map appear first (in lists and menus), a higher value makes it appear later.
# The value needs to be an integer but it can be negative.
# You can change this at any time.
# Default is 0
sorting: ${sorting}

# The position on the world where the map will be centered if you open it.
# The position in the world where the map will be centered on when you open it.
# You can change this at any time.
# Default is { x: 0, z: 0 }
start-pos: { x: 0, z: 0 }

# The color of the sky as a hex-color
# The color of the sky as a hex-color.
# You can change this at any time.
# Default is "#7dabff"
sky-color: "${sky-color}"

# The color of the void as a hex-color
# The color of the void as a hex-color.
# You can change this at any time.
# Default is "#000000"
void-color: "${void-color}"

# Defines the initial sky-light-strength the map will be set to when it is opened.
# 0 is no sky-light, 1 is fully lighted.
# Defines the initial sky light strength the map will be set to when it is opened.
# 0 is no sky light, 1 is fully lit up.
# You can change this at any time.
# Default is 1
sky-light: 1

# Defines the ambient light-strength that every block is receiving, regardless of the sunlight/blocklight.
# 0 is no ambient light, 1 is fully lighted.
# Defines the ambient light strength that every block is receiving, regardless of the sunlight/blocklight.
# 0 is no ambient light, 1 is fully lit up.
# You can change this at any time.
# Default is 0
ambient-light: ${ambient-light}

# BlueMap tries to omit all blocks that are below this Y-level and are not visible from above-ground.
# More specific: Block-Faces that have a sunlight/skylight value of 0 are removed.
# BlueMap tries to omit all blocks that are below this Y-level and are not visible from above ground.
# More specifically, block faces that have a sunlight/skylight value of 0 are removed.
# 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.
# Changing this value requires a re-render of the map.
# Set to a very high value to remove caves everywhere (e.g. 10000)
# Set to a very low value to remove nothing and render all caves (e.g. -10000)
# Default is 55 (slightly below water-level)
# Set to a very high value to remove caves everywhere (e.g. 10000).
# Set to a very low value to remove nothing and render all caves (e.g. -10000).
# Default is 55 (slightly below water-level).
remove-caves-below-y: ${remove-caves-below-y}

# This is the amount of blocks relative to the "ocean-floor" heightmap that the cave-detection will start at.
# Everything above that (heightmap-relative) y-level will not be removed.
# Comment or set to a very high value to disable using the ocean-floor heightmap for cave-detection.
# This is the amount of blocks relative to the "ocean floor" heightmap that the cave detection will start at.
# Everything above that (heightmap relative) y-level will not be removed.
# Comment or set to a very high value to disable using the ocean floor heightmap for cave detection.
# Changing this value requires a re-render of the map.
# Defaults to 10000 (disabled)
# Defaults to 10000 (disabled).
cave-detection-ocean-floor: -5

# With this value set to true, BlueMap also uses the block-light value (additionally to the sky-light) to "detect caves".
# (See: remove-caves-below-y)
# With this value set to true, BlueMap also uses the block light value (additionally to the sky light) to "detect caves".
# (See: remove-caves-below-y).
# Changing this value requires a re-render of the map.
# Default is false
cave-detection-uses-block-light: false

# The minimum "inhabitedTime" value that a chunk must have to be rendered.
# The "inhabitedTime" value of a chunk refers to the cumulative number of ticks players have been near this chunk.
# If you set this to a value greater than 0, bluemap will only render chunks that players have visited already.
# Default is 0
# If you set this to a value greater than 0, BlueMap will only render chunks that players have visited already.
# Default is 0 (all generated chunks).
min-inhabited-time: 0

# With the render-mask you can limit the map-render.
# This can be used to render only a certain part of a world or ignore the nethers ceiling.
# If you change the render-mask, bluemap automatically tries to update the map,
# including deleting map-tiles which are outside the new limits.
# With the render-mask you can limit the map render.
# This can be used to render only a certain part of a world or ignore the Nether's ceiling.
# If you change the render-mask, BlueMap automatically tries to update the map,
# including deleting map tiles which are outside the new limits.
# You can use "/bluemap fix-edges <map>" to fix any remaining issues.
#
# Please check out the wiki for more detailed information on how to configure this:
# https://bluemap.bluecolored.de/wiki/customization/Masks.html
#
# Default is no mask, bluemap will render everything that exists.
# Default is no mask, BlueMap will render everything that exists.
render-mask: [
{
#min-x: -4000
Expand All @@ -98,8 +98,8 @@ render-mask: [
#max-y: 100
}${remove-nether-ceiling<<
{
# this removes everything at and between y 90 and 127 (the nethers ceiling)
# structures above the bedrock-ceiling remain visible
# This removes everything at and between y 90 and 127 (the Nether's ceiling).
# Structures above the bedrock ceiling remain visible.
subtract: true
min-y: 90
max-y: 127
Expand All @@ -108,13 +108,13 @@ render-mask: [

# Using this, BlueMap pretends that every Block outside of the defined render-mask is AIR,
# this means you can see the blocks where the world is cut (instead of having a see-through/xray view).
# This has only an effect if you set some render-mask above.
# This only has an effect if you set some render-mask above.
# Changing this value requires a re-render of the map.
# Default is true
render-edges: true

# The sun-light strength that blocks at map-edges will recieve if render-edges is enabled.
# Should be a value between 0 and 15
# The sun-light strength that blocks at map edges will recieve if render-edges is enabled.
# Should be a value between 0 and 15.
# Default is 15
edge-light-strength: 8

Expand All @@ -124,7 +124,7 @@ edge-light-strength: 8
enable-perspective-view: true

# Whether the flat (isometric, top-down) view will be enabled for this map.
# Having only flat-view enabled while disabling free-flight and perspective will speed up the render and reduce the maps storage-size.
# Having only flat-view enabled while disabling free-flight and perspective will speed up the render and reduce the maps storage size.
# Default is true
enable-flat-view: true

Expand All @@ -134,8 +134,8 @@ enable-flat-view: true
enable-free-flight-view: true

# Whether the hires-layer will be enabled.
# Disabling this will speed up rendering and reduce the size of the map-files a lot.
# But you will not be able to see the full 3d-models if you zoom in on the map.
# Disabling this will speed up rendering and reduce the size of the map files a lot.
# But you will not be able to see the full 3D models if you zoom in on the map.
# Changing this to false will not remove any existing tiles, existing tiles just won't get updated anymore.
# Changing this to true will require a re-render of the map.
# Default is true
Expand All @@ -147,14 +147,14 @@ enable-hires: true
# Default is "file"
storage: "file"

# Normally BlueMap detects if a chunk has not yet generated it's light-data and omits rendering those chunks.
# If this is set to true BlueMap will render Chunks even if there is no light-data!
# This can be useful for example if some mod prevents light-data from being saved correctly.
# Normally BlueMap detects if a chunk has not yet generated it's light data and omits rendering those chunks.
# If this is set to true BlueMap will render Chunks even if there is no light data!
# This can be useful for example if some mod prevents light data from being saved correctly.
# However, this also has a few drawbacks:
# - Cave rendering will always be enabled (BlueMap is using the sky-light data to detect "caves")
# - Everything will be rendered fully lit (sky-light value of 15, looks similar to having night vision)
# - Night-mode might not work correctly
# Default is false
# - Cave rendering will always be enabled (BlueMap is using the sky light data to detect "caves").
# - Everything will be rendered fully lit (sky light value of 15, looks similar to having night vision).
# - Night mode might not work correctly.
# Default is false (wait for light data).
ignore-missing-light-data: false

# Here you can define any static marker-sets with markers that should be displayed on the map.
Expand Down
51 changes: 25 additions & 26 deletions common/src/main/resources/de/bluecolored/bluemap/config/plugin.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
## Plugin-Config ##
## ##

# If the server should send player-positions to the webapp.
# If the server should send player positions to the webapp.
# This only works if the integrated webserver is enabled.
# Default is true
live-player-markers: true

# A list of gamemodes that will prevent a player from appearing on the map.
# Possible values are: survival, creative, spectator, adventure
# Possible values are: survival, creative, spectator or adventure.
hidden-game-modes: [
"spectator"
"spectator"
]

# If this is true, players that are vanished (by a plugin) will be hidden on the map.
# (This only works with Spigot and Sponge based vanish-plugins)
# (This only works with Spigot and Sponge based vanish plugins).
# Default is true
hide-vanished: true

Expand All @@ -27,46 +27,45 @@ hide-invisible: true
# Default is false
hide-sneaking: false

# Hides the player if they are in a sky or block-light level below the given number.
# Hides the player if they are in a sky (or block) light level below the given number.
# BOTH values have to be below the threshold for the player to be hidden!
# E.g. if you set both to 1, then the player will be hidden on the map if they are in absolute darkness
# Or, if you want players only be visible on the surface you set the sky-threshold to something between 1 and 15
# and the block-threshold to 16
# Default is 0 (don't hide the player)
# E.g. if you set both to 1, then the player will be hidden on the map if they are in absolute darkness.
# Or, if you want players only be visible on the surface, then set the sky threshold to something between
# 1 and 15 and the block threshold to 16.
# Default is 0 (don't hide the player).
hide-below-sky-light: 0
hide-below-block-light: 0

# If this is true, players that are on a different world than the viewed map will not appear on the player-list.
# If this is true, players that are on a different world than the viewed map will not appear on the player list.
# Default is false
hide-different-world: false

# The interval in seconds that the markers will be written to the map-storage.
# This is useful if you can't create a live-connection between the server and the webapp
# and the markers can only be updated via the map-storage.
# 0 or lower means that the markers will never be written to the map-storage.
# The interval in seconds at which the markers will be written to the map storage.
# This is useful if you can't create a live connection between the server and the webapp
# and the markers can only be updated via the map storage.
# 0 or lower means that the markers will never be written to the map storage.
# Default is 0
#write-markers-interval: 10

# The interval in seconds that the players will be written to the map-storage.
# This is useful if you can't create a live-connection between the server and the webapp
# and the players can only be updated via the map-storage.
# 0 or lower means that the players will never be written to the map-storage.
# The interval in seconds at which the players will be written to the map storage.
# This is useful if you can't create a live connection between the server and the webapp
# and the players can only be updated via the map storage.
# 0 or lower means that the players will never be written to the map storage.
# Default is 0
#write-players-interval: 3

# Download the skin from mojang-servers when a player joins your server, so it can be used for the player-markers.
# Download the skin from mojang servers when a player joins your server, so it can be used for the player markers.
# Default is true
skin-download: true

# The amount of players that is needed to pause BlueMap's render-threads.
# -> If this amount of players or more is online, bluemap will stop rendering map-updates until enough players
# have logged off again
# Setting this to 0 or -1 will disable this feature -> bluemap will not pause rendering
# The amount of players that is needed to pause BlueMap's render threads.
# If this amount of players or more is online, BlueMap will stop rendering map updates until enough players have logged off again.
# Setting this to 0 or -1 will disable this feature (BlueMap will not pause rendering).
# Default is -1
player-render-limit: -1

# The interval in minutes in which a full map-update will be triggered.
# This is ADDITIONALLY to the normal map-update process (in case that fails to detect any file-changes).
# The interval in minutes at which a full map update will be triggered.
# This is IN ADDITION to the normal map update process (in case that fails to detect any file changes).
# ! This DOESN'T re-render the entire map each time, it only checks if there are some changes that have not been rendered yet!
# Default is 1440 (24 hours)
# Default is 1440 (24 hours).
full-update-interval: 1440
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
## ##

# The storage-type of this storage.
# Depending on this setting, different config-entries are allowed/expected in this config file.
# Don't change this value! (If you want a different storage-type, check out the other example-configs)
# Depending on this setting, different config entries are allowed/expected in this config file.
# Don't change this value! (If you want a different storage-type, check out the other example configs).
storage-type: file

# The path to the folder on your file-system where bluemap will save the rendered map
# The path to the folder on your file system where BlueMap will save the rendered map.
# The default is: "bluemap/web/maps"
root: "${root}"

# The compression-type that bluemap will use to compress generated map-data.
# Available compression-types are:
# The compression type that BlueMap will use to compress generated map data.
# Available compression types are:
# - gzip
# - zstd
# - deflate
Expand Down
Loading
Loading