fix(st): Networking and server rebuild update (#3898)

Networking and the server has been rebuild from scratch many commands have been lost and shutdown has changed.

# Description
Added:
servername

Modified:
startparameters changed, transfered over commands to new format.
stopmode changed, it needs a quit command now in the console.

Removed:
clearinterval
default.ini got removed, it's now all in setting.xml

# Comment
Server has been rebuild from scratch commands and dependencies have changed as a result.
This commit is contained in:
Neouni 2022-06-22 23:24:19 +02:00 committed by GitHub
parent 38592424c8
commit fd4a8a4fb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,16 +10,17 @@
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
ip="0.0.0.0"
servername="LinuxGSM"
port="27500"
queryport="27015"
worldtype="Moon"
maxplayers="10"
autosaveinterval=300
clearinterval=60
worldname="moon_save"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
# Edit with care
startparameters="-batchmode -nographics -autostart -gameport=${port} -updateport=${queryport} -worldtype=${worldtype} -loadworld=${worldname} -worldname=${worldname} -autosaveinterval=${autosaveinterval} -clearallinterval=${clearinterval}"
startparameters="-NEWGAME ${worldtype} -LOADGAME ${worldname} -settings ServerName ${servername} StartLocalHost true ServerVisible true ServerMaxPlayers ${maxplayers} GamePort ${port} UpdatePort ${queryport} UPNPEnabled true AutoSave true SaveInterval ${autosaveinterval}"
#### LinuxGSM Settings ####
@ -139,7 +140,7 @@ steammaster="false"
# 9: GoldSrc
# 10: Avorion
# 11: end
stopmode="2"
stopmode="3"
## Query mode
# 1: session only
@ -168,8 +169,8 @@ systemdir="${serverfiles}"
executabledir="${serverfiles}"
executable="./rocketstation_DedicatedServer.x86_64"
servercfgdir="${systemdir}"
servercfg="default.ini"
servercfgdefault="default.ini"
servercfg="setting.xml"
servercfgdefault="setting.xml"
servercfgfullpath="${servercfgdir}/${servercfg}"
## Backup Directory