Răsfoiți Sursa

Merge branch 'develop' into feature/ui-changes

Daniel Gibbs 2 ani în urmă
părinte
comite
4694fd95f7
42 a modificat fișierele cu 55 adăugiri și 50 ștergeri
  1. 1 1
      .github/workflows/details-check.yml
  2. 1 1
      .github/workflows/serverlist-validate.yml
  3. 1 1
      .github/workflows/update-copyright-years-in-license-file.yml
  4. 1 1
      .github/workflows/version-check.yml
  5. 1 0
      lgsm/config-default/config-lgsm/ckserver/_default.cfg
  6. 1 1
      lgsm/config-default/config-lgsm/colserver/_default.cfg
  7. 1 2
      lgsm/config-default/config-lgsm/fctrserver/_default.cfg
  8. 3 3
      lgsm/config-default/config-lgsm/hwserver/_default.cfg
  9. 1 1
      lgsm/config-default/config-lgsm/ohdserver/_default.cfg
  10. 0 0
      lgsm/config-default/config-lgsm/psserver/_default.cfg
  11. 0 1
      lgsm/config-default/config-lgsm/pvrserver/_default.cfg
  12. 3 3
      lgsm/config-default/config-lgsm/rustserver/_default.cfg
  13. 2 2
      lgsm/config-default/config-lgsm/untserver/_default.cfg
  14. 1 1
      lgsm/data/debian-10.csv
  15. 1 1
      lgsm/data/debian-11.csv
  16. 1 1
      lgsm/data/debian-12.csv
  17. 1 1
      lgsm/data/ubuntu-16.04.csv
  18. 1 1
      lgsm/data/ubuntu-18.04.csv
  19. 1 1
      lgsm/data/ubuntu-20.04.csv
  20. 1 1
      lgsm/data/ubuntu-22.04.csv
  21. 1 1
      lgsm/data/ubuntu-23.04.csv
  22. 2 0
      lgsm/modules/command_dev_query_raw.sh
  23. 0 1
      lgsm/modules/command_install.sh
  24. 1 1
      lgsm/modules/core_functions.sh
  25. 6 1
      lgsm/modules/core_modules.sh
  26. 1 1
      lgsm/modules/core_steamcmd.sh
  27. 1 1
      lgsm/modules/fix_vh.sh
  28. 1 1
      lgsm/modules/info_distro.sh
  29. 5 5
      lgsm/modules/info_game.sh
  30. 1 1
      lgsm/modules/info_messages.sh
  31. 1 1
      lgsm/modules/update_fctr.sh
  32. 1 1
      lgsm/modules/update_mc.sh
  33. 1 1
      lgsm/modules/update_mcb.sh
  34. 1 1
      lgsm/modules/update_pmc.sh
  35. 1 1
      lgsm/modules/update_ts3.sh
  36. 1 1
      lgsm/modules/update_ut99.sh
  37. 1 1
      lgsm/modules/update_vints.sh
  38. 2 2
      linuxgsm.sh
  39. 1 1
      tests/tests_fctrserver.sh
  40. 1 1
      tests/tests_jc2server.sh
  41. 1 1
      tests/tests_mcserver.sh
  42. 1 1
      tests/tests_ts3server.sh

+ 1 - 1
.github/workflows/details-check.yml

@@ -15,7 +15,7 @@ jobs:
       matrix: ${{ steps.set-matrix.outputs.matrix }}
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
 
       - name: Generate matrix with generate-matrix.sh
         run: chmod +x .github/workflows/detals-check-generate-matrix.sh; .github/workflows/detals-check-generate-matrix.sh

+ 1 - 1
.github/workflows/serverlist-validate.yml

@@ -8,7 +8,7 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
 
       - name: Compare Versions
         run: chmod +x .github/workflows/serverlist-validate.sh; .github/workflows/serverlist-validate.sh

+ 1 - 1
.github/workflows/update-copyright-years-in-license-file.yml

@@ -9,7 +9,7 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         with:
           fetch-depth: 0
       - name: Action Update License Year

+ 1 - 1
.github/workflows/version-check.yml

@@ -10,7 +10,7 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
 
       - name: Version Check
         run: chmod +x .github/workflows/version-check.sh; .github/workflows/version-check.sh

+ 1 - 0
lgsm/config-default/config-lgsm/ckserver/_default.cfg

@@ -8,6 +8,7 @@
 
 #### Game Server Settings ####
 
+## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
 ip="0.0.0.0"
 port="1234"
 

+ 1 - 1
lgsm/config-default/config-lgsm/colserver/_default.cfg

@@ -9,7 +9,7 @@
 #### Game Server Settings ####
 
 ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
-# Edit with care | https://colonysurvival.gamepedia.com/Dedicated_Server#Installation_.28Linux.29
+## https://colonysurvival.gamepedia.com/Dedicated_Server#Installation_.28Linux.29
 startparameters="-batchmode -nographics +server.config ${servercfgfullpath}"
 
 #### LinuxGSM Settings ####

+ 1 - 2
lgsm/config-default/config-lgsm/fctrserver/_default.cfg

@@ -13,8 +13,7 @@ ip="0.0.0.0"
 port="34197"
 rconport="34198"
 rconpassword="CHANGE_ME"
-# (stable|experimental)
-branch="stable"
+branch="stable" # values: stable, experimental
 
 ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
 startparameters="--bind ${ip} --start-server ${serverfiles}/save1.zip --server-settings ${servercfgfullpath} --port ${port} --rcon-port ${rconport} --rcon-password ${rconpassword}"

+ 3 - 3
lgsm/config-default/config-lgsm/hwserver/_default.cfg

@@ -9,13 +9,13 @@
 #### Game Server Settings ####
 
 ## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
-servername="LinuxGSM Server"
+servername="LinuxGSM"
 ip="0.0.0.0"
 port="12871"
 queryport="12881"
 maxplayers="20"
-defaultmap=""    # Optional
-creativemode="0" # Free Build: creativemode="1"
+defaultmap="nullius"
+creativemode="0" # values: Free Build = 1, Survival = 0
 
 ## Add admins using STEAMID64
 # Example : addadmin 012345678901234567; addadmin 987654321098765432

+ 1 - 1
lgsm/config-default/config-lgsm/ohdserver/_default.cfg

@@ -12,7 +12,7 @@
 ip="0.0.0.0"
 port="7777"
 queryport="27005"
-servername="LinuxGSM Server"
+servername="LinuxGSM"
 serverpassword=""
 # Maps: risala, khafji_p, lamdong, montecassino, argonne
 defaultmap="AAS-TestMap"

+ 0 - 0
lgsm/config-default/config-lgsm/pstbsserver/_default.cfg → lgsm/config-default/config-lgsm/psserver/_default.cfg


+ 0 - 1
lgsm/config-default/config-lgsm/pvrserver/_default.cfg

@@ -11,7 +11,6 @@
 ## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
 ip="0.0.0.0"
 port="7777"
-
 # Maps: bridge, datacenter, sand
 defaultmap="datacenter"
 # Get an API key from https://pavlov-ms.vankrupt.com/servers/v1/key

+ 3 - 3
lgsm/config-default/config-lgsm/rustserver/_default.cfg

@@ -15,10 +15,10 @@ rconport="28016"
 appport="28082"
 queryport="28017"
 rconpassword="CHANGE_ME"
-rconweb="1" # Value is: 1 for the Facepunch web panel, Rustadmin desktop and Rustadmin Online; 0 for RCON tools like Rusty.
+rconweb="1" # values: Facepunch web panel, Rustadmin desktop and Rustadmin Online = 1, Rusty = 0.
 servername="Rust"
-gamemode="vanilla"           # Values: vanilla, softcore ( Doc: https://wiki.facepunch.com/rust/server-gamemodes )
-serverlevel="Procedural Map" # Values: Procedural Map, Barren, HapisIsland, SavasIsland
+gamemode="vanilla"           # values: vanilla, softcore ( Doc: https://wiki.facepunch.com/rust/server-gamemodes )
+serverlevel="Procedural Map" # values: Procedural Map, Barren, HapisIsland, SavasIsland
 customlevelurl=""            # Custom level url. +server.levelurl \"${customlevelurl}\"
 seed=""                      # range: 1-2147483647, used to reproduce a procedural map.
 salt=""                      # range: unknown, used to recover a known setting from an existing map.

+ 2 - 2
lgsm/config-default/config-lgsm/untserver/_default.cfg

@@ -14,8 +14,8 @@ port="27015"
 maxplayers="20"
 defaultmap="PEI"
 servername="LinuxGSM"
-perspective="first" # Values: first, third, vehicle, Both.
-gamemode="normal" # Values: normal, easy, gold.
+perspective="first" # values: first, third, vehicle, Both.
+gamemode="normal" # values: normal, easy, gold.
 
 ## Game Server Login Token (GSLT): Required
 # GSLT is required for running a public server.

+ 1 - 1
lgsm/data/debian-10.csv

@@ -1,4 +1,4 @@
-all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
+all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,uuid-runtime,wget,xz-utils
 steamcmd,lib32gcc1,lib32stdc++6,libsdl2-2.0-0:i386,steamcmd
 ac
 ahl

+ 1 - 1
lgsm/data/debian-11.csv

@@ -1,4 +1,4 @@
-all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc-s1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
+all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc-s1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,uuid-runtime,wget,xz-utils
 steamcmd,lib32gcc-s1,lib32stdc++6,libsdl2-2.0-0:i386,steamcmd
 ac
 ahl

+ 1 - 1
lgsm/data/debian-12.csv

@@ -1,4 +1,4 @@
-all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc-s1,lib32stdc++6,netcat-traditional,python3,tar,tmux,unzip,util-linux,wget,xz-utils
+all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc-s1,lib32stdc++6,netcat-traditional,python3,tar,tmux,unzip,util-linux,uuid-runtime,wget,xz-utils
 steamcmd,lib32gcc-s1,lib32stdc++6,libsdl2-2.0-0:i386,steamcmd
 ac
 ahl

+ 1 - 1
lgsm/data/ubuntu-16.04.csv

@@ -1,4 +1,4 @@
-all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,file,gzip,hostname,jq,lib32gcc1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
+all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,file,gzip,hostname,jq,lib32gcc1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,uuid-runtime,wget,xz-utils
 steamcmd,lib32gcc1,lib32stdc++6,libsdl2-2.0-0:i386,steamcmd
 ac
 ahl

+ 1 - 1
lgsm/data/ubuntu-18.04.csv

@@ -1,4 +1,4 @@
-all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
+all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,uuid-runtime,wget,xz-utils
 steamcmd,lib32gcc1,lib32stdc++6,libsdl2-2.0-0:i386,steamcmd
 ac
 ahl

+ 1 - 1
lgsm/data/ubuntu-20.04.csv

@@ -1,4 +1,4 @@
-all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
+all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,uuid-runtime,wget,xz-utils
 steamcmd,lib32gcc1,lib32stdc++6,libsdl2-2.0-0:i386,steamcmd
 ac
 ahl

+ 1 - 1
lgsm/data/ubuntu-22.04.csv

@@ -1,4 +1,4 @@
-all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc-s1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
+all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc-s1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,uuid-runtime,wget,xz-utils
 steamcmd,lib32gcc-s1,lib32stdc++6,libsdl2-2.0-0:i386,steamcmd
 ac
 ahl

+ 1 - 1
lgsm/data/ubuntu-23.04.csv

@@ -1,4 +1,4 @@
-all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc-s1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,wget,xz-utils
+all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc-s1,lib32stdc++6,netcat,python3,tar,tmux,unzip,util-linux,uuid-runtime,wget,xz-utils
 steamcmd,lib32gcc-s1,lib32stdc++6,libsdl2-2.0-0:i386,steamcmd
 ac
 ahl

+ 2 - 0
lgsm/modules/command_dev_query_raw.sh

@@ -260,6 +260,8 @@ echo -e ""
 echo -e "${lightgreen}Steam Master Server Response${default}"
 echo -e "=================================================================="
 echo -e ""
+echo -e "curl -m 3 -s https://api.steampowered.com/ISteamApps/GetServersAtAddress/v0001?addr=${publicip}"
+echo -e ""
 echo -e "Response: ${displaymasterserver}"
 echo -e ""
 

+ 0 - 1
lgsm/modules/command_install.sh

@@ -48,6 +48,5 @@ else
 	fix.sh
 	install_stats.sh
 	install_complete.sh
-
 fi
 core_exit.sh

+ 1 - 1
lgsm/modules/core_functions.sh

@@ -8,7 +8,7 @@
 
 module_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
 
-modulesversion="v23.4.0"
+modulesversion="v23.5.3"
 
 # Core
 

+ 6 - 1
lgsm/modules/core_modules.sh

@@ -8,7 +8,7 @@
 
 moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
 
-modulesversion="v23.4.0"
+modulesversion="v23.5.3"
 
 # Core
 
@@ -816,6 +816,11 @@ if [ ! -d "${lockdir}" ]; then
 	mkdir -p "${lockdir}"
 fi
 
+# if $USER id missing set to whoami
+if [ -z "${USER}" ]; then
+	USER="$(whoami)"
+fi
+
 # Calls on-screen messages (bootstrap)
 core_messages.sh
 

+ 1 - 1
lgsm/modules/core_steamcmd.sh

@@ -179,7 +179,7 @@ fn_update_steamcmd_remotebuild() {
 	fi
 
 	# added as was failing GitHub Actions test. Running SteamCMD twice seems to fix it.
-	${steamcmdcommand} +login "${steamuser}" "${steampass}" +app_info_update 1 +quit 2> /dev/null
+	${steamcmdcommand} +login "${steamuser}" "${steampass}" +app_info_update 1 +quit > /dev/null 2>&1
 	# password for branch not needed to check the buildid
 	remotebuildversion=$(${steamcmdcommand} +login "${steamuser}" "${steampass}" +app_info_update 1 +app_info_print "${appid}" +quit | sed -e '/"branches"/,/^}/!d' | sed -n "/\"${branch}\"/,/}/p" | grep -m 1 buildid | tr -cd '[:digit:]')
 

+ 1 - 1
lgsm/modules/fix_vh.sh

@@ -2,7 +2,7 @@
 # LinuxGSM fix_rust.sh module
 # Author: Alasdair Haig
 # Website: https://linuxgsm.com
-# Description: Resolves issues with Valheim,
+# Description: Resolves issues with Valheim.
 
 moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
 

+ 1 - 1
lgsm/modules/info_distro.sh

@@ -73,7 +73,7 @@ for distro_info in "${distro_info_array[@]}"; do
 	fi
 done
 
-# Get virtual environment
+# Get virtual environment type.
 if [ "$(command -v systemd-detect-virt 2> /dev/null)" ]; then
 	virtualenvironment="$(systemd-detect-virt)"
 fi

+ 5 - 5
lgsm/modules/info_game.sh

@@ -2060,11 +2060,11 @@ fn_info_game_terraria() {
 # Filetype: cfg
 fn_info_game_tw() {
 	if [ -f "${servercfgfullpath}" ]; then
-		fn_info_game_quakec "servername" "sv_name"
-		fn_info_game_quakec "serverpassword" "password"
-		fn_info_game_quakec "rconpassword" "sv_rcon_password"
-		fn_info_game_quakec "port" "sv_port"
-		fn_info_game_quakec "maxplayers" "sv_max_clients"
+		fn_info_game_keyvalue_pairs_space "servername" "sv_name"
+		fn_info_game_keyvalue_pairs_space "serverpassword" "password"
+		fn_info_game_keyvalue_pairs_space "rconpassword" "sv_rcon_password"
+		fn_info_game_keyvalue_pairs_space "port" "sv_port"
+		fn_info_game_keyvalue_pairs_space "maxplayers" "sv_max_clients"
 	fi
 	queryport="${port}"
 	servername="${servername:-"NOT SET"}"

+ 1 - 1
lgsm/modules/info_messages.sh

@@ -762,7 +762,7 @@ fn_info_logs() {
 		else
 			echo -e "${gamelogdir}"
 			# dos2unix sed 's/\r//'
-			tail "${gamelogdir}"/* 2> /dev/null | grep -v "==>" | sed '/^$/d' | sed 's/\r//' | tail -25
+			tail "${gamelogdir}"/* 2> /dev/null | grep -av "==>" | sed '/^$/d' | sed 's/\r//' | tail -25
 		fi
 		echo -e ""
 	fi

+ 1 - 1
lgsm/modules/update_fctr.sh

@@ -93,6 +93,7 @@ fn_update_compare() {
 		fn_script_log_info "${localbuild} > ${remotebuildversion}"
 
 		if [ "${commandname}" == "UPDATE" ]; then
+			date +%s > "${lockdir}/last-updated.lock"
 			unset updateonstart
 			check_status.sh
 			# If server stopped.
@@ -120,7 +121,6 @@ fn_update_compare() {
 				fn_firstcommand_reset
 			fi
 			unset exitbypass
-			date +%s > "${lockdir}/last-updated.lock"
 			alert="update"
 		elif [ "${commandname}" == "CHECK-UPDATE" ]; then
 			alert="check-update"

+ 1 - 1
lgsm/modules/update_mc.sh

@@ -105,6 +105,7 @@ fn_update_compare() {
 		fn_script_log_info "${localbuild} > ${remotebuildversion}"
 
 		if [ "${commandname}" == "UPDATE" ]; then
+			date +%s > "${lockdir}/last-updated.lock"
 			unset updateonstart
 			check_status.sh
 			# If server stopped.
@@ -132,7 +133,6 @@ fn_update_compare() {
 				fn_firstcommand_reset
 			fi
 			unset exitbypass
-			date +%s > "${lockdir}/last-updated.lock"
 			alert="update"
 		elif [ "${commandname}" == "CHECK-UPDATE" ]; then
 			alert="check-update"

+ 1 - 1
lgsm/modules/update_mcb.sh

@@ -111,6 +111,7 @@ fn_update_compare() {
 		fn_script_log_info "${localbuild} > ${remotebuildversion}"
 
 		if [ "${commandname}" == "UPDATE" ]; then
+			date +%s > "${lockdir}/last-updated.lock"
 			unset updateonstart
 			check_status.sh
 			# If server stopped.
@@ -138,7 +139,6 @@ fn_update_compare() {
 				fn_firstcommand_reset
 			fi
 			unset exitbypass
-			date +%s > "${lockdir}/last-updated.lock"
 			alert="update"
 		elif [ "${commandname}" == "CHECK-UPDATE" ]; then
 			alert="check-update"

+ 1 - 1
lgsm/modules/update_pmc.sh

@@ -115,6 +115,7 @@ fn_update_compare() {
 		fn_script_log_info "${localbuild} > ${remotebuildversion}"
 
 		if [ "${commandname}" == "UPDATE" ]; then
+			date +%s > "${lockdir}/last-updated.lock"
 			unset updateonstart
 			check_status.sh
 			# If server stopped.
@@ -142,7 +143,6 @@ fn_update_compare() {
 				fn_firstcommand_reset
 			fi
 			unset exitbypass
-			date +%s > "${lockdir}/last-updated.lock"
 			alert="update"
 		elif [ "${commandname}" == "CHECK-UPDATE" ]; then
 			alert="check-update"

+ 1 - 1
lgsm/modules/update_ts3.sh

@@ -97,6 +97,7 @@ fn_update_compare() {
 		fn_script_log_info "${localbuild} > ${remotebuildversion}"
 
 		if [ "${commandname}" == "UPDATE" ]; then
+			date +%s > "${lockdir}/last-updated.lock"
 			unset updateonstart
 			check_status.sh
 			# If server stopped.
@@ -124,7 +125,6 @@ fn_update_compare() {
 				fn_firstcommand_reset
 			fi
 			unset exitbypass
-			date +%s > "${lockdir}/last-updated.lock"
 			alert="update"
 		elif [ "${commandname}" == "CHECK-UPDATE" ]; then
 			alert="check-update"

+ 1 - 1
lgsm/modules/update_ut99.sh

@@ -91,6 +91,7 @@ fn_update_compare() {
 		fn_script_log_info "${localbuild} > ${remotebuildversion}"
 
 		if [ "${commandname}" == "UPDATE" ]; then
+			date +%s > "${lockdir}/last-updated.lock"
 			unset updateonstart
 			check_status.sh
 			# If server stopped.
@@ -118,7 +119,6 @@ fn_update_compare() {
 				fn_firstcommand_reset
 			fi
 			unset exitbypass
-			date +%s > "${lockdir}/last-updated.lock"
 			alert="update"
 		elif [ "${commandname}" == "CHECK-UPDATE" ]; then
 			alert="check-update"

+ 1 - 1
lgsm/modules/update_vints.sh

@@ -98,6 +98,7 @@ fn_update_compare() {
 		fn_script_log_info "${localbuild} > ${remotebuildversion}"
 
 		if [ "${commandname}" == "UPDATE" ]; then
+			date +%s > "${lockdir}/last-updated.lock"
 			unset updateonstart
 			check_status.sh
 			# If server stopped.
@@ -125,7 +126,6 @@ fn_update_compare() {
 				fn_firstcommand_reset
 			fi
 			unset exitbypass
-			date +%s > "${lockdir}/last-updated.lock"
 			alert="update"
 		elif [ "${commandname}" == "CHECK-UPDATE" ]; then
 			alert="check-update"

+ 2 - 2
linuxgsm.sh

@@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="v23.4.0"
+version="v23.5.3"
 shortname="core"
 gameservername="core"
 commandname="CORE"
@@ -33,7 +33,7 @@ steamcmddir="${HOME}/.steam/steamcmd"
 [ -n "${LGSM_SERVERFILES}" ] && serverfiles="${LGSM_SERVERFILES}" || serverfiles="${rootdir}/serverfiles"
 modulesdir="${lgsmdir}/modules"
 tmpdir="${lgsmdir}/tmp"
-datadir="${lgsmdir}/data"
+[ -n "${LGSM_DATADIR}" ] && datadir="${LGSM_DATADIR}" || datadir="${lgsmdir}/data"
 lockdir="${lgsmdir}/lock"
 sessionname="${selfname}"
 [ -f "${datadir}/${selfname}.uid" ] && socketname="${sessionname}-$(cat "${datadir}/${selfname}.uid")"

+ 1 - 1
tests/tests_fctrserver.sh

@@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="v23.4.0"
+version="v23.5.3"
 shortname="fctr"
 gameservername="fctrserver"
 commandname="CORE"

+ 1 - 1
tests/tests_jc2server.sh

@@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="v23.4.0"
+version="v23.5.3"
 shortname="jc2"
 gameservername="jc2server"
 commandname="CORE"

+ 1 - 1
tests/tests_mcserver.sh

@@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="v23.4.0"
+version="v23.5.3"
 shortname="mc"
 gameservername="mcserver"
 commandname="CORE"

+ 1 - 1
tests/tests_ts3server.sh

@@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="v23.4.0"
+version="v23.5.3"
 shortname="ts3"
 gameservername="ts3server"
 commandname="CORE"