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.ApplicationPort1=27102
App.ApplicationPort2=27131
App.ApplicationReadyMode=Immediate
App.ApplicationReadyMode=RCONConnected
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.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.ExitMethod=String
App.ExitString=quit
App.RCONConnectDelaySeconds=45
App.RCONConnectRetrySeconds=15

View File

@ -1,7 +1,7 @@
[
{
"DisplayName": "Map",
"Category": "Server Configuration",
"Category": "Server Config",
"Description": "Set the maps starting server",
"Keywords": "Map",
"FieldName": "Map",
@ -10,11 +10,12 @@
"ParamFieldName": "Map",
"IncludeInCommandLine": false,
"DefaultValue": "Oilfield",
"EnumValues": {}
"EnumValues": {},
"SkipIfEmpty": true
},
{
"DisplayName": "Scenario",
"Category": "Server Configuration",
"Category": "Server Config",
"Description": "Set the server scenario",
"Keywords": "Scenario",
"FieldName": "Scenario",
@ -23,11 +24,12 @@
"ParamFieldName": "Scenario",
"IncludeInCommandLine": false,
"DefaultValue": "Scenario_Refinery_Push_Security",
"EnumValues": {}
"EnumValues": {},
"SkipIfEmpty": true
},
{
"DisplayName": "Hostname",
"Category": "Server Configuration",
"Category": "Server Config",
"Description": "Set the servers hostname",
"Keywords": "Hostname",
"FieldName": "Hostname",
@ -40,7 +42,7 @@
},
{
"DisplayName": "Token",
"Category": "Server Configuration",
"Category": "Server Config",
"Description": "Set the steam GSLTToken",
"Keywords": "Token",
"FieldName": "GSLTToken",
@ -49,11 +51,12 @@
"ParamFieldName": "GSLTToken",
"IncludeInCommandLine": true,
"DefaultValue": "1234567890",
"EnumValues": {}
"EnumValues": {},
"SkipIfEmpty": true
},
{
"DisplayName": "Max Players",
"Category": "Server Configuration",
"Category": "Server Config",
"Description": "Set server maximum amount of players",
"Keywords": "Max Users",
"FieldName": "$MaxUsers",
@ -66,7 +69,7 @@
},
{
"DisplayName": "Game Stats Token",
"Category": "Server Configuration",
"Category": "Server Config",
"Description": "Set the game stats token for XP Gain",
"Keywords": "Stats",
"FieldName": "GameStatsToken",
@ -75,11 +78,12 @@
"ParamFieldName": "GameStatsToken",
"IncludeInCommandLine": true,
"DefaultValue": "1234567890",
"EnumValues": {}
"EnumValues": {},
"SkipIfEmpty": true
},
{
"DisplayName": "Password",
"Category": "Server Configuration",
"Category": "Server Config",
"Description": "Sets a password for the server",
"Keywords": "Password",
"FieldName": "Password",
@ -88,11 +92,12 @@
"ParamFieldName": "Password",
"IncludeInCommandLine": false,
"DefaultValue": "",
"EnumValues": {}
"EnumValues": {},
"SkipIfEmpty": true
},
{
"DisplayName": "Mutator",
"Category": "Server Configuration",
"Category": "Server Config",
"Description": "Set a server mutator",
"Keywords": "Mutator",
"FieldName": "mutators",
@ -101,6 +106,63 @@
"ParamFieldName": "mutators",
"IncludeInCommandLine": true,
"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
}
]