diff --git a/egg-hytale.pelican.json b/egg-hytale.pelican.json index 7153703..26066c4 100644 --- a/egg-hytale.pelican.json +++ b/egg-hytale.pelican.json @@ -4,7 +4,7 @@ "version": "PLCN_v3", "update_url": "https://cdn.nat.gg/egg/egg-hytale.pelican.json" }, - "exported_at": "2026-01-13T15:04:52+00:00", + "exported_at": "2026-01-13T15:09:14+00:00", "name": "Hytale", "author": "contact@natroutter.fi", "uuid": "6594b287-2d7b-4249-bc93-4d40283c57e3", @@ -192,6 +192,19 @@ "boolean" ], "sort": 9 + }, + { + "name": "Patchline", + "description": "What release channel you want to use", + "env_variable": "PATCHLINE", + "default_value": "release", + "user_viewable": true, + "user_editable": true, + "rules": [ + "string", + "required" + ], + "sort": 13 } ] } \ No newline at end of file diff --git a/egg-hytale.pterodactyl.json b/egg-hytale.pterodactyl.json index a68f0a1..c4b22d5 100644 --- a/egg-hytale.pterodactyl.json +++ b/egg-hytale.pterodactyl.json @@ -4,7 +4,7 @@ "version": "PTDL_v2", "update_url": "https:\/\/raw.githubusercontent.com\/NATroutter\/egg-hytale\/refs\/heads\/main\/egg-hytale.pterodactyl.json" }, - "exported_at": "2026-01-13T17:05:15+02:00", + "exported_at": "2026-01-13T17:10:05+02:00", "name": "Hytale", "author": "contact@natroutter.fi", "description": "Hytale is a block-based sandbox game that blends creative building with RPG adventure. Explore procedurally generated worlds filled with unique biomes, dungeons, and creatures. Build anything from simple homes to grand castles, craft items, and battle monsters. Create custom content with built-in modding tools, host your own servers, and shape the experience with plugins and mods. Play solo or with friends in a world designed for both creation and exploration.\r\n\r\nCredits:\r\n- Made by NATroutter\r\n- https:\/\/natroutter.fi\r\n- https:\/\/github.com\/NATroutter", @@ -149,6 +149,16 @@ "user_editable": true, "rules": "nullable|string", "field_type": "text" + }, + { + "name": "Patchline", + "description": "What release channel you want to use", + "env_variable": "PATCHLINE", + "default_value": "release", + "user_viewable": true, + "user_editable": true, + "rules": "required|string", + "field_type": "text" } ] } \ No newline at end of file diff --git a/start.sh b/start.sh index 7a5a23f..4077a67 100644 --- a/start.sh +++ b/start.sh @@ -66,7 +66,7 @@ if [ ! -f ".hytale-downloader-credentials.json" ]; then echo "Credentials file not found, running initial setup..." echo "Starting Hytale downloader..." $DOWNLOADER -check-update - $DOWNLOADER -download-path server.zip + $DOWNLOADER -patchline $PATCHLINE -download-path server.zip extract_server_files fi @@ -74,7 +74,7 @@ fi if [ "${AUTOMATIC_UPDATE}" = "1" ]; then echo "Starting Hytale downloader..." $DOWNLOADER -check-update - $DOWNLOADER -download-path server.zip + $DOWNLOADER -patchline $PATCHLINE -download-path server.zip extract_server_files fi