diff --git a/lgsm/config-default/config-lgsm/ahl2server/_default.cfg b/lgsm/config-default/config-lgsm/ahl2server/_default.cfg index 4536de702..02dd1657a 100644 --- a/lgsm/config-default/config-lgsm/ahl2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ahl2server/_default.cfg @@ -154,9 +154,10 @@ glibc="2.15" systemdir="${serverfiles}/ahl2" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/ahlserver/_default.cfg b/lgsm/config-default/config-lgsm/ahlserver/_default.cfg index 89de05540..4e3039209 100644 --- a/lgsm/config-default/config-lgsm/ahlserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ahlserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.3.4" systemdir="${serverfiles}/action" executabledir="${serverfiles}" executable="./hlds_run" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/arkserver/_default.cfg b/lgsm/config-default/config-lgsm/arkserver/_default.cfg index e0111e3c5..0fd7a0c52 100644 --- a/lgsm/config-default/config-lgsm/arkserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/arkserver/_default.cfg @@ -151,9 +151,10 @@ glibc="2.15" systemdir="${serverfiles}/ShooterGame" executabledir="${systemdir}/Binaries/Linux" executable="./ShooterGameServer" -servercfg="GameUserSettings.ini" -servercfgdefault="GameUserSettings.ini" servercfgdir="${systemdir}/Saved/Config/LinuxServer" +servercfg="GameUserSettngs.ini" +servercfgdefault="GameUserSettings.ini" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/arma3server/_default.cfg b/lgsm/config-default/config-lgsm/arma3server/_default.cfg index f557eead3..f56fdac89 100644 --- a/lgsm/config-default/config-lgsm/arma3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/arma3server/_default.cfg @@ -165,12 +165,14 @@ glibc="2.13" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="./arma3server" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.server.cfg" -networkcfg="${selfname}.network.cfg" servercfgdefault="server.cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" +networkcfgdir="${systemdir}/cfg" +networkcfg="${selfname}.network.cfg" networkcfgdefault="network.cfg" -servercfgdir="${systemdir}/cfg" -networkcfgfullpath="${servercfgdir}/${networkcfg}" +networkcfgfullpath="${networkcfgdir}/${networkcfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/bb2server/_default.cfg b/lgsm/config-default/config-lgsm/bb2server/_default.cfg index 39a901c06..a1a9ae350 100644 --- a/lgsm/config-default/config-lgsm/bb2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/bb2server/_default.cfg @@ -155,9 +155,10 @@ glibc="2.17" systemdir="${serverfiles}/brainbread2" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/bbserver/_default.cfg b/lgsm/config-default/config-lgsm/bbserver/_default.cfg index 9327a352e..75da97662 100644 --- a/lgsm/config-default/config-lgsm/bbserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/bbserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.3.4" systemdir="${serverfiles}/brainbread" executabledir="${serverfiles}" executable="./hlds_run" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/bdserver/_default.cfg b/lgsm/config-default/config-lgsm/bdserver/_default.cfg index d880d0509..77c169e6a 100644 --- a/lgsm/config-default/config-lgsm/bdserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/bdserver/_default.cfg @@ -149,9 +149,10 @@ glibc="2.14" systemdir="${serverfiles}/bdef" executabledir="${serverfiles}" executable="./hlds_run" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/bf1942server/_default.cfg b/lgsm/config-default/config-lgsm/bf1942server/_default.cfg index f74433d8c..b6e508e01 100644 --- a/lgsm/config-default/config-lgsm/bf1942server/_default.cfg +++ b/lgsm/config-default/config-lgsm/bf1942server/_default.cfg @@ -134,9 +134,10 @@ glibc="2.0" systemdir="${serverfiles}" executabledir="${systemdir}" executable="./start.sh" +servercfgdir="${systemdir}/mods/bf1942/settings" servercfg="serversettings.con" servercfgdefault="serversettings.con" -servercfgdir="${systemdir}/mods/bf1942/settings" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg b/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg index 296c5ccf2..b92257fff 100644 --- a/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg @@ -155,9 +155,10 @@ glibc="2.15" systemdir="${serverfiles}/bms" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/boserver/_default.cfg b/lgsm/config-default/config-lgsm/boserver/_default.cfg index 8d8a1ec87..73015c2d6 100644 --- a/lgsm/config-default/config-lgsm/boserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/boserver/_default.cfg @@ -148,9 +148,10 @@ glibc="2.15" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="./BODS.x86" +servercfgdir="${systemdir}" servercfg="${selfname}.txt" servercfgdefault="config.txt" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/bsserver/_default.cfg b/lgsm/config-default/config-lgsm/bsserver/_default.cfg index 31c735009..612e4cb2b 100644 --- a/lgsm/config-default/config-lgsm/bsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/bsserver/_default.cfg @@ -159,9 +159,10 @@ glibc="2.15" systemdir="${serverfiles}/berimbau" executabledir="${serverfiles}/bin" executable="./srcds_run.sh" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/bt1944server/_default.cfg b/lgsm/config-default/config-lgsm/bt1944server/_default.cfg index 4f59bb38c..2ca021b27 100644 --- a/lgsm/config-default/config-lgsm/bt1944server/_default.cfg +++ b/lgsm/config-default/config-lgsm/bt1944server/_default.cfg @@ -147,10 +147,10 @@ glibc="2.17" systemdir="${serverfiles}/Linux/Battalion" executabledir="${systemdir}/Binaries/Linux" executable="./BattalionServer" +servercfgdir="${systemdir}/Saved/Config/LinuxServer" servercfg="${selfname}.ini" servercfgdefault="DefaultGame.ini" -servercfgdir="${systemdir}/Saved/Config/LinuxServer" - +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/btserver/_default.cfg b/lgsm/config-default/config-lgsm/btserver/_default.cfg index 5e2115d74..45d54833a 100644 --- a/lgsm/config-default/config-lgsm/btserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/btserver/_default.cfg @@ -142,9 +142,10 @@ glibc="2.17" systemdir="${serverfiles}" executabledir="${systemdir}" executable="./DedicatedServer.exe" +servercfgdir="${systemdir}" servercfg="serversettings.xml" servercfgdefault="serversettings.xml" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/ccserver/_default.cfg b/lgsm/config-default/config-lgsm/ccserver/_default.cfg index 757361eb5..2913a289d 100644 --- a/lgsm/config-default/config-lgsm/ccserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ccserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.15" systemdir="${serverfiles}/cure" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/cod2server/_default.cfg b/lgsm/config-default/config-lgsm/cod2server/_default.cfg index 8184bd7eb..6c8a31c71 100644 --- a/lgsm/config-default/config-lgsm/cod2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/cod2server/_default.cfg @@ -137,9 +137,10 @@ glibc="2.1.3" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="./cod2_lnxded" +servercfgdir="${systemdir}/main" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/main" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/cod4server/_default.cfg b/lgsm/config-default/config-lgsm/cod4server/_default.cfg index 8d4ae0c60..f319c7ae9 100644 --- a/lgsm/config-default/config-lgsm/cod4server/_default.cfg +++ b/lgsm/config-default/config-lgsm/cod4server/_default.cfg @@ -137,9 +137,10 @@ glibc="2.12" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="./cod4x18_dedrun" +servercfgdir="${systemdir}/main" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/main" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/codserver/_default.cfg b/lgsm/config-default/config-lgsm/codserver/_default.cfg index 90319da8e..14c2ea889 100644 --- a/lgsm/config-default/config-lgsm/codserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/codserver/_default.cfg @@ -137,9 +137,10 @@ glibc="2.1" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="./cod_lnxded" +servercfgdir="${systemdir}/main" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/main" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/coduoserver/_default.cfg b/lgsm/config-default/config-lgsm/coduoserver/_default.cfg index 154c3eaa7..9eb271d27 100644 --- a/lgsm/config-default/config-lgsm/coduoserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/coduoserver/_default.cfg @@ -137,9 +137,10 @@ glibc="2.1" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="./coduo_lnxded" +servercfgdir="${systemdir}/uo" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/uo" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/codwawserver/_default.cfg b/lgsm/config-default/config-lgsm/codwawserver/_default.cfg index 805c7d77b..14799814f 100644 --- a/lgsm/config-default/config-lgsm/codwawserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/codwawserver/_default.cfg @@ -137,9 +137,10 @@ glibc="2.3.2" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="./codwaw_lnxded" +servercfgdir="${systemdir}/main" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/main" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/csczserver/_default.cfg b/lgsm/config-default/config-lgsm/csczserver/_default.cfg index d7b855f95..0fd33cd68 100644 --- a/lgsm/config-default/config-lgsm/csczserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/csczserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.3.6" systemdir="${serverfiles}/czero" executabledir="${serverfiles}" executable="./hlds_run" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/csgoserver/_default.cfg b/lgsm/config-default/config-lgsm/csgoserver/_default.cfg index a0d31cb74..0cabcd249 100644 --- a/lgsm/config-default/config-lgsm/csgoserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/csgoserver/_default.cfg @@ -175,9 +175,10 @@ glibc="2.15" systemdir="${serverfiles}/csgo" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/csserver/_default.cfg b/lgsm/config-default/config-lgsm/csserver/_default.cfg index cbc140c8a..36f0d955a 100644 --- a/lgsm/config-default/config-lgsm/csserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/csserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.3.6" systemdir="${serverfiles}/cstrike" executabledir="${serverfiles}" executable="./hlds_run" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/cssserver/_default.cfg b/lgsm/config-default/config-lgsm/cssserver/_default.cfg index e5fc863c7..586b6dc18 100644 --- a/lgsm/config-default/config-lgsm/cssserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/cssserver/_default.cfg @@ -155,9 +155,10 @@ glibc="2.3.6" systemdir="${serverfiles}/cstrike" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/dabserver/_default.cfg b/lgsm/config-default/config-lgsm/dabserver/_default.cfg index 76d946aee..f03645b95 100644 --- a/lgsm/config-default/config-lgsm/dabserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dabserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.15" systemdir="${serverfiles}/dab" executabledir="${serverfiles}" executable="./dabds.sh" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/dmcserver/_default.cfg b/lgsm/config-default/config-lgsm/dmcserver/_default.cfg index 23d322095..3af9ee7d7 100644 --- a/lgsm/config-default/config-lgsm/dmcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dmcserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.3.4" systemdir="${serverfiles}/dmc" executabledir="${serverfiles}" executable="./hlds_run" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/dodserver/_default.cfg b/lgsm/config-default/config-lgsm/dodserver/_default.cfg index f20658753..79df74acb 100644 --- a/lgsm/config-default/config-lgsm/dodserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dodserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.3.4" systemdir="${serverfiles}/dod" executabledir="${serverfiles}" executable="./hlds_run" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/dodsserver/_default.cfg b/lgsm/config-default/config-lgsm/dodsserver/_default.cfg index 351eb76ec..7ec70a81d 100644 --- a/lgsm/config-default/config-lgsm/dodsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dodsserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.3.6" systemdir="${serverfiles}/dod" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/doiserver/_default.cfg b/lgsm/config-default/config-lgsm/doiserver/_default.cfg index ae0932f78..c31bea09f 100644 --- a/lgsm/config-default/config-lgsm/doiserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/doiserver/_default.cfg @@ -151,9 +151,10 @@ glibc="2.15" systemdir="${serverfiles}/doi" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/dstserver/_default.cfg b/lgsm/config-default/config-lgsm/dstserver/_default.cfg index 6b96bc7ed..2e9439d06 100644 --- a/lgsm/config-default/config-lgsm/dstserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dstserver/_default.cfg @@ -153,13 +153,14 @@ glibc="2.15" systemdir="${serverfiles}" executabledir="${serverfiles}/bin" executable="./dontstarve_dedicated_server_nullrenderer" -servercfg="server.ini" servercfgdir="${clustercfgdir}/${shard}" +servercfg="server.ini" servercfgdefault="server.ini" -clustercfg="cluster.ini" +servercfgfullpath="${servercfgdir}/${servercfg}" clustercfgdir="${persistentstorageroot}/${confdir}/${cluster}" -clustercfgfullpath="${clustercfgdir}/${clustercfg}" +clustercfg="cluster.ini" clustercfgdefault="cluster.ini" +clustercfgfullpath="${clustercfgdir}/${clustercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/dysserver/_default.cfg b/lgsm/config-default/config-lgsm/dysserver/_default.cfg index 2ff9654f8..51c9db8cf 100644 --- a/lgsm/config-default/config-lgsm/dysserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dysserver/_default.cfg @@ -155,9 +155,10 @@ glibc="2.15" systemdir="${serverfiles}/dystopia" executabledir="${serverfiles}/bin" executable="./srcds_run.sh" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/ecoserver/_default.cfg b/lgsm/config-default/config-lgsm/ecoserver/_default.cfg index 5478d3733..1286860fc 100644 --- a/lgsm/config-default/config-lgsm/ecoserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ecoserver/_default.cfg @@ -142,9 +142,10 @@ glibc="null" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="mono ./EcoServer.exe" +servercfgdir="${systemdir}/Configs" servercfg="Network.eco" servercfgdefault="Network.eco" -servercfgdir="${systemdir}/Configs" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/emserver/_default.cfg b/lgsm/config-default/config-lgsm/emserver/_default.cfg index 62d8b6eba..4d6fc1824 100644 --- a/lgsm/config-default/config-lgsm/emserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/emserver/_default.cfg @@ -155,9 +155,10 @@ glibc="2.15" systemdir="${serverfiles}/empires" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/etlserver/_default.cfg b/lgsm/config-default/config-lgsm/etlserver/_default.cfg index 4d98e2f87..ffc85e4b9 100644 --- a/lgsm/config-default/config-lgsm/etlserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/etlserver/_default.cfg @@ -131,9 +131,10 @@ glibc="2.7" systemdir="${serverfiles}" executabledir="${systemdir}" executable="./etlded" +servercfgdir="${systemdir}/etmain" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/etmain" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/fctrserver/_default.cfg b/lgsm/config-default/config-lgsm/fctrserver/_default.cfg index 42e8fb77a..711194a84 100644 --- a/lgsm/config-default/config-lgsm/fctrserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/fctrserver/_default.cfg @@ -142,9 +142,10 @@ glibc="2.18" systemdir="${serverfiles}" executabledir="${serverfiles}/bin/x64" executable="./factorio" +servercfgdir="${systemdir}/data" servercfg="${selfname}.json" servercfgdefault="server-settings.json" -servercfgdir="${serverfiles}/data" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/fofserver/_default.cfg b/lgsm/config-default/config-lgsm/fofserver/_default.cfg index c7db4f875..0946a0eac 100644 --- a/lgsm/config-default/config-lgsm/fofserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/fofserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.15" systemdir="${serverfiles}/fof" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/gesserver/_default.cfg b/lgsm/config-default/config-lgsm/gesserver/_default.cfg index aa318ba44..d47983a79 100644 --- a/lgsm/config-default/config-lgsm/gesserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/gesserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.15" systemdir="${serverfiles}/gesource" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/gmodserver/_default.cfg b/lgsm/config-default/config-lgsm/gmodserver/_default.cfg index 25624c1f2..66202641c 100644 --- a/lgsm/config-default/config-lgsm/gmodserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/gmodserver/_default.cfg @@ -167,9 +167,10 @@ systemdir="${serverfiles}/garrysmod" addonsdir="${systemdir}/addons" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg b/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg index 5d5f7dd5f..a67d26a96 100644 --- a/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.3.6" systemdir="${serverfiles}/hl2mp" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/hldmserver/_default.cfg b/lgsm/config-default/config-lgsm/hldmserver/_default.cfg index 7eb45b573..2e15cea7e 100644 --- a/lgsm/config-default/config-lgsm/hldmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hldmserver/_default.cfg @@ -149,9 +149,10 @@ glibc="2.3.4" systemdir="${serverfiles}/valve" executabledir="${serverfiles}" executable="./hlds_run" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg b/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg index 82bd1e113..e6d3b0a2a 100644 --- a/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.3.6" systemdir="${serverfiles}/hl1mp" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/insserver/_default.cfg b/lgsm/config-default/config-lgsm/insserver/_default.cfg index 7b0d2d5bb..9fea80b0d 100644 --- a/lgsm/config-default/config-lgsm/insserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/insserver/_default.cfg @@ -156,9 +156,10 @@ glibc="2.15" systemdir="${serverfiles}/insurgency" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/inssserver/_default.cfg b/lgsm/config-default/config-lgsm/inssserver/_default.cfg index 7c715c54d..04becc752 100644 --- a/lgsm/config-default/config-lgsm/inssserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/inssserver/_default.cfg @@ -157,9 +157,10 @@ glibc="2.17" systemdir="${serverfiles}/Insurgency" executabledir="${systemdir}/Binaries/Linux" executable="./InsurgencyServer-Linux-Shipping" +servercfgdir="${systemdir}/Saved/Config/LinuxServer" servercfg="Game.ini" servercfgdefault="Game.ini" -servercfgdir="${systemdir}/Saved/Config/LinuxServer" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/iosserver/_default.cfg b/lgsm/config-default/config-lgsm/iosserver/_default.cfg index ee32b013c..bb53acf48 100644 --- a/lgsm/config-default/config-lgsm/iosserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/iosserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.3.6" systemdir="${serverfiles}/iosoccer" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/jc2server/_default.cfg b/lgsm/config-default/config-lgsm/jc2server/_default.cfg index 5f0731f1e..822e860c5 100644 --- a/lgsm/config-default/config-lgsm/jc2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/jc2server/_default.cfg @@ -142,9 +142,10 @@ glibc="2.13" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="./Jcmp-Server" +servercfgdir="${systemdir}" servercfg="config.lua" servercfgdefault="config.lua" -servercfgdir="${serverfiles}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/jc3server/_default.cfg b/lgsm/config-default/config-lgsm/jc3server/_default.cfg index 301453803..dbe9d4616 100644 --- a/lgsm/config-default/config-lgsm/jc3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/jc3server/_default.cfg @@ -142,9 +142,10 @@ glibc="2.17" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="./Server" +servercfgdir="${systemdir}" servercfg="config.json" servercfgdefault="config.json" -servercfgdir="${serverfiles}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/kf2server/_default.cfg b/lgsm/config-default/config-lgsm/kf2server/_default.cfg index 5f69d4841..6e31023be 100644 --- a/lgsm/config-default/config-lgsm/kf2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/kf2server/_default.cfg @@ -150,6 +150,7 @@ executable="./KFGameSteamServer.bin.x86_64" servercfgdir="${systemdir}/KFGame/Config/${selfname}" servercfg="LinuxServer-KFGame.ini" servercfgdefault="LinuxServer-KFGame.ini" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/kfserver/_default.cfg b/lgsm/config-default/config-lgsm/kfserver/_default.cfg index 4511427fb..df07967d7 100644 --- a/lgsm/config-default/config-lgsm/kfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/kfserver/_default.cfg @@ -155,9 +155,10 @@ serverfiles="${rootdir}/serverfiles" systemdir="${serverfiles}/System" executabledir="${systemdir}" executable="./ucc-bin" +servercfgdir="${systemdir}" servercfg="${selfname}.ini" servercfgdefault="Default.ini" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" compressedmapsdir="${rootdir}/Maps-Compressed" ## Backup Directory diff --git a/lgsm/config-default/config-lgsm/l4d2server/_default.cfg b/lgsm/config-default/config-lgsm/l4d2server/_default.cfg index e02987024..c2dd765c2 100644 --- a/lgsm/config-default/config-lgsm/l4d2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/l4d2server/_default.cfg @@ -149,9 +149,10 @@ glibc="2.3.6" systemdir="${serverfiles}/left4dead2" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/l4dserver/_default.cfg b/lgsm/config-default/config-lgsm/l4dserver/_default.cfg index dbfd0fd47..c40a1199f 100644 --- a/lgsm/config-default/config-lgsm/l4dserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/l4dserver/_default.cfg @@ -149,9 +149,10 @@ glibc="2.3.6" systemdir="${serverfiles}/left4dead" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="server.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/mcbserver/_default.cfg b/lgsm/config-default/config-lgsm/mcbserver/_default.cfg index 26d25edf3..1a600d821 100644 --- a/lgsm/config-default/config-lgsm/mcbserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mcbserver/_default.cfg @@ -134,9 +134,9 @@ glibc="2.27" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="${serverfiles}/bedrock_server" +servercfgdir="${systemdir}" servercfg="server.properties" servercfgdefault="server.properties" -servercfgdir="${serverfiles}" servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory diff --git a/lgsm/config-default/config-lgsm/mcserver/_default.cfg b/lgsm/config-default/config-lgsm/mcserver/_default.cfg index 976d6e79b..2bfcb3d1d 100644 --- a/lgsm/config-default/config-lgsm/mcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mcserver/_default.cfg @@ -140,9 +140,10 @@ glibc="null" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="java -Xmx${javaram}M -jar ${serverfiles}/minecraft_server.jar" +servercfgdir="${systemdir}" servercfg="server.properties" servercfgdefault="server.properties" -servercfgdir="${serverfiles}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/mhserver/_default.cfg b/lgsm/config-default/config-lgsm/mhserver/_default.cfg index 9131331fe..6a9b9a82e 100644 --- a/lgsm/config-default/config-lgsm/mhserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mhserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.17" systemdir="${serverfiles}/Mordhau" executabledir="${systemdir}/Binaries/Linux" executable="./MordhauServer-Linux-Shipping" +servercfgdir="${systemdir}/Saved/Config/LinuxServer" servercfg="Game.ini" servercfgdefault="Game.ini" -servercfgdir="${systemdir}/Saved/Config/LinuxServer" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/mohaaserver/_default.cfg b/lgsm/config-default/config-lgsm/mohaaserver/_default.cfg index 4bad82116..22d05c752 100644 --- a/lgsm/config-default/config-lgsm/mohaaserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mohaaserver/_default.cfg @@ -136,9 +136,10 @@ glibc="2.3" systemdir="${serverfiles}/main" executabledir="${serverfiles}" executable="./mohaa_lnxded" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${serverfiles}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/mtaserver/_default.cfg b/lgsm/config-default/config-lgsm/mtaserver/_default.cfg index 65c7f39fc..944f4ae57 100644 --- a/lgsm/config-default/config-lgsm/mtaserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mtaserver/_default.cfg @@ -136,8 +136,9 @@ systemdir="${serverfiles}" resourcesdir="${systemdir}/mods/deathmatch/resources" executabledir="${systemdir}" executable="./mta-server64" -servercfg="mtaserver.conf" servercfgdir="${systemdir}/mods/deathmatch" +servercfg="mtaserver.conf" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/mumbleserver/_default.cfg b/lgsm/config-default/config-lgsm/mumbleserver/_default.cfg index 56a146b1f..301318217 100644 --- a/lgsm/config-default/config-lgsm/mumbleserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mumbleserver/_default.cfg @@ -135,9 +135,10 @@ glibc="null" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="./murmur.x86" +servercfgdir="${systemdir}" servercfg="${selfname}.ini" servercfgdefault="murmur.ini" -servercfgdir="${serverfiles}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/ndserver/_default.cfg b/lgsm/config-default/config-lgsm/ndserver/_default.cfg index ee31aeffc..58092d361 100644 --- a/lgsm/config-default/config-lgsm/ndserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ndserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.3.6" systemdir="${serverfiles}/nucleardawn" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg b/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg index 88b7f7f3b..621962349 100644 --- a/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg @@ -155,9 +155,10 @@ glibc="2.15" systemdir="${serverfiles}/nmrih" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg b/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg index 45064800b..01b6bc9b2 100644 --- a/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg @@ -157,7 +157,7 @@ glibc="2.15" systemdir="${serverfiles}" executabledir="${serverfiles}/ia32" executable="./ns2combatserver_linux32" -servercfgdir="${serverfiles}/${selfname}" +servercfgdir="${systemdir}/${selfname}" modstoragedir="${servercfgdir}/Workshop" ## Backup Directory diff --git a/lgsm/config-default/config-lgsm/ns2server/_default.cfg b/lgsm/config-default/config-lgsm/ns2server/_default.cfg index 7996fba74..acd89375f 100644 --- a/lgsm/config-default/config-lgsm/ns2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ns2server/_default.cfg @@ -161,7 +161,7 @@ glibc="2.17" systemdir="${serverfiles}" executabledir="${serverfiles}/x64" executable="./server_linux" -servercfgdir="${serverfiles}/${selfname}" +servercfgdir="${systemdir}/${selfname}" modstoragedir="${servercfgdir}/Workshop" ## Backup Directory diff --git a/lgsm/config-default/config-lgsm/nsserver/_default.cfg b/lgsm/config-default/config-lgsm/nsserver/_default.cfg index e59b8f771..1f0ebcb49 100644 --- a/lgsm/config-default/config-lgsm/nsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/nsserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.3.4" systemdir="${serverfiles}/ns" executabledir="${serverfiles}" executable="./hlds_run" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/onsetserver/_default.cfg b/lgsm/config-default/config-lgsm/onsetserver/_default.cfg index 1d80cb85a..bf4576a6d 100644 --- a/lgsm/config-default/config-lgsm/onsetserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/onsetserver/_default.cfg @@ -142,9 +142,9 @@ glibc="2.24" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="./OnsetServer" +servercfgdir="${systemdir}" servercfg="server_config.json" servercfgdefault="server_config.json" -servercfgdir="${serverfiles}" servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory diff --git a/lgsm/config-default/config-lgsm/opforserver/_default.cfg b/lgsm/config-default/config-lgsm/opforserver/_default.cfg index 048d09c8d..87fb58d2f 100644 --- a/lgsm/config-default/config-lgsm/opforserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/opforserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.3.4" systemdir="${serverfiles}/gearbox" executabledir="${serverfiles}" executable="./hlds_run" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/pcserver/_default.cfg b/lgsm/config-default/config-lgsm/pcserver/_default.cfg index f1dc3d2f0..8cf6c09ca 100644 --- a/lgsm/config-default/config-lgsm/pcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pcserver/_default.cfg @@ -142,9 +142,10 @@ glibc="2.4" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="./DedicatedServerCmd" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/pstbsserver/_default.cfg b/lgsm/config-default/config-lgsm/pstbsserver/_default.cfg index 7b113335e..54cec9d8d 100644 --- a/lgsm/config-default/config-lgsm/pstbsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pstbsserver/_default.cfg @@ -151,9 +151,10 @@ glibc="2.17" systemdir="${serverfiles}/PostScriptum" executabledir="${serverfiles}" executable="./PostScriptumServer.sh" +servercfgdir="${systemdir}/ServerConfig" servercfg="Server.cfg" servercfgdefault="Server.cfg" -servercfgdir="${systemdir}/ServerConfig" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg b/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg index 17b88e13b..84e1bd897 100644 --- a/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.15" systemdir="${serverfiles}/pvkii" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/pzserver/_default.cfg b/lgsm/config-default/config-lgsm/pzserver/_default.cfg index c7abf6e2b..68300b0bc 100644 --- a/lgsm/config-default/config-lgsm/pzserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pzserver/_default.cfg @@ -12,6 +12,7 @@ ip="0.0.0.0" adminpassword="CHANGE_ME" +## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters fn_parms(){ parms="-ip ${ip} -adminpassword \"${adminpassword}\" -servername ${selfname}" } @@ -145,9 +146,10 @@ glibc="2.15" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="./start-server.sh" +servercfgdir="${HOME}/Zomboid/Server" servercfg="${selfname}.ini" servercfgdefault="server.ini" -servercfgdir="${HOME}/Zomboid/Server" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/q2server/_default.cfg b/lgsm/config-default/config-lgsm/q2server/_default.cfg index 7d65a83ac..1647eab1a 100644 --- a/lgsm/config-default/config-lgsm/q2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/q2server/_default.cfg @@ -136,9 +136,10 @@ glibc="null" systemdir="${serverfiles}/baseq2" executabledir="${serverfiles}" executable="./quake2" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/q3server/_default.cfg b/lgsm/config-default/config-lgsm/q3server/_default.cfg index a224a59d0..cd6634afb 100644 --- a/lgsm/config-default/config-lgsm/q3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/q3server/_default.cfg @@ -136,9 +136,10 @@ glibc="2.1" systemdir="${serverfiles}/baseq3" executabledir="${serverfiles}" executable="./q3ded" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/qlserver/_default.cfg b/lgsm/config-default/config-lgsm/qlserver/_default.cfg index c110cac07..89bcb26a3 100644 --- a/lgsm/config-default/config-lgsm/qlserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/qlserver/_default.cfg @@ -144,9 +144,10 @@ glibc="2.15" systemdir="${serverfiles}" executabledir="${serverfiles}" executable=$([ "$(uname -m)" == "x86_64" ] && echo -e "./run_server_x64.sh" || echo -e "./run_server_x86.sh") +servercfgdir="${systemdir}/baseq3" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${serverfiles}/baseq3" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/qwserver/_default.cfg b/lgsm/config-default/config-lgsm/qwserver/_default.cfg index 31a8afb63..0bd55debf 100644 --- a/lgsm/config-default/config-lgsm/qwserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/qwserver/_default.cfg @@ -135,9 +135,10 @@ glibc="2.17" systemdir="${serverfiles}/ktx" executabledir="${serverfiles}" executable="./mvdsv" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg b/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg index 2b5a3522c..787571afd 100644 --- a/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.3.4" systemdir="${serverfiles}/ricochet" executabledir="${serverfiles}" executable="./hlds_run" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/roserver/_default.cfg b/lgsm/config-default/config-lgsm/roserver/_default.cfg index 15f56c2e5..ab9c1625b 100644 --- a/lgsm/config-default/config-lgsm/roserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/roserver/_default.cfg @@ -150,10 +150,11 @@ glibc="2.4" serverfiles="${rootdir}/serverfiles" systemdir="${serverfiles}/system" executabledir="${systemdir}" -executable="./ucc-bin" +executable="./ucc-bin"servercfgdir="${systemdir}" +servercfgdir="${systemdir}" servercfg="${selfname}.ini" servercfgdefault="default.ini" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" compressedmapsdir="${rootdir}/Maps-Compressed" ## Backup Directory diff --git a/lgsm/config-default/config-lgsm/rtcwserver/_default.cfg b/lgsm/config-default/config-lgsm/rtcwserver/_default.cfg index f16d5c89e..792c1a7f8 100644 --- a/lgsm/config-default/config-lgsm/rtcwserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/rtcwserver/_default.cfg @@ -136,9 +136,10 @@ glibc="2.1" systemdir="${serverfiles}/main" executabledir="${serverfiles}" executable="./iowolfded.x86_64" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/rustserver/_default.cfg b/lgsm/config-default/config-lgsm/rustserver/_default.cfg index 7171bcc2d..abb9c79df 100644 --- a/lgsm/config-default/config-lgsm/rustserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/rustserver/_default.cfg @@ -175,9 +175,10 @@ systemdir="${serverfiles}" executabledir="${serverfiles}" executable="./RustDedicated" serveridentitydir="${systemdir}/server/${selfname}" +servercfgdir="${serveridentitydir}/cfg" servercfg="server.cfg" servercfgdefault="server.cfg" -servercfgdir="${serveridentitydir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/rwserver/_default.cfg b/lgsm/config-default/config-lgsm/rwserver/_default.cfg index 17f06b7be..37e755c29 100644 --- a/lgsm/config-default/config-lgsm/rwserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/rwserver/_default.cfg @@ -145,9 +145,10 @@ glibc="null" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="java -Xmx${javaram}m -jar ${serverfiles}/server.jar" +servercfgdir="${systemdir}" servercfg="server.properties" servercfgdefault="server.properties" -servercfgdir="${serverfiles}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/sampserver/_default.cfg b/lgsm/config-default/config-lgsm/sampserver/_default.cfg index 4b2d7bf9b..a658daa0c 100644 --- a/lgsm/config-default/config-lgsm/sampserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sampserver/_default.cfg @@ -135,9 +135,10 @@ glibc="2.3" systemdir="${serverfiles}" executabledir="${systemdir}/samp03" executable="./samp03svr" +servercfgdir="${systemdir}/samp03" servercfg="server.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/samp03" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/sbotsserver/_default.cfg b/lgsm/config-default/config-lgsm/sbotsserver/_default.cfg index 507cb8db6..6fb2b3579 100644 --- a/lgsm/config-default/config-lgsm/sbotsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sbotsserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.17" systemdir="${serverfiles}" executabledir="${systemdir}/blank1/Binaries/Linux" executable="./blank1Server-Linux-Shipping" +servercfgdir="${systemdir}/blank1/Saved/Config/LinuxServer" servercfg="Game.ini" servercfgdefault="Game.ini" -servercfgdir="${systemdir}/blank1/Saved/Config/LinuxServer" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/sbserver/_default.cfg b/lgsm/config-default/config-lgsm/sbserver/_default.cfg index 25e368531..fa9560f6c 100644 --- a/lgsm/config-default/config-lgsm/sbserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sbserver/_default.cfg @@ -148,9 +148,10 @@ glibc="2.17" systemdir="${serverfiles}" executabledir="${serverfiles}/linux" executable="./starbound_server" +servercfgdir="${systemdir}/storage" servercfg="starbound_server.config" servercfgdefault="starbound_server.config" -servercfgdir="${serverfiles}/storage" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg b/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg index a82a1884b..a67e5795d 100644 --- a/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg @@ -145,10 +145,11 @@ glibc="2.15" systemdir="${serverfiles}" executabledir="${serverfiles}" executable=$([ "$(uname -m)" == "x86_64" ] && echo -e "./7DaysToDieServer.x86_64" || echo -e "./7DaysToDieServer.x86") +servercfgdir="${systemdir}" servercfg="${selfname}.xml" -servercfgdefault="serverconfig.xml" -servercfgdir="${serverfiles}" servercfgdirdefault="${serverfiles}" +servercfgdefault="serverconfig.xml" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/sfcserver/_default.cfg b/lgsm/config-default/config-lgsm/sfcserver/_default.cfg index 87ceb5ac8..f9d6ad595 100644 --- a/lgsm/config-default/config-lgsm/sfcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sfcserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.15" systemdir="${serverfiles}/sfclassic" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/sof2server/_default.cfg b/lgsm/config-default/config-lgsm/sof2server/_default.cfg index 4ed79bd37..bd8110274 100644 --- a/lgsm/config-default/config-lgsm/sof2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/sof2server/_default.cfg @@ -136,9 +136,10 @@ glibc="2.1" systemdir="${serverfiles}/main" executabledir="${serverfiles}" executable="./sof2ded" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/solserver/_default.cfg b/lgsm/config-default/config-lgsm/solserver/_default.cfg index 908165bb9..2a923d554 100644 --- a/lgsm/config-default/config-lgsm/solserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/solserver/_default.cfg @@ -140,6 +140,7 @@ executable="./soldatserver" servercfgdir="${systemdir}" servercfg="soldat.ini" servercfgdefault="soldat.ini" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/squadserver/_default.cfg b/lgsm/config-default/config-lgsm/squadserver/_default.cfg index 1ef3b6194..f75bd2667 100644 --- a/lgsm/config-default/config-lgsm/squadserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/squadserver/_default.cfg @@ -147,9 +147,10 @@ glibc="2.17" systemdir="${serverfiles}/Squad" executabledir="${serverfiles}" executable="./SquadGameServer.sh" +servercfgdir="${systemdir}/ServerConfig" servercfg="${selfname}.cfg" servercfgdefault="Server.cfg" -servercfgdir="${systemdir}/ServerConfig" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/ss3server/_default.cfg b/lgsm/config-default/config-lgsm/ss3server/_default.cfg index 11d32ea60..f5ab99168 100644 --- a/lgsm/config-default/config-lgsm/ss3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ss3server/_default.cfg @@ -146,9 +146,10 @@ glibc="2.13" systemdir="${serverfiles}/Bin" executabledir="${systemdir}" executable="./runSam3_DedicatedServer.sh" +servercfgdir="${serverfiles}/Content/SeriousSam3/Config" servercfg="${selfname}.ini" servercfgdefault="server.ini" -servercfgdir="${serverfiles}/Content/SeriousSam3/Config" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/stserver/_default.cfg b/lgsm/config-default/config-lgsm/stserver/_default.cfg index 35d399bcd..60fb0ebfa 100644 --- a/lgsm/config-default/config-lgsm/stserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/stserver/_default.cfg @@ -152,9 +152,10 @@ glibc="2.15" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="./rocketstation_DedicatedServer.x86_64" +servercfgdir="${systemdir}" servercfg="default.ini" servercfgdefault="default.ini" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/svenserver/_default.cfg b/lgsm/config-default/config-lgsm/svenserver/_default.cfg index efff4bf99..3036470b7 100644 --- a/lgsm/config-default/config-lgsm/svenserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/svenserver/_default.cfg @@ -149,9 +149,10 @@ glibc="2.24" systemdir="${serverfiles}/svencoop" executabledir="${serverfiles}" executable="./svends_run" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg b/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg index b7525e35e..574e18345 100644 --- a/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg @@ -149,9 +149,10 @@ glibc="2.7" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="./TerrariaServer" +servercfgdir="${systemdir}" servercfg="${selfname}.txt" servercfgdefault="serverconfig.txt" -servercfgdir="${serverfiles}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/tf2server/_default.cfg b/lgsm/config-default/config-lgsm/tf2server/_default.cfg index 4eecf94c5..5655d9c9e 100644 --- a/lgsm/config-default/config-lgsm/tf2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/tf2server/_default.cfg @@ -155,9 +155,10 @@ glibc="2.15" systemdir="${serverfiles}/tf" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/tfcserver/_default.cfg b/lgsm/config-default/config-lgsm/tfcserver/_default.cfg index f7d01e2e2..e9158641b 100644 --- a/lgsm/config-default/config-lgsm/tfcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tfcserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.3.4" systemdir="${serverfiles}/tfc" executabledir="${serverfiles}" executable="./hlds_run" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/ts3server/_default.cfg b/lgsm/config-default/config-lgsm/ts3server/_default.cfg index f1a682f66..54fd8ac0e 100644 --- a/lgsm/config-default/config-lgsm/ts3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ts3server/_default.cfg @@ -6,7 +6,7 @@ # common.cfg - applies settings to every instance. # [instance].cfg - applies settings to a specific instance. -#### Server Settings #### +#### Game Server Settings #### ## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters # Edit serverfiles/ts3server.ini after installation @@ -138,9 +138,10 @@ glibc="2.17" systemdir="${serverfiles}" executabledir="${serverfiles}" executable="./ts3server" +servercfgdir="${systemdir}" servercfg="${selfname}.ini" servercfgdefault="ts3server.ini" -servercfgdir="${serverfiles}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/tsserver/_default.cfg b/lgsm/config-default/config-lgsm/tsserver/_default.cfg index b3a53d960..232087699 100644 --- a/lgsm/config-default/config-lgsm/tsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tsserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.3.4" systemdir="${serverfiles}/ts" executabledir="${serverfiles}" executable="./hlds_run" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/tuserver/_default.cfg b/lgsm/config-default/config-lgsm/tuserver/_default.cfg index 904e483fa..36521c885 100644 --- a/lgsm/config-default/config-lgsm/tuserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tuserver/_default.cfg @@ -152,11 +152,10 @@ glibc="2.17" systemdir="${serverfiles}/Tower" executabledir="${systemdir}/Binaries/Linux" executable="./TowerServer-Linux-Shipping" -servercfg="${selfname}.ini" -servercfgdefault="TowerServer.ini" servercfgdir="${systemdir}/Binaries/Linux" -servercfg="${servicename}.ini" +servercfg="${selfname}.ini" servercfgdefault="TowerServer.ini" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/twserver/_default.cfg b/lgsm/config-default/config-lgsm/twserver/_default.cfg index e0720b72d..4762f3fdc 100644 --- a/lgsm/config-default/config-lgsm/twserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/twserver/_default.cfg @@ -149,9 +149,10 @@ glibc="2.14" systemdir="${serverfiles}/tw" executabledir="${systemdir}" executable="./teeworlds_srv" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" # Teeworlds can also auto load any config if an autoexec.cfg file is present in the server dir servercfgdefault="server.cfg" -servercfgdir="${serverfiles}/tw" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/untserver/_default.cfg b/lgsm/config-default/config-lgsm/untserver/_default.cfg index 78b80f8e1..713ccb7d2 100644 --- a/lgsm/config-default/config-lgsm/untserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/untserver/_default.cfg @@ -155,6 +155,7 @@ executable="./Unturned_Headless.x86_64" servercfgdir="${systemdir}/Servers/${selfname}" servercfg="Config.json" servercfgdefault="Config.json" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg b/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg index 0402273b5..8e1d6fc55 100644 --- a/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg @@ -135,9 +135,10 @@ glibc="2.4" systemdir="${serverfiles}/System" executabledir="${systemdir}" executable="./ucc-bin" +servercfgdir="${systemdir}" servercfg="${selfname}.ini" servercfgdefault="UT2004.ini" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" compressedmapsdir="${rootdir}/Maps-Compressed" ## Backup Directory diff --git a/lgsm/config-default/config-lgsm/ut3server/_default.cfg b/lgsm/config-default/config-lgsm/ut3server/_default.cfg index eb1b49c52..421ce42b3 100644 --- a/lgsm/config-default/config-lgsm/ut3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ut3server/_default.cfg @@ -146,9 +146,10 @@ glibc="2.3.2" systemdir="${serverfiles}" executabledir="${systemdir}/Binaries" executable="./ut3" +servercfgdir="${systemdir}/UTGame/Config/${selfname}" servercfg="UTGame.ini" servercfgdefault="UTGame.ini" -servercfgdir="${systemdir}/UTGame/Config/${selfname}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/ut99server/_default.cfg b/lgsm/config-default/config-lgsm/ut99server/_default.cfg index bc87f8532..b74e0b14e 100644 --- a/lgsm/config-default/config-lgsm/ut99server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ut99server/_default.cfg @@ -135,9 +135,10 @@ glibc="2.1" systemdir="${serverfiles}/System" executabledir="${systemdir}" executable="./ucc-bin" +servercfgdir="${systemdir}" servercfg="${selfname}.ini" servercfgdefault="Default.ini" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" compressedmapsdir="${rootdir}/Maps-Compressed" ## Backup Directory diff --git a/lgsm/config-default/config-lgsm/utserver/_default.cfg b/lgsm/config-default/config-lgsm/utserver/_default.cfg index 4784f0bcd..fe8da5aca 100644 --- a/lgsm/config-default/config-lgsm/utserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/utserver/_default.cfg @@ -139,8 +139,9 @@ glibc="2.17" systemdir="${serverfiles}/LinuxServer" executabledir="${systemdir}/Engine/Binaries/Linux" executable="./UE4Server-Linux-Shipping" -servercfg="Game.ini" servercfgdir="${systemdir}/UnrealTournament/Saved/Config/LinuxServer" +servercfg="Game.ini" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/vsserver/_default.cfg b/lgsm/config-default/config-lgsm/vsserver/_default.cfg index 5c64eb494..484929179 100644 --- a/lgsm/config-default/config-lgsm/vsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/vsserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.3.4" systemdir="${serverfiles}/vs" executabledir="${serverfiles}" executable="./hlds_run" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/wetserver/_default.cfg b/lgsm/config-default/config-lgsm/wetserver/_default.cfg index 4105e9290..e52be9249 100644 --- a/lgsm/config-default/config-lgsm/wetserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/wetserver/_default.cfg @@ -131,9 +131,10 @@ glibc="2.2.4" systemdir="${serverfiles}" executabledir="${systemdir}" executable="./etded" +servercfgdir="${systemdir}/etmain" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/etmain" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/wfserver/_default.cfg b/lgsm/config-default/config-lgsm/wfserver/_default.cfg index c9b88997e..f5da24af7 100644 --- a/lgsm/config-default/config-lgsm/wfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/wfserver/_default.cfg @@ -145,9 +145,10 @@ glibc="2.15" systemdir="${serverfiles}/Warfork.app/Contents/Resources" executabledir="${systemdir}" executable="./wf_server.x86_64" +servercfgdir="${systemdir}/basewf" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/basewf" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/wurmserver/_default.cfg b/lgsm/config-default/config-lgsm/wurmserver/_default.cfg index 9240ba2c9..47b0fbc0b 100644 --- a/lgsm/config-default/config-lgsm/wurmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/wurmserver/_default.cfg @@ -141,9 +141,10 @@ glibc="2.14" systemdir="${serverfiles}" executabledir="${systemdir}" executable="xvfb-run ./WurmServerLauncher" +servercfgdir="${systemdir}" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/zmrserver/_default.cfg b/lgsm/config-default/config-lgsm/zmrserver/_default.cfg index acc06176a..db1853930 100644 --- a/lgsm/config-default/config-lgsm/zmrserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/zmrserver/_default.cfg @@ -150,9 +150,10 @@ glibc="2.15" systemdir="${serverfiles}/zombie_master_reborn" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/config-default/config-lgsm/zpsserver/_default.cfg b/lgsm/config-default/config-lgsm/zpsserver/_default.cfg index 6068d091c..bfeceda7e 100644 --- a/lgsm/config-default/config-lgsm/zpsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/zpsserver/_default.cfg @@ -155,9 +155,10 @@ glibc="2.15" systemdir="${serverfiles}/zps" executabledir="${serverfiles}" executable="./srcds_run" +servercfgdir="${systemdir}/cfg" servercfg="${selfname}.cfg" servercfgdefault="server.cfg" -servercfgdir="${systemdir}/cfg" +servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${lgsmdir}/backup" diff --git a/lgsm/functions/check_config.sh b/lgsm/functions/check_config.sh index c66892a2d..a4aa11997 100644 --- a/lgsm/functions/check_config.sh +++ b/lgsm/functions/check_config.sh @@ -7,8 +7,6 @@ local modulename="CHECK" local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" -servercfgfullpath="${servercfgdir}/${servercfg}" - if [ ! -f "${servercfgfullpath}" ]; then if [ "${shortname}" != "hw" ]&&[ "${shortname}" != "ut3" ]&&[ "${shortname}" != "kf2" ]; then fn_print_dots "" diff --git a/lgsm/functions/command_monitor.sh b/lgsm/functions/command_monitor.sh index 142b5af2e..1ec7b194d 100644 --- a/lgsm/functions/command_monitor.sh +++ b/lgsm/functions/command_monitor.sh @@ -238,13 +238,15 @@ info_parms.sh fn_monitor_check_lockfile fn_monitor_check_update fn_monitor_check_session -fn_monitor_check_queryport +# Monitor will not continue if session only check. +if [ "${querymode}" != "1" ]; then + fn_monitor_check_queryport -# Add a querydelay of 1 min if var missing. -if [ -z "${querydelay}" ]; then - querydelay="1" -fi - -fn_monitor_loop + # Add a querydelay of 1 min if var missing. + if [ -z "${querydelay}" ]; then + querydelay="1" + fi + fn_monitor_loop +fi core_exit.sh diff --git a/lgsm/functions/info_config.sh b/lgsm/functions/info_config.sh index cc1fcb840..9618d60c6 100644 --- a/lgsm/functions/info_config.sh +++ b/lgsm/functions/info_config.sh @@ -421,14 +421,14 @@ fn_info_config_onset(){ maxplayers="${zero}" port="${zero}" httpport="${zero}" - queryport="${zero}" + queryport="${zero}" else servername=$(grep -v "servername_short" "${servercfgfullpath}" | grep "servername" | sed -e 's/^[ \t]*//g' -e '/^#/d' -e 's/servername//g' | tr -d '=\";,:' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//' ) maxplayers=$(grep "maxplayers" "${servercfgfullpath}" | grep -v "#" | tr -cd '[:digit:]') port=$(grep "port" "${servercfgfullpath}" | grep -v "#" | tr -cd '[:digit:]') httpport=$((port-2)) - queryport=$((port-1)) - + queryport=$((port-1)) + # Not Set servername=${servername:-"NOT SET"} maxplayers=${maxplayers:-"NOT SET"} diff --git a/lgsm/functions/info_messages.sh b/lgsm/functions/info_messages.sh index b5471e01a..035cc6abe 100644 --- a/lgsm/functions/info_messages.sh +++ b/lgsm/functions/info_messages.sh @@ -540,7 +540,7 @@ fn_info_message_ports(){ echo -e "${lightblue}Change ports by editing the parameters in:${default}" parmslocation="${red}UNKNOWN${default}" - # engines/games that require editing in the config file + # engines/games that require editing in the config file. local ports_edit_array=( "avalanche2.0" "avalanche3.0" "Ballistic Overkill" "dontstarve" "Eco" "idtech2" "idtech3" "idtech3_ql" "lwjgl2" "Minecraft Bedrock" "Project Cars" "projectzomboid" "quake" "refractor" "realvirtuality" "renderware" "seriousengine35" "Stationeers" "teeworlds" "terraria" "unreal" "unreal2" "unreal3" "TeamSpeak 3" "Mumble" "7 Days To Die" "wurm") for port_edit in "${ports_edit_array[@]}" do @@ -552,7 +552,7 @@ fn_info_message_ports(){ parmslocation="${servercfgfullpath}" fi done - # engines/games that require editing the parms + # engines/games that require editing the parms. local ports_edit_array=( "goldsource" "Factorio" "Hurtworld" "iw3.0" "ioquake3" "qfusion" "Rust" "Soldat" "spark" "source" "starbound" "unreal4" "realvirtuality" "Unturned" ) for port_edit in "${ports_edit_array[@]}" do diff --git a/lgsm/functions/info_parms.sh b/lgsm/functions/info_parms.sh index 37bd56416..a4d483bb3 100644 --- a/lgsm/functions/info_parms.sh +++ b/lgsm/functions/info_parms.sh @@ -42,13 +42,8 @@ fn_info_parms_dst(){ cave=${cave:-"NOT SET"} } -fn_info_parms_eco(){ - queryport=${webadminport:-"0"} -} - fn_info_parms_factorio(){ port=${port:-"0"} - queryport=${rconport:-"0"} rconport=${rconport:-"0"} rconpassword=${rconpassword:-"NOT SET"} } @@ -118,7 +113,6 @@ fn_info_parms_realvirtuality(){ fn_info_parms_risingworld(){ servername=${servername:-"NOT SET"} port=${port:-"0"} - queryport=${port:-"0"} httpqueryport=$((port - 1)) } @@ -229,7 +223,6 @@ fn_info_parms_unreal3(){ fn_info_parms_unturned(){ servername=${selfname:-"NOT SET"} port=${port:-"0"} - queryport=$((port + 1)) } fn_info_parms_ut(){ @@ -254,9 +247,6 @@ elif [ "${shortname}" == "bt" ]; then # Call of Duty elif [ "${shortname}" == "cod" ]||[ "${shortname}" == "coduo" ]||[ "${engine}" == "iw2.0" ]||[ "${engine}" == "iw3.0" ]; then fn_info_parms_cod -# Eco -elif [ "${shortname}" == "eco" ]; then - fn_info_parms_eco # Factorio elif [ "${shortname}" == "fctr" ]; then fn_info_parms_factorio diff --git a/lgsm/functions/install_config.sh b/lgsm/functions/install_config.sh index e54f6215d..f6d08a8d6 100644 --- a/lgsm/functions/install_config.sh +++ b/lgsm/functions/install_config.sh @@ -56,7 +56,7 @@ fn_default_config_remote(){ # Copys local default config to server config location. fn_default_config_local(){ echo -e "copying ${servercfgdefault} config file." - cp -nv "${servercfgdirdefault}/${servercfgdefault}" "${servercfgfullpath}" + cp -nv "${servercfgdir}/${servercfgdefault}" "${servercfgfullpath}" fn_sleep_time } diff --git a/tests/tests_defaultcfg/defaultcfg_0.txt b/tests/tests_defaultcfg/defaultcfg_0.txt index ac95a5715..50c1d0ee6 100644 --- a/tests/tests_defaultcfg/defaultcfg_0.txt +++ b/tests/tests_defaultcfg/defaultcfg_0.txt @@ -36,12 +36,18 @@ querydelay ansi sleeptime stopmode +querymode +querytype gamename engine glibc systemdir executabledir executable +servercfgdir +servercfg +servercfgdefault +servercfgfullpath backupdir logdir lgsmlogdir diff --git a/tests/tests_defaultcfg/tests_defaultcfg.sh b/tests/tests_defaultcfg/tests_defaultcfg.sh index 5b9b47f2a..4039d90e7 100644 --- a/tests/tests_defaultcfg/tests_defaultcfg.sh +++ b/tests/tests_defaultcfg/tests_defaultcfg.sh @@ -5,14 +5,16 @@ echo -e "==================================================================" echo -e "Description:" echo -e "test checks that vars present in ALL _default.cfg files are correct." echo -e "" +echo -e "In master config < | > In game config" find "lgsm/config-default/config-lgsm/" ! -name '*template.cfg' -name "*.cfg" -type f -print0 | while IFS= read -r -d $'\0' line; do - grep = ${line} | cut -f1 -d"=" > defaultcfgtemp.txt + grep "=" "${line}" | cut -f1 -d"=" > defaultcfgtemp.txt diffoutput=$(diff tests/tests_defaultcfg/defaultcfg_0.txt defaultcfgtemp.txt) if [ "${diffoutput}" ]; then echo "File with errors:" echo "${line}" echo -e "=================================" + echo -e "In master config < | > In game config" echo "${diffoutput}" echo "" fi @@ -25,6 +27,7 @@ echo -e "==================================================================" echo -e "Description:" echo -e "test checks that vars present in ALL _default.cfg files are correct." echo -e "" +echo -e "In master config < | > In game config" find lgsm/config-default/config-lgsm/ ! -name '*template.cfg' -name "*.cfg" -type f -print0 | while IFS= read -r -d $'\0' line; do grep "=" "${line}" | cut -f1 -d"=" > defaultcfgtemp.txt @@ -33,6 +36,7 @@ while IFS= read -r -d $'\0' line; do echo "File with errors:" echo "${line}" echo -e "=================================" + echo -e "In master config < | > In game config" echo "${diffoutput}" echo "" fi @@ -45,6 +49,7 @@ echo -e "==================================================================" echo -e "Description:" echo -e "test checks that comments in ALL _default.cfg files are correct." echo -e "" +echo -e "In master config < | > In game config" find lgsm/config-default/config-lgsm/ ! -name '*template.cfg' -name "*.cfg" -type f -print0 | while IFS= read -r -d $'\0' line; do grep "#" "${line}" > defaultcfgtemp.txt