Update Configuration and Allow Skippable Settings

Fixed a few things with the configuration file
This commit is contained in:
Shinynecrid 2022-02-01 09:35:25 -06:00
parent 3282517417
commit af6ca969a4
2 changed files with 80 additions and 18 deletions

View File

@ -1,16 +1,16 @@
App.AdminMethod=SourceRCON App.AdminMethod=SourceRCON
App.ApplicationPort1=27102 App.ApplicationPort1=27102
App.ApplicationPort2=27131 App.ApplicationPort2=27131
App.ApplicationReadyMode=Immediate App.ApplicationReadyMode=RCONConnected
App.BaseDirectory=./insurgencysandstorm/581330/ 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.CommandLineArgs={{Map}}?Scenario={{Scenario}}?password={{Password}}?MaxPlayers={{$MaxUsers}} -Port={{$ApplicationPort1}} -QueryPort={{$ApplicationPort2}} -Rcon -RconPassword={{$RemoteAdminPassword}} -RconListenPort={{$RemoteAdminPort}} -log -GameStats {{$FormattedArgs}}
App.CommandLineParameterDelimiter= App.CommandLineParameterDelimiter=
App.CommandLineParameterFormat=-{0}="{1}" App.CommandLineParameterFormat=-{0}="{1}"
App.DisplayName=InsurgencySandstorm App.DisplayName=InsurgencySandstorm
App.EnvironmentVariables={"LD_LIBRARY_PATH": "./linux64:%LD_LIBRARY_PATH%", "SteamAppId": "581320"} App.EnvironmentVariables={"LD_LIBRARY_PATH": "./linux64:%LD_LIBRARY_PATH%", "SteamAppId": "581320"}
App.ExecutableLinux=581330/Insurgency/Binaries/Linux/InsurgencyServer-Linux-Shipping App.ExecutableLinux=581330/Insurgency/Binaries/Linux/InsurgencyServer-Linux-Shipping
App.ExecutableWin=581330\Insurgency\Binaries\Win64\InsurgencyServer-Win64-Shipping.exe App.ExecutableWin=581330\Insurgency\Binaries\Win64\InsurgencyServer-Win64-Shipping.exe
App.ExitMethod=OS_Close App.ExitMethod=String
App.ExitString=quit App.ExitString=quit
App.RCONConnectDelaySeconds=45 App.RCONConnectDelaySeconds=45
App.RCONConnectRetrySeconds=15 App.RCONConnectRetrySeconds=15
@ -33,7 +33,7 @@ Meta.ConfigManifest=insurgencysandstormconfig.json
Meta.ConfigRoot=insurgencysandstorm.kvp Meta.ConfigRoot=insurgencysandstorm.kvp
Meta.Description=Insurgency Sandstorm Dedicated Server Meta.Description=Insurgency Sandstorm Dedicated Server
Meta.DisplayImageSource=steam:581320 Meta.DisplayImageSource=steam:581320
Meta.DisplayName=InsurgencySandstorm Meta.DisplayName=Insurgency Sandstorm
Meta.EndpointURIFormat= Meta.EndpointURIFormat=
Meta.OS=3 Meta.OS=3
Meta.URL=https://steamdb.info/app/581330/ Meta.URL=https://steamdb.info/app/581330/

View File

@ -1,7 +1,7 @@
[ [
{ {
"DisplayName": "Map", "DisplayName": "Map",
"Category": "Server Configuration", "Category": "Server Config",
"Description": "Set the maps starting server", "Description": "Set the maps starting server",
"Keywords": "Map", "Keywords": "Map",
"FieldName": "Map", "FieldName": "Map",
@ -10,11 +10,12 @@
"ParamFieldName": "Map", "ParamFieldName": "Map",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "Oilfield", "DefaultValue": "Oilfield",
"EnumValues": {} "EnumValues": {},
"SkipIfEmpty": true
}, },
{ {
"DisplayName": "Scenario", "DisplayName": "Scenario",
"Category": "Server Configuration", "Category": "Server Config",
"Description": "Set the server scenario", "Description": "Set the server scenario",
"Keywords": "Scenario", "Keywords": "Scenario",
"FieldName": "Scenario", "FieldName": "Scenario",
@ -23,11 +24,12 @@
"ParamFieldName": "Scenario", "ParamFieldName": "Scenario",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "Scenario_Refinery_Push_Security", "DefaultValue": "Scenario_Refinery_Push_Security",
"EnumValues": {} "EnumValues": {},
"SkipIfEmpty": true
}, },
{ {
"DisplayName": "Hostname", "DisplayName": "Hostname",
"Category": "Server Configuration", "Category": "Server Config",
"Description": "Set the servers hostname", "Description": "Set the servers hostname",
"Keywords": "Hostname", "Keywords": "Hostname",
"FieldName": "Hostname", "FieldName": "Hostname",
@ -40,7 +42,7 @@
}, },
{ {
"DisplayName": "Token", "DisplayName": "Token",
"Category": "Server Configuration", "Category": "Server Config",
"Description": "Set the steam GSLTToken", "Description": "Set the steam GSLTToken",
"Keywords": "Token", "Keywords": "Token",
"FieldName": "GSLTToken", "FieldName": "GSLTToken",
@ -49,11 +51,12 @@
"ParamFieldName": "GSLTToken", "ParamFieldName": "GSLTToken",
"IncludeInCommandLine": true, "IncludeInCommandLine": true,
"DefaultValue": "1234567890", "DefaultValue": "1234567890",
"EnumValues": {} "EnumValues": {},
"SkipIfEmpty": true
}, },
{ {
"DisplayName": "Max Players", "DisplayName": "Max Players",
"Category": "Server Configuration", "Category": "Server Config",
"Description": "Set server maximum amount of players", "Description": "Set server maximum amount of players",
"Keywords": "Max Users", "Keywords": "Max Users",
"FieldName": "$MaxUsers", "FieldName": "$MaxUsers",
@ -66,7 +69,7 @@
}, },
{ {
"DisplayName": "Game Stats Token", "DisplayName": "Game Stats Token",
"Category": "Server Configuration", "Category": "Server Config",
"Description": "Set the game stats token for XP Gain", "Description": "Set the game stats token for XP Gain",
"Keywords": "Stats", "Keywords": "Stats",
"FieldName": "GameStatsToken", "FieldName": "GameStatsToken",
@ -75,11 +78,12 @@
"ParamFieldName": "GameStatsToken", "ParamFieldName": "GameStatsToken",
"IncludeInCommandLine": true, "IncludeInCommandLine": true,
"DefaultValue": "1234567890", "DefaultValue": "1234567890",
"EnumValues": {} "EnumValues": {},
"SkipIfEmpty": true
}, },
{ {
"DisplayName": "Password", "DisplayName": "Password",
"Category": "Server Configuration", "Category": "Server Config",
"Description": "Sets a password for the server", "Description": "Sets a password for the server",
"Keywords": "Password", "Keywords": "Password",
"FieldName": "Password", "FieldName": "Password",
@ -88,11 +92,12 @@
"ParamFieldName": "Password", "ParamFieldName": "Password",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "", "DefaultValue": "",
"EnumValues": {} "EnumValues": {},
"SkipIfEmpty": true
}, },
{ {
"DisplayName": "Mutator", "DisplayName": "Mutator",
"Category": "Server Configuration", "Category": "Server Config",
"Description": "Set a server mutator", "Description": "Set a server mutator",
"Keywords": "Mutator", "Keywords": "Mutator",
"FieldName": "mutators", "FieldName": "mutators",
@ -101,6 +106,63 @@
"ParamFieldName": "mutators", "ParamFieldName": "mutators",
"IncludeInCommandLine": true, "IncludeInCommandLine": true,
"DefaultValue": "", "DefaultValue": "",
"EnumValues": {} "EnumValues": {},
"SkipIfEmpty": true
},
{
"DisplayName": "Map Cycle",
"Category": "Server Config",
"Description": "Tell the server which map cycle text file to use",
"Keywords": "Map",
"FieldName": "MapCycle",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "MapCycle",
"IncludeInCommandLine": true,
"DefaultValue": "",
"EnumValues": {},
"SkipIfEmpty": true
},
{
"DisplayName": "Rule Set",
"Category": "Server Config",
"Description": "Set the rules for the server",
"Keywords": "Rules",
"FieldName": "ruleset",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "ruleset",
"IncludeInCommandLine": true,
"DefaultValue": "OfficialRules",
"EnumValues": {},
"SkipIfEmpty": true
},
{
"DisplayName": "MOTD",
"Category": "Server Config",
"Description": "Set the server MOTD file",
"Keywords": "MOTD",
"FieldName": "motd",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "motd",
"IncludeInCommandLine": true,
"DefaultValue": "",
"EnumValues": {},
"SkipIfEmpty": true
},
{
"DisplayName": "Admin List",
"Category": "Server Config",
"Description": "set Admin List File for the server",
"Keywords": "Admin",
"FieldName": "AdminList",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "AdminList",
"IncludeInCommandLine": true,
"DefaultValue": "",
"EnumValues": {},
"SkipIfEmpty": true
} }
] ]