diff --git a/minecraft/install.ts b/minecraft/install.ts index 4cab9ed..364e501 100644 --- a/minecraft/install.ts +++ b/minecraft/install.ts @@ -2,6 +2,8 @@ import type { ComposeConfig } from "../compose"; import { escapeComposeValue } from "../compose"; import type { MinecraftSettings } from "./settings"; +export const dockerImage = "ghcr.io/nodebytehosting/games:minecraft-latest" + export const buildMinecraftCompose = ( config: ComposeConfig, settings: MinecraftSettings, diff --git a/minecraft/settings.ts b/minecraft/settings.ts index 6f6c121..24af0c6 100644 --- a/minecraft/settings.ts +++ b/minecraft/settings.ts @@ -2,17 +2,16 @@ import { defineSettings } from "../settings"; import type { SettingsValues } from "../settings"; export const minecraftSettings = defineSettings({ - dockerImage: { - default: "ghcr.io/pterodactyl/yolks:java_25", - label: "Docker Image", + javaVersion: { + default: "25", + label: "Java Version", options: [ - { value: "ghcr.io/pterodactyl/yolks:java_25" }, - { value: "ghcr.io/pterodactyl/yolks:java_22" }, - { value: "ghcr.io/pterodactyl/yolks:java_21" }, - { value: "ghcr.io/pterodactyl/yolks:java_17" }, - { value: "ghcr.io/pterodactyl/yolks:java_16" }, - { value: "ghcr.io/pterodactyl/yolks:java_11" }, - { value: "ghcr.io/pterodactyl/yolks:java_8" }, + { value: "25" }, + { value: "21" }, + { value: "17" }, + { value: "11" }, + { value: "8" }, + ], type: "select", },