Skip to content

Environment Variables

OS OPTIONS

NAME DESCRIPTION DEFAULT REQUIRED
EULA You MUST set this to TRUE to accept the Minecraft End User License Agreement.  
VERSION Can be set to a specific server version or the following special values can be used:
  • LATEST: The latest (non-preview) version and can be used to auto-upgrade on container start.
  • PREVIEW: The latest preview version and will auto-upgrade.
  • PREVIOUS: Uses the previously maintained major version. Useful when the mobile app is gradually being upgraded across devices
  • 1.11: The latest version of 1.11
  • 1.12: The latest version of 1.12
  • 1.13: The latest version of 1.13
  • 1.14: The latest version of 1.14
  • 1.16: The latest version of 1.16
  • Any specific server version can be provided. If it is a preview version, also set PREVIEW to `true`
LATEST ⬜️
PREVIEW Set to true if the version you are specifying is a PREVIEW version false ⬜️
UID The linux user id to run as derived from /data owner ⬜️
GID The linux group id to run as derived from /data owner ⬜️
PACKAGE_BACKUP_KEEP The number of package backups to keep 2 ⬜️

SERVER PROPERTIES

NAME DESCRIPTION DEFAULT REQUIRED
SERVER_NAME ⬜️
SERVER_PORT ⬜️
SERVER_PORT_V6 ⬜️
GAMEMODE ⬜️
DIFFICULTY ⬜️
LEVEL_TYPE ⬜️
ALLOW_CHEATS ⬜️
MAX_PLAYERS ⬜️
ONLINE_MODE ⬜️
ALLOW_LIST If true and map in a allowlist.json that is custom-crafted to the container. ⬜️
ALLOW_LIST_USERS A list of player names list users that should be allowed. ⬜️
WHITE_LIST If true and map in a whitelist.json that is custom-crafted to the container. false ⬜️
WHITE_LIST_USERS A list of player names list users that should be whitelisted ⬜️
OPS A list of XUIDs to grant OPS permissions ⬜️
MEMBERS define the members on the server ⬜️
VISITORS define the visitors on the server ⬜️
VIEW_DISTANCE ⬜️
TICK_DISTANCE ⬜️
PLAYER_IDLE_TIMEOUT ⬜️
MAX_THREADS ⬜️
LEVEL_NAME ⬜️
LEVEL_SEED ⬜️
DEFAULT_PLAYER_PERMISSION_LEVEL ⬜️
TEXTUREPACK_REQUIRED ⬜️
SERVER_AUTHORITATIVE_MOVEMENT ⬜️
PLAYER_MOVEMENT_SCORE_THRESHOLD ⬜️
PLAYER_MOVEMENT_DISTANCE_THRESHOLD ⬜️
PLAYER_MOVEMENT_DURATION_THRESHOLD_IN_MS ⬜️
CORRECT_PLAYER_MOVEMENT ⬜️