From b07a047f61e992187d476c614581de7f1118a3e8 Mon Sep 17 00:00:00 2001 From: Greelan <53196309+Greelan@users.noreply.github.com> Date: Sun, 20 Feb 2022 19:57:28 +1100 Subject: [PATCH] Pavlov: clean up ini references --- pavlov-vrconfig.json | 32 ++++++++++++++++---------------- pavlov-vrmetaconfig.json | 5 ++--- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/pavlov-vrconfig.json b/pavlov-vrconfig.json index dd71e6f..17546b9 100755 --- a/pavlov-vrconfig.json +++ b/pavlov-vrconfig.json @@ -7,7 +7,7 @@ "FieldName": "ServerName", "InputType": "text", "IsFlagArgument": false, - "ParamFieldName": "ServerName", + "ParamFieldName": "/Script/Pavlov.DedicatedServer.ServerName", "IncludeInCommandLine": false, "DefaultValue": "Pavlov VR Server - Powered by AMP" }, @@ -19,9 +19,9 @@ "FieldName": "bEnabled", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bEnabled", + "ParamFieldName": "/Script/Pavlov.DedicatedServer.bEnabled", "IncludeInCommandLine": false, - "DefaultValue": "true", + "DefaultValue": "false", "EnumValues": { "False": "false", "True": "true" @@ -35,7 +35,7 @@ "FieldName": "ApiKey", "InputType": "password", "IsFlagArgument": false, - "ParamFieldName": "ApiKey", + "ParamFieldName": "/Script/Pavlov.DedicatedServer.ApiKey", "IncludeInCommandLine": false, "DefaultValue": "" }, @@ -47,7 +47,7 @@ "FieldName": "Password", "InputType": "password", "IsFlagArgument": false, - "ParamFieldName": "Password", + "ParamFieldName": "/Script/Pavlov.DedicatedServer.Password", "IncludeInCommandLine": false, "DefaultValue": "0000" }, @@ -71,7 +71,7 @@ "FieldName": "bSecured", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bSecured", + "ParamFieldName": "/Script/Pavlov.DedicatedServer.bSecured", "IncludeInCommandLine": false, "DefaultValue": "true", "EnumValues": { @@ -87,7 +87,7 @@ "FieldName": "bCustomServer", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bCustomServer", + "ParamFieldName": "/Script/Pavlov.DedicatedServer.bCustomServer", "IncludeInCommandLine": false, "DefaultValue": "true", "EnumValues": { @@ -103,7 +103,7 @@ "FieldName": "bCompetitive", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bCompetitive", + "ParamFieldName": "/Script/Pavlov.DedicatedServer.bCompetitive", "IncludeInCommandLine": false, "DefaultValue": "false", "EnumValues": { @@ -119,7 +119,7 @@ "FieldName": "$MaxUsers", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "MaxPlayers", + "ParamFieldName": "/Script/Pavlov.DedicatedServer.MaxPlayers", "IncludeInCommandLine": false, "DefaultValue": "10", "Suffix": "players" @@ -132,7 +132,7 @@ "FieldName": "bWhitelist", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bWhitelist", + "ParamFieldName": "/Script/Pavlov.DedicatedServer.bWhitelist", "IncludeInCommandLine": false, "DefaultValue": "false", "EnumValues": { @@ -187,7 +187,7 @@ "FieldName": "RefreshListTime", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "RefreshListTime", + "ParamFieldName": "/Script/Pavlov.DedicatedServer.RefreshListTime", "IncludeInCommandLine": false, "DefaultValue": "120", "Suffix": "seconds" @@ -200,7 +200,7 @@ "FieldName": "TickRate", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "TickRate", + "ParamFieldName": "/Script/Pavlov.DedicatedServer.TickRate", "IncludeInCommandLine": false, "DefaultValue": "90" }, @@ -212,7 +212,7 @@ "FieldName": "TimeLimit", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "TimeLimit", + "ParamFieldName": "/Script/Pavlov.DedicatedServer.TimeLimit", "IncludeInCommandLine": false, "DefaultValue": "60" }, @@ -224,7 +224,7 @@ "FieldName": "BalanceTableURL", "InputType": "text", "IsFlagArgument": false, - "ParamFieldName": "BalanceTableURL", + "ParamFieldName": "/Script/Pavlov.DedicatedServer.BalanceTableURL", "IncludeInCommandLine": false, "DefaultValue": "vankruptgames/BalancingTable/main" }, @@ -236,7 +236,7 @@ "FieldName": "LimitedAmmoType", "InputType": "enum", "IsFlagArgument": false, - "ParamFieldName": "LimitedAmmoType", + "ParamFieldName": "/Script/Pavlov.DedicatedServer.LimitedAmmoType", "IncludeInCommandLine": false, "DefaultValue": "0", "EnumValues": { @@ -256,7 +256,7 @@ "FieldName": "bVerboseLogging", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bVerboseLogging", + "ParamFieldName": "/Script/Pavlov.DedicatedServer.bVerboseLogging", "IncludeInCommandLine": false, "DefaultValue": "false", "EnumValues": { diff --git a/pavlov-vrmetaconfig.json b/pavlov-vrmetaconfig.json index 37ebc92..40dd8ed 100755 --- a/pavlov-vrmetaconfig.json +++ b/pavlov-vrmetaconfig.json @@ -2,8 +2,7 @@ { "ConfigFile": "Pavlov/Saved/Config/LinuxServer/Game.ini", "AutoMap": true, - "ConfigType": "kvp", - "ConfigFormat": "{0}={1}", + "ConfigType": "ini", "ConfigFormatRegex": "^(?.+?)=(?.*?)$" }, { @@ -20,4 +19,4 @@ } ] } -] \ No newline at end of file +]