From 2826f51f5fcec3612c9378099986d6d9684a4ea7 Mon Sep 17 00:00:00 2001 From: Leon Kampwerth <77398841+SgtMate@users.noreply.github.com> Date: Thu, 13 Aug 2026 21:48:48 +0200 Subject: [PATCH] Add warning for missing .gtnh-version file when using SKIP_GTNH_UPDATE_CHECK (#4230) --- scripts/start-deployGTNH | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/start-deployGTNH b/scripts/start-deployGTNH index 624b67fb..fd13d5c8 100755 --- a/scripts/start-deployGTNH +++ b/scripts/start-deployGTNH @@ -312,6 +312,9 @@ function handleGTNH() { fi else log "SKIP_GTNH_UPDATE_CHECK=$SKIP_GTNH_UPDATE_CHECK ... Skipping GTNH Update/Install" + if [[ ! -f /data/.gtnh-version ]]; then + logWarning "No .gtnh-version file detected! There might not be a valid GTNH server installation in /data. Please ensure that the server files are present or set SKIP_GTNH_UPDATE_CHECK=false to allow the script to download and install the server files." + fi fi }