Pavlov: Fix enums and bEnabled setting

This commit is contained in:
Greelan 2022-02-21 14:11:04 +11:00
parent fa21c6ea67
commit 27d4933e03
2 changed files with 31 additions and 21 deletions

View File

@ -9,23 +9,22 @@
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "/Script/Pavlov.DedicatedServer.ServerName", "ParamFieldName": "/Script/Pavlov.DedicatedServer.ServerName",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "Pavlov VR Server - Powered by AMP" "DefaultValue": "Pavlov VR Server - Powered by AMP",
"EnumValues": {}
}, },
{ {
"DisplayName": "Include in Server List", "DisplayName": "Include in Server List",
"Category": "Server Settings", "Category": "Server Settings",
"Description": "Requires an API key to be set", "Description": "",
"Keywords": "server list", "Keywords": "",
"FieldName": "bEnabled", "FieldName": "bEnabled",
"InputType": "checkbox", "InputType": "text",
"Hidden": true,
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "/Script/Pavlov.DedicatedServer.bEnabled", "ParamFieldName": "/Script/Pavlov.DedicatedServer.bEnabled",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "false", "DefaultValue": "true",
"EnumValues": { "EnumValues": {}
"False": "false",
"True": "true"
}
}, },
{ {
"DisplayName": "API Key", "DisplayName": "API Key",
@ -37,7 +36,8 @@
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "/Script/Pavlov.DedicatedServer.ApiKey", "ParamFieldName": "/Script/Pavlov.DedicatedServer.ApiKey",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "" "DefaultValue": "",
"EnumValues": {}
}, },
{ {
"DisplayName": "Server Password", "DisplayName": "Server Password",
@ -49,7 +49,8 @@
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "/Script/Pavlov.DedicatedServer.Password", "ParamFieldName": "/Script/Pavlov.DedicatedServer.Password",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "0000" "DefaultValue": "0000",
"EnumValues": {}
}, },
{ {
"DisplayName": "RCON Password", "DisplayName": "RCON Password",
@ -61,7 +62,8 @@
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "", "ParamFieldName": "",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "Password123" "DefaultValue": "Password123",
"EnumValues": {}
}, },
{ {
"DisplayName": "Enable Valve Anti-Cheat (Steam VAC)", "DisplayName": "Enable Valve Anti-Cheat (Steam VAC)",
@ -122,7 +124,8 @@
"ParamFieldName": "/Script/Pavlov.DedicatedServer.MaxPlayers", "ParamFieldName": "/Script/Pavlov.DedicatedServer.MaxPlayers",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "10", "DefaultValue": "10",
"Suffix": "players" "Suffix": "players",
"EnumValues": {}
}, },
{ {
"DisplayName": "Enable Whitelist", "DisplayName": "Enable Whitelist",
@ -151,7 +154,8 @@
"ParamFieldName": "whitelist", "ParamFieldName": "whitelist",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "", "DefaultValue": "",
"Special": "listfile:./pavlovserver/622970/Pavlov/Saved/Config/whitelist.txt" "Special": "listfile:./pavlovserver/622970/Pavlov/Saved/Config/whitelist.txt",
"EnumValues": {}
}, },
{ {
"DisplayName": "Blacklisted Players", "DisplayName": "Blacklisted Players",
@ -164,7 +168,8 @@
"ParamFieldName": "blacklist", "ParamFieldName": "blacklist",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "", "DefaultValue": "",
"Special": "listfile:./pavlovserver/622970/Pavlov/Saved/Config/blacklist.txt" "Special": "listfile:./pavlovserver/622970/Pavlov/Saved/Config/blacklist.txt",
"EnumValues": {}
}, },
{ {
"DisplayName": "Server Moderators", "DisplayName": "Server Moderators",
@ -177,7 +182,8 @@
"ParamFieldName": "mods", "ParamFieldName": "mods",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "", "DefaultValue": "",
"Special": "listfile:./pavlovserver/622970/Pavlov/Saved/Config/mods.txt" "Special": "listfile:./pavlovserver/622970/Pavlov/Saved/Config/mods.txt",
"EnumValues": {}
}, },
{ {
"DisplayName": "Refresh Interval", "DisplayName": "Refresh Interval",
@ -190,7 +196,8 @@
"ParamFieldName": "/Script/Pavlov.DedicatedServer.RefreshListTime", "ParamFieldName": "/Script/Pavlov.DedicatedServer.RefreshListTime",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "120", "DefaultValue": "120",
"Suffix": "seconds" "Suffix": "seconds",
"EnumValues": {}
}, },
{ {
"DisplayName": "Server Tick Rate", "DisplayName": "Server Tick Rate",
@ -202,7 +209,8 @@
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "/Script/Pavlov.DedicatedServer.TickRate", "ParamFieldName": "/Script/Pavlov.DedicatedServer.TickRate",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "90" "DefaultValue": "90",
"EnumValues": {}
}, },
{ {
"DisplayName": "Map Time Limit", "DisplayName": "Map Time Limit",
@ -214,7 +222,8 @@
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "/Script/Pavlov.DedicatedServer.TimeLimit", "ParamFieldName": "/Script/Pavlov.DedicatedServer.TimeLimit",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "60" "DefaultValue": "60",
"EnumValues": {}
}, },
{ {
"DisplayName": "Balance Table URL", "DisplayName": "Balance Table URL",
@ -226,7 +235,8 @@
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "/Script/Pavlov.DedicatedServer.BalanceTableURL", "ParamFieldName": "/Script/Pavlov.DedicatedServer.BalanceTableURL",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "vankruptgames/BalancingTable/main" "DefaultValue": "vankruptgames/BalancingTable/main",
"EnumValues": {}
}, },
{ {
"DisplayName": "Limited Ammo Mode", "DisplayName": "Limited Ammo Mode",

View File

@ -1,6 +1,6 @@
[/Script/Pavlov.DedicatedServer] [/Script/Pavlov.DedicatedServer]
bEnabled=true
ServerName=Pavlov VR Server - Powered by AMP ServerName=Pavlov VR Server - Powered by AMP
bEnabled=false
MaxPlayers=10 MaxPlayers=10
ApiKey= ApiKey=
bSecured=true bSecured=true