diff --git a/7DaysToDie/sdtdserver b/7DaysToDie/sdtdserver index b3112820c..6965efbee 100644 --- a/7DaysToDie/sdtdserver +++ b/7DaysToDie/sdtdserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -25,6 +25,7 @@ steampass="password" # Start Variables ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # http://7daystodie.gamepedia.com/Server fn_parms(){ diff --git a/ARKSurvivalEvolved/arkserver b/ARKSurvivalEvolved/arkserver index 2304ef566..d61742095 100644 --- a/ARKSurvivalEvolved/arkserver +++ b/ARKSurvivalEvolved/arkserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -25,6 +25,7 @@ steampass="" # Start Variables ip="0.0.0.0" updateonstart="off" +startonmonitor="off" fn_parms(){ parms="TheIsland?listen" diff --git a/Arma3/arma3server b/Arma3/arma3server index ff296e3bc..91cfdacc5 100644 --- a/Arma3/arma3server +++ b/Arma3/arma3server @@ -10,7 +10,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -27,6 +27,7 @@ steampass="password" ip="0.0.0.0" port="2302" updateonstart="off" +startonmonitor="off" fn_parms(){ parms="-netlog -ip=${ip} -port=${port} -cfg=${networkcfgfullpath} -config=${servercfgfullpath} -mod=${mods} -servermod=${servermods} -bepath=${bepath} -autoinit -loadmissiontomemory" diff --git a/BlackMesa/bmdmserver b/BlackMesa/bmdmserver index 7601f826a..6494807c1 100644 --- a/BlackMesa/bmdmserver +++ b/BlackMesa/bmdmserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -30,6 +30,7 @@ sourcetvport="27020" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ diff --git a/BladeSymphony/bsserver b/BladeSymphony/bsserver index 87f1ff2ee..d0f7e0b8e 100644 --- a/BladeSymphony/bsserver +++ b/BladeSymphony/bsserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -30,6 +30,7 @@ sourcetvport="27020" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ diff --git a/BrainBread2/bb2server b/BrainBread2/bb2server index a78fdbc5a..cf0f290d7 100644 --- a/BrainBread2/bb2server +++ b/BrainBread2/bb2server @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="090116" +version="010216" #### Variables #### @@ -30,6 +30,7 @@ sourcetvport="27020" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # Required: Game Server Login Token # GSLT is required for running a public server. diff --git a/CounterStrike/csserver b/CounterStrike/csserver index 4fa7104d8..54aa14229 100644 --- a/CounterStrike/csserver +++ b/CounterStrike/csserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -29,6 +29,7 @@ port="27015" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Command-line_parameters_2 fn_parms(){ diff --git a/CounterStrikeConditionZero/csczserver b/CounterStrikeConditionZero/csczserver index a6eca599c..34119359e 100644 --- a/CounterStrikeConditionZero/csczserver +++ b/CounterStrikeConditionZero/csczserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -29,6 +29,7 @@ port="27015" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Command-line_parameters_2 fn_parms(){ diff --git a/CounterStrikeGlobalOffensive/csgoserver b/CounterStrikeGlobalOffensive/csgoserver index 64c2b0993..0679c7be9 100755 --- a/CounterStrikeGlobalOffensive/csgoserver +++ b/CounterStrikeGlobalOffensive/csgoserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -41,6 +41,7 @@ sourcetvport="27020" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # Required: Game Server Login Token # GSLT is required for running a public server. diff --git a/CounterStrikeSource/cssserver b/CounterStrikeSource/cssserver index 3efde2766..9c48d9449 100644 --- a/CounterStrikeSource/cssserver +++ b/CounterStrikeSource/cssserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -30,6 +30,7 @@ sourcetvport="27020" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ diff --git a/DayOfDefeat/dodserver b/DayOfDefeat/dodserver index 88ea3b92a..5bafd57fe 100644 --- a/DayOfDefeat/dodserver +++ b/DayOfDefeat/dodserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -29,6 +29,7 @@ port="27015" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Command-line_parameters_2 fn_parms(){ diff --git a/DayOfDefeatSource/dodsserver b/DayOfDefeatSource/dodsserver index 5d80d01b0..5f6a28170 100644 --- a/DayOfDefeatSource/dodsserver +++ b/DayOfDefeatSource/dodsserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -30,6 +30,7 @@ sourcetvport="27020" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ diff --git a/DeathmatchClassic/dmcserver b/DeathmatchClassic/dmcserver index 0b9efa02a..985ad91f3 100644 --- a/DeathmatchClassic/dmcserver +++ b/DeathmatchClassic/dmcserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -29,6 +29,7 @@ port="27015" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Command-line_parameters_2 fn_parms(){ diff --git a/DontStarveTogether/dstserver b/DontStarveTogether/dstserver index f6b0afe42..d9540b4c6 100644 --- a/DontStarveTogether/dstserver +++ b/DontStarveTogether/dstserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -25,6 +25,7 @@ steampass="" # Start Variables ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # Overworld: -conf_dir DST_Overworld diff --git a/DoubleActionBoogaloo/dabserver b/DoubleActionBoogaloo/dabserver index 00b8c70f6..e6eeb2504 100644 --- a/DoubleActionBoogaloo/dabserver +++ b/DoubleActionBoogaloo/dabserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -30,6 +30,7 @@ sourcetvport="27020" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ diff --git a/FistfulOfFrags/fofserver b/FistfulOfFrags/fofserver index eaa85694f..a0e3b4272 100644 --- a/FistfulOfFrags/fofserver +++ b/FistfulOfFrags/fofserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -30,6 +30,7 @@ sourcetvport="27020" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ diff --git a/GarrysMod/gmodserver b/GarrysMod/gmodserver index 363eb01c8..cad9d6123 100644 --- a/GarrysMod/gmodserver +++ b/GarrysMod/gmodserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -36,6 +36,7 @@ sourcetvport="27020" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # Optional: Game Server Login Token # GSLT can be used for running a public server. diff --git a/GoldenEyeSource/gesserver b/GoldenEyeSource/gesserver index f473dcc57..16b6d4c72 100644 --- a/GoldenEyeSource/gesserver +++ b/GoldenEyeSource/gesserver @@ -10,7 +10,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### export MALLOC_CHECK_=0 @@ -32,6 +32,7 @@ sourcetvport="27020" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ diff --git a/HalfLife2Deathmatch/hl2dmserver b/HalfLife2Deathmatch/hl2dmserver index 271a024ef..15b04759a 100644 --- a/HalfLife2Deathmatch/hl2dmserver +++ b/HalfLife2Deathmatch/hl2dmserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -30,6 +30,7 @@ sourcetvport="27020" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ diff --git a/HalfLifeDeathmatch/hldmserver b/HalfLifeDeathmatch/hldmserver index b74914da1..23c624047 100644 --- a/HalfLifeDeathmatch/hldmserver +++ b/HalfLifeDeathmatch/hldmserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -29,6 +29,7 @@ port="27015" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Command-line_parameters_2 fn_parms(){ diff --git a/HalfLifeDeathmatchSource/hldmsserver b/HalfLifeDeathmatchSource/hldmsserver index 33b2d0723..2047dcb98 100644 --- a/HalfLifeDeathmatchSource/hldmsserver +++ b/HalfLifeDeathmatchSource/hldmsserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -30,6 +30,7 @@ sourcetvport="27020" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ diff --git a/Hurtworld/hwserver b/Hurtworld/hwserver index 3a019f6d5..2ecd4f2dc 100644 --- a/Hurtworld/hwserver +++ b/Hurtworld/hwserver @@ -10,7 +10,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -32,6 +32,7 @@ maxplayers="20" map="" #Optional creativemode="0" #Free Build logfile="gamelog.txt" +startonmonitor="off" # Adding admins using STEAMID64 # Example : addadmin 012345678901234567; addadmin 987654321098765432 diff --git a/Insurgency/insserver b/Insurgency/insserver index 66e511149..eb1ab22de 100644 --- a/Insurgency/insserver +++ b/Insurgency/insserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -32,6 +32,7 @@ clientport="27005" ip="0.0.0.0" updateonstart="off" workshop="0" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ diff --git a/JustCause2/jc2server b/JustCause2/jc2server index 5435a3121..981e08c76 100644 --- a/JustCause2/jc2server +++ b/JustCause2/jc2server @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -24,6 +24,7 @@ steampass="" # Start Variables updateonstart="off" +startonmonitor="off" fn_parms(){ parms="" diff --git a/KillingFloor/kfserver b/KillingFloor/kfserver index 2aa5af27b..92012fe53 100644 --- a/KillingFloor/kfserver +++ b/KillingFloor/kfserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -26,6 +26,7 @@ steampass="password" defaultmap="KF-BioticsLab.rom" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" fn_parms(){ parms="server ${defaultmap}?game=KFmod.KFGameType?VACSecured=true -nohomedir ini=${servercfg} log=${gamelog}" diff --git a/Left4Dead/l4dserver b/Left4Dead/l4dserver index 519ab1379..6754eb41f 100644 --- a/Left4Dead/l4dserver +++ b/Left4Dead/l4dserver @@ -10,7 +10,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -30,6 +30,7 @@ port="27015" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ diff --git a/Left4Dead2/l4d2server b/Left4Dead2/l4d2server index 6c966cb6e..a92dafaa3 100644 --- a/Left4Dead2/l4d2server +++ b/Left4Dead2/l4d2server @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -29,6 +29,7 @@ port="27015" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ diff --git a/NS2Combat/ns2cserver b/NS2Combat/ns2cserver index a5683bf81..1cc855c86 100644 --- a/NS2Combat/ns2cserver +++ b/NS2Combat/ns2cserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -36,6 +36,7 @@ configpath="server1" modstorage="server1/Workshop" mods="" password="" +startonmonitor="off" # Add the following line to the parms if you want a private server. Ensuring # that the password variable above is not left empty. # -password \"${password}\" diff --git a/NaturalSelection2/ns2server b/NaturalSelection2/ns2server index d53651b7f..f8563f135 100644 --- a/NaturalSelection2/ns2server +++ b/NaturalSelection2/ns2server @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -36,6 +36,7 @@ configpath="server1" modstorage="server1/Workshop" mods="" password="" +startonmonitor="off" # Add the following line to the parms if you want a private server. Ensuring # that the password variable above is not left empty. # -password \"${password}\" diff --git a/NoMoreRoomInHell/nmrihserver b/NoMoreRoomInHell/nmrihserver index 26c836f2d..6a689ae64 100644 --- a/NoMoreRoomInHell/nmrihserver +++ b/NoMoreRoomInHell/nmrihserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -30,6 +30,7 @@ sourcetvport="27020" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ diff --git a/OpposingForce/opforserver b/OpposingForce/opforserver index 61e9b4128..1e8783d13 100644 --- a/OpposingForce/opforserver +++ b/OpposingForce/opforserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -29,6 +29,7 @@ port="27015" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Command-line_parameters_2 fn_parms(){ diff --git a/PiratesVikingandKnightsII/pvkiiserver b/PiratesVikingandKnightsII/pvkiiserver index 5a4588753..629938c92 100644 --- a/PiratesVikingandKnightsII/pvkiiserver +++ b/PiratesVikingandKnightsII/pvkiiserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -30,6 +30,7 @@ sourcetvport="27020" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ diff --git a/ProjectZomboid/pzserver b/ProjectZomboid/pzserver index 701827e96..6cd81624c 100644 --- a/ProjectZomboid/pzserver +++ b/ProjectZomboid/pzserver @@ -10,7 +10,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -26,6 +26,7 @@ steampass="password" # Start Variables ip="0.0.0.0" updateonstart="off" +startonmonitor="off" fn_parms(){ parms="" diff --git a/RedOrchestra/roserver b/RedOrchestra/roserver index 4e6424814..43cd6f5a2 100644 --- a/RedOrchestra/roserver +++ b/RedOrchestra/roserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -26,6 +26,7 @@ steampass="password" defaultmap="RO-Arad.rom" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" fn_parms(){ parms="server ${defaultmap}?game=ROGame.ROTeamGame?VACSecured=true -nohomedir ini=${servercfg} log=${gamelog}" diff --git a/Ricochet/ricochetserver b/Ricochet/ricochetserver index 555c1b39b..1ec4dfd36 100644 --- a/Ricochet/ricochetserver +++ b/Ricochet/ricochetserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -29,6 +29,7 @@ port="27015" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Command-line_parameters_2 fn_parms(){ diff --git a/SeriousSam3BFE/ss3sserver b/SeriousSam3BFE/ss3sserver index 0ffefc5e8..f19c9fede 100644 --- a/SeriousSam3BFE/ss3sserver +++ b/SeriousSam3BFE/ss3sserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="121215" +version="010216" #### Variables #### @@ -25,6 +25,7 @@ steampass="" # Start Variables ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/SeriousSam3BFE/help/DedicatedServer_Readme.txt fn_parms(){ diff --git a/StarBound/sbserver b/StarBound/sbserver index c8253a643..e36cc89b9 100644 --- a/StarBound/sbserver +++ b/StarBound/sbserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -25,6 +25,7 @@ steampass="password" # Start Variables ip="0.0.0.0" updateonstart="off" +startonmonitor="off" fn_parms(){ parms="" diff --git a/SvenCoop/svencoopserver b/SvenCoop/svencoopserver index f4abfc4c5..6d99fa353 100644 --- a/SvenCoop/svencoopserver +++ b/SvenCoop/svencoopserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -29,6 +29,7 @@ port="27015" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Command-line_parameters_2 fn_parms(){ diff --git a/TeamFortress2/tf2server b/TeamFortress2/tf2server index 984817ab0..e8a57c5a6 100644 --- a/TeamFortress2/tf2server +++ b/TeamFortress2/tf2server @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -30,6 +30,7 @@ sourcetvport="27020" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # Optional: Game Server Login Token # GSLT can be used for running a public server. diff --git a/TeamFortressClassic/tfcserver b/TeamFortressClassic/tfcserver index d1ee8b4c3..ecae2ecab 100644 --- a/TeamFortressClassic/tfcserver +++ b/TeamFortressClassic/tfcserver @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -29,6 +29,7 @@ port="27015" clientport="27005" ip="0.0.0.0" updateonstart="off" +startonmonitor="off" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Command-line_parameters_2 fn_parms(){ diff --git a/Teeworlds/twserver b/Teeworlds/twserver index a051ebe9e..8130f4cb8 100644 --- a/Teeworlds/twserver +++ b/Teeworlds/twserver @@ -10,7 +10,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -26,6 +26,7 @@ steampass="password" # Start Variables ip="0.0.0.0" updateonstart="off" +startonmonitor="off" fn_parms(){ parms="-f ${servercfgfullpath}" diff --git a/Terraria/terrariaserver b/Terraria/terrariaserver index f8088bd16..49333d413 100644 --- a/Terraria/terrariaserver +++ b/Terraria/terrariaserver @@ -10,7 +10,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -26,6 +26,7 @@ steampass="password" # Start Variables ip="0.0.0.0" updateonstart="off" +startonmonitor="off" fn_parms(){ parms="-config ${servercfgfullpath}" diff --git a/UnrealTournament2004/ut2k4server b/UnrealTournament2004/ut2k4server index d74310b30..03451cc14 100644 --- a/UnrealTournament2004/ut2k4server +++ b/UnrealTournament2004/ut2k4server @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="271215" +version="010216" #### Variables #### @@ -21,6 +21,7 @@ email="email@example.com" # Start Variables defaultmap="DM-Rankin" ip="0.0.0.0" +startonmonitor="off" fn_parms(){ parms="server ${defaultmap}?game=XGame.xDeathMatch -nohomedir ini=${servercfg} log=${gamelog}" diff --git a/UnrealTournament99/ut99server b/UnrealTournament99/ut99server index a1dd53887..3ed7ac45d 100644 --- a/UnrealTournament99/ut99server +++ b/UnrealTournament99/ut99server @@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="121215" +version="010216" #### Variables #### @@ -21,6 +21,7 @@ email="email@example.com" # Start Variables defaultmap="DM-Deck16][" ip="0.0.0.0" +startonmonitor="off" fn_parms(){ parms="server ${defaultmap}.unr ini=${servercfgfullpath}" diff --git a/functions/command_monitor.sh b/functions/command_monitor.sh index f253abc54..467c97c36 100644 --- a/functions/command_monitor.sh +++ b/functions/command_monitor.sh @@ -60,12 +60,21 @@ fn_printdots "${servername}" fn_scriptlog "${servername}" sleep 1 if [ ! -f "${rootdir}/${lockselfname}" ]; then - fn_printinfo "Disabled: No lock file found" - fn_scriptlog "Disabled: No lock file found" - sleep 1 - echo -en "\n" - echo "To enable monitor run ./${selfname} start" - exit 1 + if [ ${startonmonitor} == "on" ]; then + fn_printinfo "No lock file found" + fn_scriptlog "No lock file found" + sleep 1 + echo -en "\n" + fn_scriptlog "Monitor is starting ${servername}" + command_start.sh + else + fn_printinfo "Disabled: No lock file found" + fn_scriptlog "Disabled: No lock file found" + sleep 1 + echo -en "\n" + echo "To enable monitor run ./${selfname} start" + exit 1 + fi fi updatecheck=$(ps -ef|grep "${selfname} update"|grep -v grep|wc -l)