Stationeers: add branch setting (#323)

This commit is contained in:
Greelan 2023-04-29 09:38:35 +10:00 committed by GitHub
parent 5bd6939090
commit c888050b66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 1 deletions

View File

@ -48,7 +48,7 @@ App.AdminMethod=STDIO
App.AdminLoginTransform=None
App.RCONConnectDelaySeconds=5
App.RCONConnectRetrySeconds=5
App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"600760","UpdateSourceArgs":"544550"},{"UpdateStageName":"Start Server","UpdateSourcePlatform":"All","UpdateSource":"StartApplication"},{"UpdateStageName":"Wait For Server Start","UpdateSourcePlatform":"All","UpdateSource":"WaitForStartupComplete"},{"UpdateStageName":"Stop Server","UpdateSourcePlatform":"All","UpdateSource":"ShutdownApplication"}]
App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"600760","UpdateSourceArgs":"544550","UpdateSourceVersion":"{{ServerBranch}}"},{"UpdateStageName":"Start Server","UpdateSourcePlatform":"All","UpdateSource":"StartApplication"},{"UpdateStageName":"Wait For Server Start","UpdateSourcePlatform":"All","UpdateSource":"WaitForStartupComplete"},{"UpdateStageName":"Stop Server","UpdateSourcePlatform":"All","UpdateSource":"ShutdownApplication"}]
App.Compatibility=None
App.SteamUpdateAnonymousLogin=True
App.SteamForceLoginPrompt=False

View File

@ -254,5 +254,21 @@
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Server Branch",
"Category":"SteamCMD and Updates",
"Description":"Sets the server branch to install. The client must be on the same version. NOTE: Update the server after switching branches!",
"Keywords":"server,branch,depot",
"FieldName":"ServerBranch",
"InputType":"enum",
"IsFlagArgument":false,
"ParamFieldName":"ServerBranch",
"IncludeInCommandLine":false,
"DefaultValue":"public",
"EnumValues":{
"public":"Public (default)",
"beta":"Beta"
}
}
]