Christian
4 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with
11 additions and
1 deletions
-
lgsm/config-default/config-lgsm/sfserver/_default.cfg
-
lgsm/modules/command_dev_parse_game_details.sh
-
lgsm/modules/command_dev_query_raw.sh
-
lgsm/modules/info_game.sh
-
lgsm/modules/info_messages.sh
|
@ -12,11 +12,12 @@ |
|
|
ip="0.0.0.0" |
|
|
ip="0.0.0.0" |
|
|
queryport="15777" |
|
|
queryport="15777" |
|
|
beaconport="15000" |
|
|
beaconport="15000" |
|
|
|
|
|
reliableport="8888" |
|
|
port="7777" |
|
|
port="7777" |
|
|
|
|
|
|
|
|
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
|
|
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
|
|
## Game Server Docs | https://satisfactory.fandom.com/wiki/Dedicated_servers |
|
|
## Game Server Docs | https://satisfactory.fandom.com/wiki/Dedicated_servers |
|
|
startparameters="FactoryGame -Port=${port} -ServerQueryPort=${queryport} -BeaconPort=${beaconport} -log" |
|
|
startparameters="FactoryGame -Port=${port} -ServerQueryPort=${queryport} -BeaconPort=${beaconport} -ReliablePort=${reliableport} -log" |
|
|
|
|
|
|
|
|
#### LinuxGSM Settings #### |
|
|
#### LinuxGSM Settings #### |
|
|
|
|
|
|
|
|
|
@ -96,6 +96,7 @@ declare -A server_details=( |
|
|
['RCON Port']="${rconport}" |
|
|
['RCON Port']="${rconport}" |
|
|
['RCON Web']="${rconweb}" |
|
|
['RCON Web']="${rconweb}" |
|
|
['Reserved Slots']="${reservedslots}" |
|
|
['Reserved Slots']="${reservedslots}" |
|
|
|
|
|
['Reliable Messaging']="${reliableport}" |
|
|
['RMI Port']="${rmiport}" |
|
|
['RMI Port']="${rmiport}" |
|
|
['RMI Reg Port']="${rmiregport}" |
|
|
['RMI Reg Port']="${rmiregport}" |
|
|
['Salt']="${salt}" |
|
|
['Salt']="${salt}" |
|
|
|
@ -90,6 +90,12 @@ fn_messages_separator |
|
|
echo -e "Beacon:" |
|
|
echo -e "Beacon:" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ -n "${reliableport}" ]; then |
|
|
|
|
|
echo -e "ReliableMessaging: \t${reliableport} \t$(ss -tupl | grep -c "${reliableport}") \t$(ss -tupl | grep "${reliableport}" | grep tcp | awk '{ print $2 }') \t$(ss -tupl | grep "${reliableport}" | grep udp | awk '{ print $2 }')" |
|
|
|
|
|
else |
|
|
|
|
|
echo -e "ReliableMessaging:" |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
if [ -n "${clientport}" ]; then |
|
|
if [ -n "${clientport}" ]; then |
|
|
echo -e "Client: \t${clientport} \t$(ss -tupl | grep -c "${clientport}") \t$(ss -tupl | grep "${clientport}" | grep tcp | awk '{ print $2 }') \t$(ss -tupl | grep "${clientport}" | grep udp | awk '{ print $2 }')" |
|
|
echo -e "Client: \t${clientport} \t$(ss -tupl | grep -c "${clientport}") \t$(ss -tupl | grep "${clientport}" | grep tcp | awk '{ print $2 }') \t$(ss -tupl | grep "${clientport}" | grep udp | awk '{ print $2 }')" |
|
|
else |
|
|
else |
|
|
|
@ -1993,6 +1993,7 @@ fn_info_game_sf() { |
|
|
port="${port:-"0"}" |
|
|
port="${port:-"0"}" |
|
|
queryport="${queryport:-"0"}" |
|
|
queryport="${queryport:-"0"}" |
|
|
beaconport="${beaconport:-"0"}" |
|
|
beaconport="${beaconport:-"0"}" |
|
|
|
|
|
reliableport="${reliableport:-"0"}" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# Config Type: Parameters (with an ini) |
|
|
# Config Type: Parameters (with an ini) |
|
|
|
@ -1502,6 +1502,7 @@ fn_info_messages_sf() { |
|
|
fn_port "Game" port udp |
|
|
fn_port "Game" port udp |
|
|
fn_port "Query" queryport udp |
|
|
fn_port "Query" queryport udp |
|
|
fn_port "Beacon" beaconport udp |
|
|
fn_port "Beacon" beaconport udp |
|
|
|
|
|
fn_port "ReliableMessaging" reliableport tcp |
|
|
} | column -s $'\t' -t |
|
|
} | column -s $'\t' -t |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|