Pavlov: clean up ini references

This commit is contained in:
Greelan 2022-02-20 19:57:28 +11:00
parent d030909a85
commit b07a047f61
2 changed files with 18 additions and 19 deletions

View File

@ -7,7 +7,7 @@
"FieldName": "ServerName", "FieldName": "ServerName",
"InputType": "text", "InputType": "text",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "ServerName", "ParamFieldName": "/Script/Pavlov.DedicatedServer.ServerName",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "Pavlov VR Server - Powered by AMP" "DefaultValue": "Pavlov VR Server - Powered by AMP"
}, },
@ -19,9 +19,9 @@
"FieldName": "bEnabled", "FieldName": "bEnabled",
"InputType": "checkbox", "InputType": "checkbox",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "bEnabled", "ParamFieldName": "/Script/Pavlov.DedicatedServer.bEnabled",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "true", "DefaultValue": "false",
"EnumValues": { "EnumValues": {
"False": "false", "False": "false",
"True": "true" "True": "true"
@ -35,7 +35,7 @@
"FieldName": "ApiKey", "FieldName": "ApiKey",
"InputType": "password", "InputType": "password",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "ApiKey", "ParamFieldName": "/Script/Pavlov.DedicatedServer.ApiKey",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "" "DefaultValue": ""
}, },
@ -47,7 +47,7 @@
"FieldName": "Password", "FieldName": "Password",
"InputType": "password", "InputType": "password",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "Password", "ParamFieldName": "/Script/Pavlov.DedicatedServer.Password",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "0000" "DefaultValue": "0000"
}, },
@ -71,7 +71,7 @@
"FieldName": "bSecured", "FieldName": "bSecured",
"InputType": "checkbox", "InputType": "checkbox",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "bSecured", "ParamFieldName": "/Script/Pavlov.DedicatedServer.bSecured",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "true", "DefaultValue": "true",
"EnumValues": { "EnumValues": {
@ -87,7 +87,7 @@
"FieldName": "bCustomServer", "FieldName": "bCustomServer",
"InputType": "checkbox", "InputType": "checkbox",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "bCustomServer", "ParamFieldName": "/Script/Pavlov.DedicatedServer.bCustomServer",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "true", "DefaultValue": "true",
"EnumValues": { "EnumValues": {
@ -103,7 +103,7 @@
"FieldName": "bCompetitive", "FieldName": "bCompetitive",
"InputType": "checkbox", "InputType": "checkbox",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "bCompetitive", "ParamFieldName": "/Script/Pavlov.DedicatedServer.bCompetitive",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "false", "DefaultValue": "false",
"EnumValues": { "EnumValues": {
@ -119,7 +119,7 @@
"FieldName": "$MaxUsers", "FieldName": "$MaxUsers",
"InputType": "number", "InputType": "number",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "MaxPlayers", "ParamFieldName": "/Script/Pavlov.DedicatedServer.MaxPlayers",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "10", "DefaultValue": "10",
"Suffix": "players" "Suffix": "players"
@ -132,7 +132,7 @@
"FieldName": "bWhitelist", "FieldName": "bWhitelist",
"InputType": "checkbox", "InputType": "checkbox",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "bWhitelist", "ParamFieldName": "/Script/Pavlov.DedicatedServer.bWhitelist",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "false", "DefaultValue": "false",
"EnumValues": { "EnumValues": {
@ -187,7 +187,7 @@
"FieldName": "RefreshListTime", "FieldName": "RefreshListTime",
"InputType": "number", "InputType": "number",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "RefreshListTime", "ParamFieldName": "/Script/Pavlov.DedicatedServer.RefreshListTime",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "120", "DefaultValue": "120",
"Suffix": "seconds" "Suffix": "seconds"
@ -200,7 +200,7 @@
"FieldName": "TickRate", "FieldName": "TickRate",
"InputType": "number", "InputType": "number",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "TickRate", "ParamFieldName": "/Script/Pavlov.DedicatedServer.TickRate",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "90" "DefaultValue": "90"
}, },
@ -212,7 +212,7 @@
"FieldName": "TimeLimit", "FieldName": "TimeLimit",
"InputType": "number", "InputType": "number",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "TimeLimit", "ParamFieldName": "/Script/Pavlov.DedicatedServer.TimeLimit",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "60" "DefaultValue": "60"
}, },
@ -224,7 +224,7 @@
"FieldName": "BalanceTableURL", "FieldName": "BalanceTableURL",
"InputType": "text", "InputType": "text",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "BalanceTableURL", "ParamFieldName": "/Script/Pavlov.DedicatedServer.BalanceTableURL",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "vankruptgames/BalancingTable/main" "DefaultValue": "vankruptgames/BalancingTable/main"
}, },
@ -236,7 +236,7 @@
"FieldName": "LimitedAmmoType", "FieldName": "LimitedAmmoType",
"InputType": "enum", "InputType": "enum",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "LimitedAmmoType", "ParamFieldName": "/Script/Pavlov.DedicatedServer.LimitedAmmoType",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "0", "DefaultValue": "0",
"EnumValues": { "EnumValues": {
@ -256,7 +256,7 @@
"FieldName": "bVerboseLogging", "FieldName": "bVerboseLogging",
"InputType": "checkbox", "InputType": "checkbox",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "bVerboseLogging", "ParamFieldName": "/Script/Pavlov.DedicatedServer.bVerboseLogging",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "false", "DefaultValue": "false",
"EnumValues": { "EnumValues": {

View File

@ -2,8 +2,7 @@
{ {
"ConfigFile": "Pavlov/Saved/Config/LinuxServer/Game.ini", "ConfigFile": "Pavlov/Saved/Config/LinuxServer/Game.ini",
"AutoMap": true, "AutoMap": true,
"ConfigType": "kvp", "ConfigType": "ini",
"ConfigFormat": "{0}={1}",
"ConfigFormatRegex": "^(?<key>.+?)=(?<value>.*?)$" "ConfigFormatRegex": "^(?<key>.+?)=(?<value>.*?)$"
}, },
{ {