# yaml-language-server: $schema=./values.schema.json image: repository: ghcr.io/itzg/minecraft-server tag: 2026.6.1-java25@sha256:2a3ed0997720d79b7ed783a79e43143358b2e60d27daf15c2b1d27b59d04a6d8 pullPolicy: Always # ---- Java 25 ---- j25jdkImage: repository: ghcr.io/itzg/minecraft-server tag: 2026.6.1-java25-jdk@sha256:0a9e3d1775496bef97d9d1dfb2bcdcbc13a075f30d4e434b918e9c5db2b1d383 pullPolicy: Always # ---- Java 21 (Recommended for modern MC versions) ---- j21Image: repository: ghcr.io/itzg/minecraft-server tag: 2026.6.1-java21@sha256:968e3cd018fe2c86537c515ce07ac364beb1a466a628b149277da5c144dad592 pullPolicy: Always j21alpineImage: repository: ghcr.io/itzg/minecraft-server tag: 2026.6.1-java21-alpine@sha256:cd9afa25babd17fc3bee98234bd4d2bbf1ef5710b2755d74030d73921ce2dcbb pullPolicy: Always j21jdkImage: repository: ghcr.io/itzg/minecraft-server tag: 2026.6.1-java21-jdk@sha256:4572a6cd2b3ad1a7034fae0d666b94b82c459e9814ea08094d5b5fb4683e9bed pullPolicy: Always # ---- Java 17 (Safe & Supported) ---- j17Image: repository: ghcr.io/itzg/minecraft-server tag: 2026.6.1-java17@sha256:9747457a6928d675847672bf0c8f6201498247a1eda6ef3277ba188720f6a8f5 pullPolicy: Always j17jdkImage: repository: ghcr.io/itzg/minecraft-server tag: 2024.6.1-java17-jdk@sha256:2c43fcede436aff9f50b1adf4448d55d221651be471ef41412232c141bfa89f6 pullPolicy: Always # ---- Java 16 ---- j16Image: repository: ghcr.io/itzg/minecraft-server tag: 2026.6.1-java16@sha256:310c6ec6bf9d97a29f75344dce2266c5b9df10dae5d304b29869acc3175e746c pullPolicy: Always # ---- Java 11 ---- j11Image: repository: ghcr.io/itzg/minecraft-server tag: 2026.6.1-java11@sha256:67293c67e4ef2466546a25e0f0f6544f31aa4dd18efcd10625891a40452201da pullPolicy: Always # ---- Java 8 (Use plain java8 only) ---- j8Image: repository: ghcr.io/itzg/minecraft-server tag: 2026.6.1-java8@sha256:3a0ab843767e7d1fcc8196d35c267ebdc89819c90f03d19401e64f220250aaa8 pullPolicy: Always service: main: enabled: true ports: main: enabled: true protocol: tcp port: 25565 query: enabled: true protocol: udp port: 25565 rcon: enabled: true ports: rcon: enabled: true port: 25575 ssh: enabled: true ports: ssh: enabled: true protocol: tcp targetPort: 2222 port: 2222 workload: main: podSpec: containers: main: imageSelector: image probes: liveness: enabled: true type: exec command: - mc-health readiness: enabled: true type: exec command: - mc-health startup: enabled: true type: exec command: - mc-health env: SERVER_PORT: "{{ .Values.service.main.ports.main.port }}" QUERY_PORT: "{{ .Values.service.main.ports.query.port }}" RCON_PORT: "{{ .Values.service.rcon.ports.rcon.port }}" ENABLE_QUERY: "true" ENABLE_SSH: "false" EULA: "TRUE" GUI: "FALSE" OVERRIDE_SERVER_PROPERTIES: true VERSION: "LATEST" TYPE: "VANILLA" DIFFICULTY: easy MAX_PLAYERS: 20 MAX_WORLD_SIZE: 10000 ALLOW_NETHER: true ANNOUNCE_PLAYER_ACHIEVEMENTS: true ENABLE_COMMAND_BLOCK: false FORCE_GAMEMODE: false GENERATE_STRUCTURES: true HARDCORE: false MAX_BUILD_HEIGHT: 256 MAX_TICK_TIME: 60000 SPAWN_ANIMALS: true SPAWN_MONSTERS: true SPAWN_NPCS: true VIEW_DISTANCE: 16 MODE: survival MOTD: "Welcome to Minecraft on TrueNAS Scale!" PVP: false LEVEL_TYPE: DEFAULT LEVEL: world ONLINE_MODE: true MEMORY: 2048M RCON_PASSWORD: "secretrconpass" # PACKWIZ_URL: "" # CUSTOM_SERVER: "" # QUILT_LOADER_VERSION: "" # QUILT_LAUNCHER: "" # QUILT_LAUNCHER_URL: "" # PUFFERFISH_BUILD: "lastSuccessfulBuild" # FORGEVERSION: "" # FORGE_INSTALLER: "" # FORGE_INSTALLER_URL: "" # FABRIC_LOADER_VERSION: "" # FABRIC_INSTALLER: "" # FABRIC_INSTALLER_URL: "" # SPIGOT_DOWNLOAD_URL: "" # BUILD_FROM_SOURCE: false # BUKKIT_DOWNLOAD_URL: "" # PAPERBUILD: "" # PAPER_DOWNLOAD_URL: "" # AIRPLANE_BUILD: "lastSuccessfulBuild" # MAGMA_CHANNEL: "stable" # MOHIST_BUILD: "" # CANYON_BUILD: "" # SPONGEBRANCH: "STABLE" # SPONGEVERSION: "" # LIMBO_BUILD: "LATEST" # LIMBO_SCHEMA_FILENAME: "default.schem" # CRUCIBLE_RELEASE: "latest" # FTB_MODPACK_ID: "" # FTB_MODPACK_VERSION_ID: "" # CF_SERVER_MOD: "" # CF_BASE_DIR: "" # USE_MODPACK_START_SCRIPT: true # FTB_LEGACYJAVAFIXER: false # WHITELIST: "" # OPS: "" # ICON: "" # SEED: "" # GENERATOR_SETTINGS: "" # WORLD: "" # FORCE_REDOWNLOAD: false # USE_FLARE_FLAGS: false # USE_AIKAR_FLAGS: true # USE_SIMD_FLAGS: false # JVM_OPTS: "" # JVM_XX_OPTS: "" # CF_API_KEY # CF_PAGE_URL # CF_SLUG # CF_EXCLUDE_INCLUDE_FILE # CF_EXCLUDE_MODS # CF_FORCE_INCLUDE_MODS # CF_FORCE_SYNCHRONIZE # CF_OVERRIDES_SKIP_EXISTING # CF_PARALLEL_DOWNLOADS # CF_SET_LEVEL_FROM persistence: data: enabled: true mountPath: /data