Browse Source
feat: Update UE4/UE5 parameters and configs (#4378 )
* feat(ark): move rconport and maxplayers to config
* feat(sbots): removed ? from parameters
* feat(tu): shuffle parameters and use pascal case
* feat(mom): Pascal Case parameters
* add ohd configs
* re order
* sync with configs
* feat(btl): standardise configs and parameters to match other ue4 games
* standardise
* feat(sf): upgrade to ue5
* add ram requirements to satisfactory
* sf fix
* tidy up parameters
* update ark parameters
* minor changes
* updated the isle to UE5
* add game server docs
* move log
* tidy
pull/4386/head
Daniel Gibbs
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with
38 additions and
33 deletions
lgsm/config-default/config-lgsm/arkserver/_default.cfg
lgsm/config-default/config-lgsm/btlserver/_default.cfg
lgsm/config-default/config-lgsm/hcuserver/_default.cfg
lgsm/config-default/config-lgsm/inssserver/_default.cfg
lgsm/config-default/config-lgsm/mhserver/_default.cfg
lgsm/config-default/config-lgsm/momserver/_default.cfg
lgsm/config-default/config-lgsm/ohdserver/_default.cfg
lgsm/config-default/config-lgsm/onsetserver/_default.cfg
lgsm/config-default/config-lgsm/psserver/_default.cfg
lgsm/config-default/config-lgsm/pvrserver/_default.cfg
lgsm/config-default/config-lgsm/sbotsserver/_default.cfg
lgsm/config-default/config-lgsm/sfserver/_default.cfg
lgsm/config-default/config-lgsm/squadserver/_default.cfg
lgsm/config-default/config-lgsm/tiserver/_default.cfg
lgsm/config-default/config-lgsm/tuserver/_default.cfg
lgsm/config-default/config-lgsm/ut3server/_default.cfg
lgsm/modules/check_system_requirements.sh
lgsm/modules/info_game.sh
lgsm/modules/info_messages.sh
lgsm/modules/install_config.sh
@ -12,14 +12,13 @@
ip = "0.0.0.0"
port = "7777"
queryport = "27015"
rconport = "27020"
# Default Map: TheIsland, Ragnarok, CrystalIsles, Aberration_P, ScorchedEarth_P, TheCenter, Extinction, Valguero_P, Genesis, Gen2
defaultmap = "TheIsland"
altsavedirectoryname = "${defaultmap}"
maxplayers = "70"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters = "${defaultmap}?AltSaveDirectoryName=${altsavedirectoryname}?listen?MultiHome=${ip}?MaxPlayers=${maxplayers}?QueryPort=${queryport}?RCONPort=${rconport}?Port=${port} -automanagedmods -crossplay -PublicIPForEpic=${publicip}"
## Game Server Docs | https://ark.wiki.gg/wiki/Server_configuration
startparameters = "${defaultmap}?AltSaveDirectoryName=${altsavedirectoryname} -MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -AutoManagedMods -Crossplay -PublicIPForEpic=${publicip} -log"
#### LinuxGSM Settings ####
@ -14,7 +14,7 @@ port="7777"
queryport = "7780"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters = "/Game/Maps/Final_Maps/Derailed?Game=/Script/ShooterGame.WartideGameMode?listen -log -broadcastip=\"${publicip}\" -PORT=${port} -QueryPort=${queryport} -defgameini=\"${servercfgfullpath}\" "
startparameters = "-Port=${port} -QueryPort=${queryport} -BroadcastIp=${publicip} -log "
#### LinuxGSM Settings ####
@ -157,8 +157,8 @@ systemdir="${serverfiles}/Battalion"
executabledir = "${systemdir}/Binaries/Linux"
executable = "./BattalionServer-Linux-Shipping"
servercfgdir = "${systemdir}/Saved/Config/LinuxServer"
servercfg = "${selfname} .ini"
servercfgdefault = "Default Game.ini"
servercfg = "Game .ini"
servercfgdefault = "Game.ini"
servercfgfullpath = "${servercfgdir}/${servercfg}"
## Backup Directory
@ -17,7 +17,7 @@ queryport="27015"
servername = "LinuxGSM"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters = "${defaultmap}?Difficulty=1?Game=DM?MapList=KidsBedroom,Playground,Garden,Hallway_Simple,Bathroom,Hallway_Hard,Attic_Daytime,Shed,ToyPalace,Kitchen,Garage? MaxPlayers=${maxplayers}?WeaponTypes=7?TimeLimit=600?ScoreLimit=30?Teamplay -ServerName='${servername}' -Port=${port} -QueryPort=${queryport} -NOCONSOLE -unattended "
startparameters = "${defaultmap}?MaxPlayers=${maxplayers} -ServerName='${servername}' -Port=${port} -QueryPort=${queryport}"
## Server Parameters for Plague mode
#startparameters="${defaultmap}?Game=PL?MapList=KidsBedroom,Garden,Hallway_Simple,Attic_Daytime,Garage,Shed,Kitchen,Hallway_Hard,ToyPalace,Bathroom?MaxPlayers=${maxplayers}?WeaponTypes=7?TimeLimit=600 -ServerName='${servername}' -Port=${port} -QueryPort=${queryport} -NOCONSOLE -unattended"
@ -15,8 +15,8 @@ queryport="27131"
rconport = "27015"
rconpassword = ""
servername = "LinuxGSM"
defaultmap = "Canyon "
defaultscenario = "Scenario_Crossing _Push_Security"
defaultmap = "Oilfield "
defaultscenario = "Scenario_Refinery _Push_Security"
maxplayers = "28"
## Game Server Login Token (GSLT): Optional
@ -25,7 +25,7 @@ maxplayers="28"
gslt = ""
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
## Paramet er Docs | https://mod.io/g/insurgencysandstorm/r/server-admin-guide
## Game Serv er Docs | https://mod.io/g/insurgencysandstorm/r/server-admin-guide
startparameters = "${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers} -Port=${port} -QueryPort=${queryport} -hostname='${servername}' -Rcon -RconPassword=${rconpassword} -RconListenPort=${rconport} -GSLTToken=${gslt} -log"
#### LinuxGSM Settings ####
@ -17,7 +17,8 @@ queryport="27015"
defaultmap = "FFA_ThePit"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters = "Mordhau ${defaultmap} -log -MultiHome=${ip} -Port=${port} -BeaconPort=${beaconport} -QueryPort=${queryport} -GameIni=${servercfgfullpath}"
## Game Server Docs | https://mordhau.fandom.com/wiki/Dedicated_Server_Hosting_Guide
startparameters = "Mordhau ${defaultmap} -MultiHome=${ip} -Port=${port} -BeaconPort=${beaconport} -QueryPort=${queryport} -GameIni=${servercfgfullpath} -log"
#### LinuxGSM Settings ####
@ -14,7 +14,8 @@ port="7777"
beaconport = "15000"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters = "-port="${port}" -beaconport="${beaconport}" -MULTIHOME="${ip}""
## Game Server Docs | https://memoriesofmars.fandom.com/wiki/Dedicated_Servers
startparameters = "-MultiHome=${ip} -Port=${port} -BeaconPort=${beaconport} -log"
#### LinuxGSM Settings ####
@ -12,14 +12,14 @@
ip = "0.0.0.0"
port = "7777"
queryport = "27005"
rconport = "7778"
servername = "LinuxGSM"
serverpassword = ""
# Maps: risala, khafji_p, lamdong, montecassino, argonne
defaultmap = "AAS-TestMap"
maxplayers = "16"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters = "${defaultmap}?MaxPlayers=${maxplayers}?Password=${serverpassword} -Port=${port} -QueryPort=${query port} -SteamServerName='${servername}' -log"
startparameters = "${defaultmap}?MaxPlayers=${maxplayers} -MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -RconPort=${rcon port} -SteamServerName='${servername}' -log"
#### LinuxGSM Settings ####
@ -9,6 +9,7 @@
#### Game Server Settings ####
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
## Game Server Docs | https://dev.playonset.com/wiki/DedicatedServer
startparameters = "--config ${servercfgfullpath}"
#### LinuxGSM Settings ####
@ -10,15 +10,11 @@
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
ip = "0.0.0.0"
maxplayers = "40"
port = "10027"
queryport = "10037"
randommap = "NONE"
reservedslots = "0"
tickrate = "50"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters = "MULTIHOME=${ip} RANDOM=${randommap} Port=${port} QueryPort=${queryport} FIXEDMAXPLAYERS=${maxplayers} FIXEDMAXTICKRATE=${tickrate} NumReservedSlots=${reservedslots} "
startparameters = "-MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -log"
#### LinuxGSM Settings ####
@ -17,7 +17,8 @@ defaultmap="datacenter"
apikey = ""
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters = "Pavlov ${defaultmap} -log -MultiHome=${ip} -Port=${port} ApiKey=${apikey}"
## Game Server Docs | http://pavlovwiki.com/index.php/Setting_up_a_dedicated_server
startparameters = "Pavlov ${defaultmap} -MultiHome=${ip} -Port=${port} ApiKey=${apikey} -log"
#### LinuxGSM Settings ####
@ -149,7 +150,7 @@ consoleinteract="no"
## Game Server Details
# Do not edit
gamename = "Pavlov VR"
engine = "unreal4 "
engine = "unreal5 "
glibc = "2.17"
#### Directories ####
@ -15,7 +15,7 @@ defaultmap="StationKappa"
servername = "LinuxGSM"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters = "Port=${port}?QueryPort=${queryport} -startup_map ${defaultmap} -server_name \"${servername}\" "
startparameters = "-MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -startup_map ${defaultmap} -server_name '${servername}' "
#### LinuxGSM Settings ####
@ -15,7 +15,8 @@ beaconport="15000"
port = "7777"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters = "FactoryGame -multihome=${ip} -ServerQueryPort=${queryport} -BeaconPort=${beaconport} -Port=${port} -log -unattended"
## Game Server Docs | https://satisfactory.fandom.com/wiki/Dedicated_servers
startparameters = "FactoryGame -MultiHome=${ip} -Port=${port} -ServerQueryPort=${queryport} -BeaconPort=${beaconport} -log"
#### LinuxGSM Settings ####
@ -147,7 +148,7 @@ consoleinteract="no"
## Game Server Details
# Do not edit
gamename = "Satisfactory"
engine = "unreal4 "
engine = "unreal5 "
glibc = "2.17"
#### Directories ####
@ -156,7 +157,7 @@ glibc="2.17"
## Game Server Directories
systemdir = "${serverfiles}/FactoryGame"
executabledir = "${serverfiles}/Engine/Binaries/Linux"
executable = "./UE4 Server-Linux-Shipping"
executable = "./Unreal Server-Linux-Shipping"
servercfgdir = "${systemdir}/Saved/Config/LinuxServer"
servercfg = "GameUserSettings.ini"
servercfgdefault = "GameUserSettings.ini"
@ -11,10 +11,10 @@
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
port = "7787"
queryport = "27165"
randommap = "ALWAYS"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters = "MULTIHOME=${ip} RANDOM=${randommap} Port=${port} QueryPort=${queryport}"
## Game Server Docs | https://squad.fandom.com/wiki/Dedicated_server
startparameters = "-MultiHome=${ip} -Port=${port} -QueryPort=${queryport}"
#### LinuxGSM Settings ####
@ -14,6 +14,7 @@ port="7777"
defaultmap = "/Game/TheIsle/Maps/Game/Isla_Spiro/Isla_Spiro"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
## Game Server Docs | https://isle.fandom.com/wiki/The_Isle_Server_Settings_and_Configuration
startparameters = "${defaultmap} -Port=${port} -log"
#### LinuxGSM Settings ####
@ -146,7 +147,7 @@ consoleinteract="no"
## Game Server Details
# Do not edit
gamename = "The Isle"
engine = "unreal4 "
engine = "unreal5 "
glibc = "2.17"
#### Directories ####
@ -19,7 +19,7 @@ queryport="27015"
gslt = ""
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters = "-log - MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -TowerServerINI=${selfname}.ini"
startparameters = "-MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -TowerServerINI=${selfname}.ini -log "
#### LinuxGSM Settings ####
@ -29,7 +29,7 @@ gspassword=""
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
# List of game types and mutators: https://docs.linuxgsm.com/game-servers/unreal-tournament-3
startparameters = "server ${defaultmap}?Game=${game}?bIsDedicated=${isdedicated}?bIsLanMatch=${islanmatch}?bUsesStats=${usesstats}?bShouldAdvertise=${shouldadvertise}?PureServer=${pureserver}?bAllowJoinInProgress=${allowjoininprogress}?Mutator=${mutators}?ConfigSubDir=${selfname} -login=${gsusername} -password=${gspassword} -port=${port} -queryport=${queryport} -multihome=${ip } -nohomedir -unattended -log=${gamelog}"
startparameters = "server ${defaultmap}?Game=${game}?bIsDedicated=${isdedicated}?bIsLanMatch=${islanmatch}?bUsesStats=${usesstats}?bShouldAdvertise=${shouldadvertise}?PureServer=${pureserver}?bAllowJoinInProgress=${allowjoininprogress}?Mutator=${mutators}?ConfigSubDir=${selfname} -login=${gsusername} -password=${gspassword} -multihome=${ip} - port=${port} -queryport=${queryport} -nohomedir -unattended -log=${gamelog}"
#### LinuxGSM Settings ####
@ -45,6 +45,8 @@ elif [ "${shortname}" == "rust" ]; then
ramrequirementgb = "9"
elif [ " ${ shortname } " = = "sdtd" ] ; then
ramrequirementgb = "4"
elif [ " ${ shortname } " = = "sf" ] ; then
ramrequirementgb = "12"
elif [ " ${ shortname } " = = "squad" ] ; then
ramrequirementgb = "2"
elif [ " ${ shortname } " = = "st" ] ; then
@ -287,6 +287,8 @@ fn_info_game_ac() {
fn_info_game_ark( ) {
if [ -f " ${ servercfgfullpath } " ] ; then
fn_info_game_ini "adminpassword" "ServerAdminPassword"
fn_info_game_ini "maxplayers" "MaxPlayers"
fn_info_game_ini "rconport" "RCONPort"
fn_info_game_ini "servername" "SessionName"
fn_info_game_ini "serverpassword" "ServerPassword"
fi
@ -674,7 +674,7 @@ fn_info_messages_ports_edit() {
fi
done
# engines/games that require editing the start parameters.
local ports_edit_array = ( "av" "ck" "col" "cs2" "fctr" "goldsrc" "hcu" "hw" "iw3.0" "ioquake3" "qfusion" "rust" "scpsl" "scpslsm" "sol" "spark" "source" "unreal4" "arma3" "dayz" "unt" "vh" )
local ports_edit_array = ( "av" "ck" "col" "cs2" "fctr" "goldsrc" "hcu" "hw" "iw3.0" "ioquake3" "qfusion" "rust" "scpsl" "scpslsm" "sf" "s ol" "spark" "source" "unreal4" "arma3" "dayz" "unt" "vh" )
for port_edit in " ${ ports_edit_array [@] } " ; do
if [ " ${ engine } " = = " ${ port_edit } " ] || [ " ${ gamename } " = = " ${ port_edit } " ] || [ " ${ shortname } " = = " ${ port_edit } " ] ; then
startparameterslocation = " ${ configdirserver } "
@ -245,7 +245,7 @@ elif [ "${shortname}" == "bt" ]; then
fn_list_config_locations
elif [ " ${ shortname } " = = "btl" ] ; then
fn_check_cfgdir
array_configs += ( Default Game.ini)
array_configs += ( Game.ini)
fn_fetch_default_config
fn_default_config_remote
fn_set_config_vars
@ -484,7 +484,7 @@ elif [ "${shortname}" == "hldms" ]; then
fn_set_config_vars
fn_list_config_locations
elif [ " ${ shortname } " = = "ohd" ] ; then
array_configs += ( Game.ini)
array_configs += ( Admins.cfg Engine.ini Game.ini MapCycle.cfg )
fn_fetch_default_config
fn_default_config_remote
fn_set_config_vars