Updates to various to address null EnumValues bug

Addresses Unturned, Project Zomboid and Astroneer
This commit is contained in:
Greelan
2022-02-22 14:11:55 +11:00
parent 27d4933e03
commit 36affb2e49
3 changed files with 121 additions and 61 deletions

View File

@@ -10,7 +10,8 @@
"Hidden": true,
"ParamFieldName": "Port",
"IncludeInCommandLine": false,
"DefaultValue": "27015"
"DefaultValue": "27015",
"EnumValues":{}
},
{
"DisplayName": "Enable RCON",
@@ -23,7 +24,8 @@
"Hidden": true,
"ParamFieldName": "/RocketSettings/RCON/@Enabled",
"IncludeInCommandLine": false,
"DefaultValue": "true"
"DefaultValue": "true",
"EnumValues":{}
},
{
"DisplayName": "RCON Port",
@@ -36,7 +38,8 @@
"Hidden": true,
"ParamFieldName": "/RocketSettings/RCON/@Port",
"IncludeInCommandLine": false,
"DefaultValue": "27115"
"DefaultValue": "27115",
"EnumValues":{}
},
{
"DisplayName": "Server Name",
@@ -48,7 +51,8 @@
"IsFlagArgument": false,
"ParamFieldName": "",
"IncludeInCommandLine": false,
"DefaultValue": "UnturnedServer"
"DefaultValue": "UnturnedServer",
"EnumValues":{}
},
{
"DisplayName": "Server Type",
@@ -76,7 +80,8 @@
"IsFlagArgument": false,
"ParamFieldName": "Password",
"IncludeInCommandLine": false,
"DefaultValue": ""
"DefaultValue": "",
"EnumValues":{}
},
{
"DisplayName": "RCON Password",
@@ -88,7 +93,8 @@
"IsFlagArgument": false,
"ParamFieldName": "/RocketSettings/RCON/@Password",
"IncludeInCommandLine": false,
"DefaultValue": "Password123"
"DefaultValue": "Password123",
"EnumValues":{}
},
{
"DisplayName": "Owner",
@@ -100,7 +106,8 @@
"IsFlagArgument": false,
"ParamFieldName": "Owner",
"IncludeInCommandLine": false,
"DefaultValue": ""
"DefaultValue": "",
"EnumValues":{}
},
{
"DisplayName": "GSLT",
@@ -112,7 +119,8 @@
"IsFlagArgument": false,
"ParamFieldName": "GSLT",
"IncludeInCommandLine": false,
"DefaultValue": ""
"DefaultValue": "",
"EnumValues":{}
},
{
"DisplayName": "Welcome Message",
@@ -124,7 +132,8 @@
"IsFlagArgument": false,
"ParamFieldName": "Welcome",
"IncludeInCommandLine": false,
"DefaultValue": "Welcome to Unturned. Hosted using AMP by CubeCoders"
"DefaultValue": "Welcome to Unturned. Hosted using AMP by CubeCoders",
"EnumValues":{}
},
{
"DisplayName": "Player Limit",
@@ -137,7 +146,8 @@
"ParamFieldName": "Maxplayers",
"IncludeInCommandLine": false,
"DefaultValue": "10",
"Suffix": "players"
"Suffix": "players",
"EnumValues":{}
},
{
"DisplayName": "Map",
@@ -149,7 +159,8 @@
"IsFlagArgument": false,
"ParamFieldName": "Map",
"IncludeInCommandLine": false,
"DefaultValue": "PEI"
"DefaultValue": "PEI",
"EnumValues":{}
},
{
"DisplayName": "Difficulty Mode",
@@ -214,7 +225,8 @@
"ParamFieldName": "Cycle",
"IncludeInCommandLine": false,
"DefaultValue": "3600",
"Suffix": "seconds"
"Suffix": "seconds",
"EnumValues":{}
},
{
"DisplayName": "Chat Rate",
@@ -227,7 +239,8 @@
"ParamFieldName": "Chatrate",
"IncludeInCommandLine": false,
"DefaultValue": "0",
"Suffix": "seconds"
"Suffix": "seconds",
"EnumValues":{}
},
{
"DisplayName": "Timeout",
@@ -240,7 +253,8 @@
"ParamFieldName": "Timeout",
"IncludeInCommandLine": false,
"DefaultValue": "500",
"Suffix": "milliseconds"
"Suffix": "milliseconds",
"EnumValues":{}
},
{
"DisplayName":"Workshop Items",
@@ -253,7 +267,8 @@
"ParamFieldName":"FileIDs",
"IncludeInCommandLine":false,
"DefaultValue":"",
"Placeholder":"2478247379,2566953935"
"Placeholder":"2478247379,2566953935",
"EnumValues":{}
},
{
"DisplayName":"Excluded Workshop Items",
@@ -266,7 +281,8 @@
"ParamFieldName":"ChildrenFileIDs",
"IncludeInCommandLine":false,
"DefaultValue":"",
"Placeholder":"5685656858,7697679654"
"Placeholder":"5685656858,7697679654",
"EnumValues":{}
},
{
"DisplayName": "Maximum Workshop Retries",
@@ -278,6 +294,7 @@
"IsFlagArgument": false,
"ParamFieldName": "MaxRetries",
"IncludeInCommandLine": false,
"DefaultValue": "2"
"DefaultValue": "2",
"EnumValues":{}
}
]