Fix for Always Requiring a password

Changed how passwords are handled for IS Sever. Fixed Password Field to be hidden for support tab, and Updated Server Config Page to allow for new configuration options. Will add support for game.ini at a later date.
This commit is contained in:
Shinynecrid 2022-02-01 11:43:10 -06:00
parent af6ca969a4
commit 6e26543b4b
2 changed files with 18 additions and 2 deletions

View File

@ -3,7 +3,7 @@ App.ApplicationPort1=27102
App.ApplicationPort2=27131 App.ApplicationPort2=27131
App.ApplicationReadyMode=RCONConnected 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}} -RconListenPort={{$RemoteAdminPort}} -log -GameStats {{$FormattedArgs}} App.CommandLineArgs=App.CommandLineArgs={{Map}}?Scenario={{Scenario}}{{password_enabled}}{{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

View File

@ -87,7 +87,7 @@
"Description": "Sets a password for the server", "Description": "Sets a password for the server",
"Keywords": "Password", "Keywords": "Password",
"FieldName": "Password", "FieldName": "Password",
"InputType": "text", "InputType": "password",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "Password", "ParamFieldName": "Password",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
@ -95,6 +95,22 @@
"EnumValues": {}, "EnumValues": {},
"SkipIfEmpty": true "SkipIfEmpty": true
}, },
{
"DisplayName": "Password Enabled",
"Category": "Server Config",
"Description": "Enables the server password",
"Keywords": "Password",
"FieldName": "password_enabled",
"InputType": "checkbox",
"IsFlagArgument": false,
"ParamFieldName": "password_enabled",
"IncludeInCommandLine": false,
"DefaultValue": "",
"EnumValues": {
"False": "",
"True": "?password="
}
},
{ {
"DisplayName": "Mutator", "DisplayName": "Mutator",
"Category": "Server Config", "Category": "Server Config",