2024-01-26 14:47:58 +01:00
# MCServerDocker configuration file
2024-01-27 18:27:59 +01:00
##################
# Server options #
##################
2024-01-26 14:47:58 +01:00
# ENFORCE_FRESH_CACHES
## Cleans all caches on startup, useful if you experience issues.
MCSD_ENFORCE_FRESH_CACHES = false
# FORCE_UPGRADE
## Updates all chunks to the latest version on startup, if possible. Will slow down startup time (if you switch versions) but will significantly increase server performance during runtime.
MCSD_FORCE_UPGRADE = true
# SAFEMODE
# Disables all datapacks
MCSD_SAFEMODE = false
2024-01-27 18:27:59 +01:00
#################
# MCSD features #
#################
# CLEAN_LOGS
# Removes all log files on startup (restarts are not affected)
MCSD_CLEAN_LOGS = true
#################
# Memory limits #
#################
2024-01-27 19:51:48 +01:00
# MEMORY_MAX
2024-01-27 18:27:59 +01:00
## The maximum amount of memory Minecraft should use
## Note: The java process WILL use more memory than you specify here,
## as the JVM does not include itself in this limit here.
2024-01-27 19:51:48 +01:00
MCSD_MEMORY_MAX = 2048M
2024-01-26 14:47:58 +01:00
2024-04-30 01:03:12 +02:00
# MEMORY_MIN
## The minimum amount of memory Minecraft uses
## Set this to $MCSD_MEMORY_MAX if you want maximum performance
MCSD_MEMORY_MIN = 2048M
2024-01-27 18:27:59 +01:00
########
# Java #
########
2024-01-26 14:47:58 +01:00
# JAVA_VERSION
## Minecraft version | Java version
## <= 1.16 | 8
## <= 1.16 | 11 (may increase performance)
## >= 1.17 | 17
2024-07-10 12:35:48 +02:00
## >= 1.20.5 | 21
MCSD_JAVA_VERSION = 21
2024-01-27 18:27:59 +01:00
2024-07-10 12:35:59 +02:00
# JAVA_CUSTOM
## Set this to 'true' if you want to use a custom JVM
## located at './jvm/'. This will update $JAVA_HOME
MCSD_JAVA_CUSTOM = false
2024-01-27 18:27:59 +01:00
# OPTIMIZED_FLAGS
## Applies a modified variant of Aikar's Flags
MCSD_OPTIMIZED_FLAGS = true
# GARBAGECOLLECTOR
## Configures the garbage collector
## Supported are: G1GC, ZGC
MCSD_GARBAGECOLLECTOR = G1GC
2024-04-20 17:14:51 +02:00
# CUSTOM_ARGS
## Allows you to configure custom
## arguments that will be passed to
## the Java virtual machine.
## Leave empty to disable.
2024-04-20 17:16:08 +02:00
MCSD_CUSTOM_ARGS =