From 39101cab23e213ed820fe81c19dcb7bc72c19761 Mon Sep 17 00:00:00 2001 From: Clarth Date: Tue, 23 Jan 2024 13:34:27 -0500 Subject: [PATCH] Fixed screen name Screen command now uses $server var --- Factorio/screenstart.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Factorio/screenstart.sh b/Factorio/screenstart.sh index a0a7299..8aa4ca7 100644 --- a/Factorio/screenstart.sh +++ b/Factorio/screenstart.sh @@ -95,8 +95,8 @@ if [ -f "$VERSION_FILE" ]; then #mod updater #default mods, most servers will use this mod dir #servers w/ special mods will need a new line under here and a new dir created for them. - /usr/bin/python3 /home/factorio/mod_updater.py -s /home/factorio/servers/Master/server-settings.json -m /home/factorio/mods/default --token 2674c79ebc4236ff57d9fb9e04c29 --username clash --fact-path /home/factorio/factorio/bin/x64/factorio --update - #/usr/bin/python3 /home/factorio/mod_updater.py -s /home/factorio/servers/Master/server-settings.json -m /home/factorio/mods/dad --token 2674c79ebc4236ff57d9fb9e04c29 --username clash --fact-path /home/factorio/factorio/bin/x64/factorio --update + /usr/bin/python3 /home/factorio/mod_updater.py -s /home/factorio/servers/Master/server-settings.json -m /home/factorio/mods/default --token 2674c79ebc4fb9e04c29 --username clash --fact-path /home/factorio/factorio/bin/x64/factorio --update + #/usr/bin/python3 /home/factorio/mod_updater.py -s /home/factorio/servers/Master/server-settings.json -m /home/factorio/mods/dad --token 2674fb9e04c29 --username clash --fact-path /home/factorio/factorio/bin/x64/factorio --update else echo "Factorio is already up-to-date. No need to download an update." @@ -166,7 +166,7 @@ server='test' port='34198' start="/home/$game/factorio/bin/x64/factorio --start-server-load-latest --server-settings /home/factorio/servers/$server/server-settings.json --config /home/factorio/servers/$server/config.ini --executable-path /home/factorio/factorio/bin/x64/ --mod-directory /home/factorio/mods/default/ --port $port" echo "Starting test Server" -/usr/bin/screen -dmS test $start +/usr/bin/screen -dmS $server $start #RIBBON SERVER @@ -174,7 +174,7 @@ server='ribbon' port='34196' start="/home/$game/factorio/bin/x64/factorio --start-server-load-latest --server-settings /home/factorio/servers/$server/server-settings.json --config /home/factorio/servers/$server/config.ini --executable-path /home/factorio/factorio/bin/x64/ --mod-directory /home/factorio/mods/default/ --port $port" #echo "Starting ribbon Server" -#/usr/bin/screen -dmS ribbon $start +#/usr/bin/screen -dmS $server $start #FAMILY SERVER @@ -182,7 +182,7 @@ server='family' port='34197' start="/home/$game/factorio/bin/x64/factorio --start-server-load-latest --server-settings /home/factorio/servers/$server/server-settings.json --config /home/factorio/servers/$server/config.ini --executable-path /home/factorio/factorio/bin/x64/ --mod-directory /home/factorio/mods/default/ --port $port" echo "Starting family Server" -/usr/bin/screen -dmS family $start +/usr/bin/screen -dmS $server $start #PRIVATE SERVER @@ -190,7 +190,7 @@ server='private' port='34199' start="/home/$game/factorio/bin/x64/factorio --start-server-load-latest --server-settings /home/factorio/servers/$server/server-settings.json --config /home/factorio/servers/$server/config.ini --executable-path /home/factorio/factorio/bin/x64/ --mod-directory /home/factorio/mods/default/ --port $port" echo "Starting private Server" -/usr/bin/screen -dmS private $start +/usr/bin/screen -dmS $server $start echo "=============================="