From 32825174179251b73ef5599194d4fd87c3073fde Mon Sep 17 00:00:00 2001 From: Shinynecrid Date: Sun, 30 Jan 2022 19:35:45 -0600 Subject: [PATCH] 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. --- insurgencysandstorm.kvp | 39 ++++++++++++ insurgencysandstormconfig.json | 106 +++++++++++++++++++++++++++++++++ 2 files changed, 145 insertions(+) create mode 100644 insurgencysandstorm.kvp create mode 100644 insurgencysandstormconfig.json diff --git a/insurgencysandstorm.kvp b/insurgencysandstorm.kvp new file mode 100644 index 0000000..2714497 --- /dev/null +++ b/insurgencysandstorm.kvp @@ -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/ \ No newline at end of file diff --git a/insurgencysandstormconfig.json b/insurgencysandstormconfig.json new file mode 100644 index 0000000..0eadb97 --- /dev/null +++ b/insurgencysandstormconfig.json @@ -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": {} + } +] \ No newline at end of file