image:
  repository: tccr.io/truecharts/minecraft-java
  tag: 2023.1.0@sha256:6d68d2efe1d1f947535d6da262a21817b1bc1e127024f03677ebd6b218c57bdf
  pullPolicy: Always
j19Image:
  repository: tccr.io/truecharts/minecraft-java19
  tag: latest@sha256:912fadcab8e17dd6f4254e16f4c6de9eed68e23cafd35274d6ce9ade735bc334
  pullPolicy: Always
j17j9Image:
  repository: tccr.io/truecharts/minecraft-java17-openj9
  tag: 2023.1.0@sha256:a8bba5dce3d92c4646c3a9c4c2028161e0ec11b65fa52c240f71fa417ebeec20
  pullPolicy: Always
j17jdkImage:
  repository: tccr.io/truecharts/minecraft-java17-jdk
  tag: 2023.1.0@sha256:b4553d1f71ab9a2a5fcdb3ad34c80f8ff8d2d26aaba989079d07fe3f0884323a
  pullPolicy: Always
j17gceImage:
  repository: tccr.io/truecharts/minecraft-java17-graalvm-ce
  tag: latest@sha256:33a60248da06c40c6181afa3dd1a588bd07e4550ce2288577fa035fae6b4335e
  pullPolicy: Always
j17alpineImage:
  repository: tccr.io/truecharts/minecraft-java17-alpine
  tag: 2023.1.0@sha256:a13dc809a104863ec4974f7ace1e771611806ceb4aa8d88858c6685d24fa83cc
  pullPolicy: Always
j11Image:
  repository: tccr.io/truecharts/minecraft-java11
  tag: latest@sha256:74c172718f2a78f7752414b8b3fb98229895de15634ebfbcd9b77b1d762c1447
  pullPolicy: Always
j11jdkImage:
  repository: tccr.io/truecharts/minecraft-java11-jdk
  tag: 2023.1.0@sha256:b7c9c91dd3732396478000e715c11972a133c7676d8074745be0073cd587a692
  pullPolicy: Always
j11j9Image:
  repository: tccr.io/truecharts/minecraft-java11-openj9
  tag: 2023.1.0@sha256:5808303bac04bb2c287f321f1ee6674f7ee93e6ef1fcc45113b25408dcec9747
  pullPolicy: Always
j8Image:
  repository: tccr.io/truecharts/minecraft-java8
  tag: latest@sha256:b452f19dd1ad52fe4538cf99a0887bc17415104d67da8cdbcb817c3717ebb11a
  pullPolicy: Always
j8gceImage:
  repository: tccr.io/truecharts/minecraft-java8-graalvm-ce
  tag: latest@sha256:1705933c0632654b24937409517efe9c94175ba38ef148fc140befee6088b0d5
  pullPolicy: Always
j8jdkImage:
  repository: tccr.io/truecharts/minecraft-java8-jdk
  tag: 2023.1.0@sha256:198e8f0c0adb6b8713a73f1d3769dc59d8b9d398c493f154844fd4f50c993ab4
  pullPolicy: Always
j8j9Image:
  repository: tccr.io/truecharts/minecraft-java8-openj9
  tag: 2023.1.0@sha256:c0d6473a7d23fb5cd6fd4776c4d3346c8266a217ada91362b87029f63e677cb4
  pullPolicy: Always

imageSelector: image

securityContext:
  readOnlyRootFilesystem: false
  runAsNonRoot: false

podSecurityContext:
  runAsUser: 0
  runAsGroup: 0

service:
  main:
    ports:
      main:
        port: 25565
  rcon:
    enabled: true
    ports:
      rcon:
        enabled: true
        port: 25575
        targetPort: 25575

probes:
  liveness:
    enabled: true
    custom: true
    spec:
      exec:
        command:
          - mc-health
  readiness:
    enabled: true
    custom: true
    spec:
      exec:
        command:
          - mc-health
  startup:
    enabled: true
    custom: true
    spec:
      exec:
        command:
          - mc-health

secretEnv:
  RCON_PASSWORD: "secretrconpass"

env:
  SERVER_PORT: "{{ .Values.service.main.ports.main.port }}"
  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
  # 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: ""
  # PACKWIZ_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: ""

persistence:
  data:
    enabled: true
    mountPath: "/data"

portal:
  enabled: false
