Add Insurgency Sandstorm Generic Template

Added Insurgency Sandstorm support to AMP. Support for Windows and Linux, Game INI configuration to be added as a web setting at a later date, as well as cleanup of REGEX.
This commit is contained in:
Shinynecrid 2022-01-30 19:35:45 -06:00
parent d76ee717e5
commit 3282517417
2 changed files with 145 additions and 0 deletions

39
insurgencysandstorm.kvp Normal file
View File

@ -0,0 +1,39 @@
App.AdminMethod=SourceRCON
App.ApplicationPort1=27102
App.ApplicationPort2=27131
App.ApplicationReadyMode=Immediate
App.BaseDirectory=./insurgencysandstorm/581330/
App.CommandLineArgs={{Map}}?Scenario={{Scenario}}?password={{Password}}?MaxPlayers={{$MaxUsers}} -Port={{$ApplicationPort1}} -QueryPort={{$ApplicationPort2}} -Rcon -RconPassword={{$RemoteAdminPassword}} -RconListetnPort={{$RemoteAdminPort}} -log -GameStats {{$FormattedArgs}}
App.CommandLineParameterDelimiter=
App.CommandLineParameterFormat=-{0}="{1}"
App.DisplayName=InsurgencySandstorm
App.EnvironmentVariables={"LD_LIBRARY_PATH": "./linux64:%LD_LIBRARY_PATH%", "SteamAppId": "581320"}
App.ExecutableLinux=581330/Insurgency/Binaries/Linux/InsurgencyServer-Linux-Shipping
App.ExecutableWin=581330\Insurgency\Binaries\Win64\InsurgencyServer-Win64-Shipping.exe
App.ExitMethod=OS_Close
App.ExitString=quit
App.RCONConnectDelaySeconds=45
App.RCONConnectRetrySeconds=15
App.HasReadableConsole=true
App.HasWritableConsole=false
App.RapidStartup=false
App.RemoteAdminPort=27015
App.RootDir=./insurgencysandstorm/
App.UpdateSource=Multi
App.UpdateSources=[{"UpdateStageName": "SteamCMD Download","UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "UpdateSourceData": "581330"}]
App.WorkingDir=581330
App.UseRandomAdminPassword=True
Console.AppReadyRegex=^\[[\d\.]+-[\d\.]+:\d+\]\[[ \d]+\]LogGameState: Match State Changed from WaitingToStart to InProgress$
Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$
Console.UserChatRegex=
Console.UserJoinRegex=
Console.UserLeaveRegex=
Meta.Author=Shinynecrid
Meta.ConfigManifest=insurgencysandstormconfig.json
Meta.ConfigRoot=insurgencysandstorm.kvp
Meta.Description=Insurgency Sandstorm Dedicated Server
Meta.DisplayImageSource=steam:581320
Meta.DisplayName=InsurgencySandstorm
Meta.EndpointURIFormat=
Meta.OS=3
Meta.URL=https://steamdb.info/app/581330/

View File

@ -0,0 +1,106 @@
[
{
"DisplayName": "Map",
"Category": "Server Configuration",
"Description": "Set the maps starting server",
"Keywords": "Map",
"FieldName": "Map",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "Map",
"IncludeInCommandLine": false,
"DefaultValue": "Oilfield",
"EnumValues": {}
},
{
"DisplayName": "Scenario",
"Category": "Server Configuration",
"Description": "Set the server scenario",
"Keywords": "Scenario",
"FieldName": "Scenario",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "Scenario",
"IncludeInCommandLine": false,
"DefaultValue": "Scenario_Refinery_Push_Security",
"EnumValues": {}
},
{
"DisplayName": "Hostname",
"Category": "Server Configuration",
"Description": "Set the servers hostname",
"Keywords": "Hostname",
"FieldName": "Hostname",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "Hostname",
"IncludeInCommandLine": true,
"DefaultValue": "My Server Powered by AMP",
"EnumValues": {}
},
{
"DisplayName": "Token",
"Category": "Server Configuration",
"Description": "Set the steam GSLTToken",
"Keywords": "Token",
"FieldName": "GSLTToken",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "GSLTToken",
"IncludeInCommandLine": true,
"DefaultValue": "1234567890",
"EnumValues": {}
},
{
"DisplayName": "Max Players",
"Category": "Server Configuration",
"Description": "Set server maximum amount of players",
"Keywords": "Max Users",
"FieldName": "$MaxUsers",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "$MaxUsers",
"IncludeInCommandLine": false,
"DefaultValue": "25",
"EnumValues": {}
},
{
"DisplayName": "Game Stats Token",
"Category": "Server Configuration",
"Description": "Set the game stats token for XP Gain",
"Keywords": "Stats",
"FieldName": "GameStatsToken",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "GameStatsToken",
"IncludeInCommandLine": true,
"DefaultValue": "1234567890",
"EnumValues": {}
},
{
"DisplayName": "Password",
"Category": "Server Configuration",
"Description": "Sets a password for the server",
"Keywords": "Password",
"FieldName": "Password",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "Password",
"IncludeInCommandLine": false,
"DefaultValue": "",
"EnumValues": {}
},
{
"DisplayName": "Mutator",
"Category": "Server Configuration",
"Description": "Set a server mutator",
"Keywords": "Mutator",
"FieldName": "mutators",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "mutators",
"IncludeInCommandLine": true,
"DefaultValue": "",
"EnumValues": {}
}
]