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.ApplicationReadyMode=RCONConnected
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.CommandLineParameterFormat=-{0}="{1}"
App.DisplayName=InsurgencySandstorm

View File

@ -87,7 +87,7 @@
"Description": "Sets a password for the server",
"Keywords": "Password",
"FieldName": "Password",
"InputType": "text",
"InputType": "password",
"IsFlagArgument": false,
"ParamFieldName": "Password",
"IncludeInCommandLine": false,
@ -95,6 +95,22 @@
"EnumValues": {},
"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",
"Category": "Server Config",