Skip to content

Commit 5641081

Browse files
committed
Merge branch 'release/v21.4.0'
2 parents 67e1f3f + d087174 commit 5641081

22 files changed

+223
-17
lines changed
Lines changed: 186 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
1+
##################################
2+
######## Default Settings ########
3+
##################################
4+
# DO NOT EDIT, ANY CHANGES WILL BE OVERWRITTEN!
5+
# Copy settings from here and use them in either:
6+
# common.cfg - applies settings to every instance.
7+
# [instance].cfg - applies settings to a specific instance.
8+
9+
#### Game Server Settings ####
10+
11+
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
12+
ip="0.0.0.0"
13+
queryport="15777"
14+
beaconport="15000"
15+
port="7777"
16+
17+
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
18+
startparameters="FactoryGame -ServerQueryPort=${queryport} -BeaconPort=${beaconport} -GamePort=${port} -log -unattended"
19+
20+
#### LinuxGSM Settings ####
21+
22+
## LinuxGSM Stats
23+
# Send useful stats to LinuxGSM developers.
24+
# https://docs.linuxgsm.com/configuration/linuxgsm-stats
25+
# (on|off)
26+
stats="off"
27+
28+
## Notification Alerts
29+
# (on|off)
30+
31+
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
32+
displayip=""
33+
34+
# More info | https://docs.linuxgsm.com/alerts#more-info
35+
postalert="off"
36+
37+
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord
38+
discordalert="off"
39+
discordwebhook="webhook"
40+
41+
# Email Alerts | https://docs.linuxgsm.com/alerts/email
42+
emailalert="off"
43+
44+
emailfrom=""
45+
46+
# Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
47+
gotifyalert="off"
48+
gotifytoken="token"
49+
gotifywebhook="webhook"
50+
51+
# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
52+
iftttalert="off"
53+
ifttttoken="accesstoken"
54+
iftttevent="linuxgsm_alert"
55+
56+
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
57+
mailgunalert="off"
58+
mailgunapiregion="us"
59+
mailguntoken="accesstoken"
60+
mailgundomain="example.com"
61+
mailgunemailfrom="[email protected]"
62+
mailgunemail="[email protected]"
63+
64+
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
65+
pushbulletalert="off"
66+
pushbullettoken="accesstoken"
67+
channeltag=""
68+
69+
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
70+
pushoveralert="off"
71+
pushovertoken="accesstoken"
72+
pushoveruserkey="userkey"
73+
74+
# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
75+
rocketchatalert="off"
76+
rocketchatwebhook="webhook"
77+
rocketchattoken=""
78+
79+
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack
80+
slackalert="off"
81+
slackwebhook="webhook"
82+
83+
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
84+
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
85+
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
86+
telegramapi="api.telegram.org"
87+
telegramalert="off"
88+
telegramtoken="accesstoken"
89+
telegramchatid=""
90+
curlcustomstring=""
91+
92+
## Updating | https://docs.linuxgsm.com/commands/update
93+
updateonstart="off"
94+
95+
## Backup | https://docs.linuxgsm.com/commands/backup
96+
maxbackups="4"
97+
maxbackupdays="30"
98+
stoponbackup="on"
99+
100+
## Logging | https://docs.linuxgsm.com/features/logging
101+
consolelogging="on"
102+
logdays="7"
103+
104+
## Monitor | https://docs.linuxgsm.com/commands/monitor
105+
# Query delay time
106+
querydelay="1"
107+
108+
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
109+
ansi="on"
110+
111+
#### Advanced Settings ####
112+
113+
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
114+
sleeptime="0.5"
115+
116+
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
117+
# Server appid
118+
appid="1690800"
119+
steamcmdforcewindows="no"
120+
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
121+
branch=""
122+
betapassword=""
123+
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
124+
steammaster="false"
125+
126+
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
127+
# 1: tmux kill
128+
# 2: CTRL+c
129+
# 3: quit
130+
# 4: quit 120s
131+
# 5: stop
132+
# 6: q
133+
# 7: exit
134+
# 8: 7 Days to Die
135+
# 9: GoldSrc
136+
# 10: Avorion
137+
# 11: end
138+
stopmode="2"
139+
140+
## Query mode
141+
# 1: session only
142+
# 2: gamedig (gsquery fallback)
143+
# 3: gamedig
144+
# 4: gsquery
145+
# 5: tcp
146+
querymode="1"
147+
querytype=""
148+
149+
## Console type
150+
consoleverbose="yes"
151+
consoleinteract="no"
152+
153+
## Game Server Details
154+
# Do not edit
155+
gamename="Satisfactory"
156+
engine="unreal4"
157+
glibc="2.17"
158+
159+
#### Directories ####
160+
# Edit with care
161+
162+
## Game Server Directories
163+
systemdir="${serverfiles}/FactoryGame"
164+
executabledir="${serverfiles}/Engine/Binaries/Linux"
165+
executable="./UE4Server-Linux-Shipping"
166+
servercfgdir="${systemdir}/Saved/Config/LinuxServer"
167+
servercfg="GameUserSettings.ini"
168+
servercfgdefault="GameUserSettings.ini"
169+
servercfgfullpath="${servercfgdir}/${servercfg}"
170+
171+
## Backup Directory
172+
backupdir="${lgsmdir}/backup"
173+
174+
## Logging Directories
175+
logdir="${rootdir}/log"
176+
gamelogdir="${systemdir}/Saved/Logs"
177+
lgsmlogdir="${logdir}/script"
178+
consolelogdir="${logdir}/console"
179+
lgsmlog="${lgsmlogdir}/${selfname}-script.log"
180+
consolelog="${consolelogdir}/${selfname}-console.log"
181+
alertlog="${lgsmlogdir}/${selfname}-alert.log"
182+
postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
183+
184+
## Logs Naming
185+
lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
186+
consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

lgsm/data/almalinux-8.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ scpsl
9393
scpslsm
9494
sdtd,telnet,expect
9595
sfc,ncurses-libs.i686
96+
sf
9697
sof2
9798
sol
9899
squad

lgsm/data/centos-7.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ scpsl
9393
scpslsm
9494
sdtd,telnet,expect
9595
sfc,ncurses-libs.i686
96+
sf
9697
sof2
9798
sol
9899
squad

lgsm/data/centos-8.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ scpsl
9393
scpslsm
9494
sdtd,telnet,expect
9595
sfc,ncurses-libs.i686
96+
sf
9697
sof2
9798
sol
9899
squad

lgsm/data/debian-10.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ scpsl,mono-complete
9393
scpslsm,mono-complete
9494
sdtd,telnet,expect
9595
sfc,libtinfo5:i386
96+
sf
9697
sof2
9798
sol
9899
squad

lgsm/data/debian-11.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ scpsl,mono-complete
9393
scpslsm,mono-complete
9494
sdtd,telnet,expect
9595
sfc,libtinfo5:i386
96+
sf
9697
sof2
9798
sol
9899
squad

lgsm/data/debian-9.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ scpsl,mono-complete
9393
scpslsm,mono-complete
9494
sdtd,telnet,expect
9595
sfc,libtinfo5:i386
96+
sf
9697
sof2
9798
sol
9899
squad

lgsm/data/rhel-7.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ scpsl
9393
scpslsm
9494
sdtd,telnet,expect
9595
sfc,ncurses-libs.i686
96+
sf
9697
sof2
9798
sol
9899
squad

lgsm/data/rhel-8.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ scpsl
9393
scpslsm
9494
sdtd,telnet,expect
9595
sfc,ncurses-libs.i686
96+
sf
9697
sof2
9798
sol
9899
squad

lgsm/data/rocky-8.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ scpsl
9393
scpslsm
9494
sdtd,telnet,expect
9595
sfc,ncurses-libs.i686
96+
sf
9697
sof2
9798
sol
9899
squad

lgsm/data/serverlist.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ scpsl,scpslserver,SCP: Secret Laboratory
9191
scpslsm,scpslsmserver,SCP: Secret Laboratory ServerMod
9292
sdtd,sdtdserver,7 Days to Die
9393
sfc,sfcserver,SourceForts Classic
94+
sf,sfserver,Satisfactory
9495
sof2,sof2server,Soldier Of Fortune 2: Gold Edition
9596
sol,solserver,Soldat
9697
squad,squadserver,Squad

lgsm/data/ubuntu-16.04.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ scpsl,mono-complete
9393
scpslsm,mono-complete
9494
sdtd,telnet,expect
9595
sfc,libtinfo5:i386
96+
sf
9697
sof2
9798
sol
9899
squad

lgsm/data/ubuntu-18.04.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ scpsl,mono-complete
9393
scpslsm,mono-complete
9494
sdtd,telnet,expect
9595
sfc,libtinfo5:i386
96+
sf
9697
sof2
9798
sol
9899
squad

lgsm/data/ubuntu-20.04.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ scpsl,mono-complete
9393
scpslsm,mono-complete
9494
sdtd,telnet,expect
9595
sfc,libtinfo5:i386
96+
sf
9697
sof2
9798
sol
9899
squad

lgsm/data/ubuntu-21.04.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ scpsl,mono-complete
9393
scpslsm,mono-complete
9494
sdtd,telnet,expect
9595
sfc,libtinfo5:i386
96+
sf
9697
sof2
9798
sol
9899
squad

lgsm/functions/info_messages.sh

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,16 +1032,6 @@ fn_info_message_jk2(){
10321032
} | column -s $'\t' -t
10331033
}
10341034

1035-
fn_info_message_lo(){
1036-
echo -e "netstat -atunp | grep MistServer"
1037-
echo -e ""
1038-
{
1039-
echo -e "${lightblue}DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL${default}"
1040-
echo -e "> Game\tINBOUND\t${port}\tudp"
1041-
echo -e "> Query\tINBOUND\t${queryport}\tudp"
1042-
} | column -s $'\t' -t
1043-
}
1044-
10451035
fn_info_message_kf(){
10461036
{
10471037
fn_port "header"
@@ -1342,6 +1332,15 @@ fn_info_message_sdtd(){
13421332
} | column -s $'\t' -t
13431333
}
13441334

1335+
fn_info_message_sf(){
1336+
{
1337+
fn_port "header"
1338+
fn_port "Game" port udp
1339+
fn_port "Query" queryport udp
1340+
fn_port "Beacon" beaconport udp
1341+
} | column -s $'\t' -t
1342+
}
1343+
13451344
fn_info_message_sof2(){
13461345
{
13471346
fn_port "header"
@@ -1653,8 +1652,6 @@ fn_info_message_select_engine(){
16531652
fn_info_message_jc3
16541653
elif [ "${shortname}" == "jk2" ]; then
16551654
fn_info_message_jk2
1656-
elif [ "${shortname}" == "lo" ]; then
1657-
fn_info_message_lo
16581655
elif [ "${shortname}" == "kf" ]; then
16591656
fn_info_message_kf
16601657
elif [ "${shortname}" == "kf2" ]; then
@@ -1707,6 +1704,8 @@ fn_info_message_select_engine(){
17071704
fn_info_message_scpsl
17081705
elif [ "${shortname}" == "sdtd" ]; then
17091706
fn_info_message_sdtd
1707+
elif [ "${shortname}" == "sf" ]; then
1708+
fn_info_message_sf
17101709
elif [ "${shortname}" == "sof2" ]; then
17111710
fn_info_message_sof2
17121711
elif [ "${shortname}" == "sol" ]; then

lgsm/functions/install_config.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,13 @@ elif [ "${shortname}" == "scpsl" ]||[ "${shortname}" == "scpslsm" ]; then
680680
fn_default_config_remote
681681
fn_set_config_vars
682682
fn_list_config_locations
683+
elif [ "${shortname}" == "sf" ]; then
684+
gamedirname="Satisfactory"
685+
array_configs+=( GameUserSettings.ini )
686+
fn_fetch_default_config
687+
fn_default_config_remote
688+
fn_set_config_vars
689+
fn_list_config_locations
683690
elif [ "${shortname}" == "sol" ]; then
684691
gamedirname="Soldat"
685692
array_configs+=( soldat.ini )

linuxgsm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
2020
set -x
2121
fi
2222

23-
version="v21.3.3"
23+
version="v21.4.0"
2424
shortname="core"
2525
gameservername="core"
2626
commandname="CORE"

tests/tests_fctrserver.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
2020
set -x
2121
fi
2222

23-
version="v21.3.3"
23+
version="v21.4.0"
2424
shortname="fctr"
2525
gameservername="fctrserver"
2626
commandname="CORE"

tests/tests_jc2server.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
2020
set -x
2121
fi
2222

23-
version="v21.3.3"
23+
version="v21.4.0"
2424
shortname="jc2"
2525
gameservername="jc2server"
2626
commandname="CORE"

tests/tests_mcserver.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
2020
set -x
2121
fi
2222

23-
version="v21.3.3"
23+
version="v21.4.0"
2424
shortname="mc"
2525
gameservername="mcserver"
2626
commandname="CORE"

0 commit comments

Comments
 (0)