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

@ -9,7 +9,8 @@
"Hidden":true,
"IsFlagArgument":false,
"ParamFieldName":"/Script/Astro.AstroServerSettings.PublicIP",
"IncludeInCommandLine":false
"IncludeInCommandLine":false,
"EnumValues":{}
},
{
"DisplayName":"Server Port",
@ -21,7 +22,8 @@
"Hidden":true,
"IsFlagArgument":false,
"ParamFieldName":"URL.Port",
"IncludeInCommandLine":false
"IncludeInCommandLine":false,
"EnumValues":{}
},
{
"DisplayName":"Console Port",
@ -33,7 +35,8 @@
"Hidden":true,
"IsFlagArgument":false,
"ParamFieldName":"/Script/Astro.AstroServerSettings.ConsolePort",
"IncludeInCommandLine":false
"IncludeInCommandLine":false,
"EnumValues":{}
},
{
"DisplayName":"Server Name",
@ -45,7 +48,8 @@
"IsFlagArgument":false,
"ParamFieldName":"/Script/Astro.AstroServerSettings.ServerName",
"IncludeInCommandLine":false,
"DefaultValue":"Astroneer Server - Powered by AMP"
"DefaultValue":"Astroneer Server - Powered by AMP",
"EnumValues":{}
},
{
"DisplayName":"Server Password",
@ -57,7 +61,8 @@
"IsFlagArgument":false,
"ParamFieldName":"/Script/Astro.AstroServerSettings.ServerPassword",
"IncludeInCommandLine":false,
"DefaultValue":""
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Console Password",
@ -69,7 +74,8 @@
"IsFlagArgument":false,
"ParamFieldName":"/Script/Astro.AstroServerSettings.ConsolePassword",
"IncludeInCommandLine":false,
"DefaultValue":"Password123"
"DefaultValue":"Password123",
"EnumValues":{}
},
{
"DisplayName":"Owner Name",
@ -81,7 +87,8 @@
"IsFlagArgument":false,
"ParamFieldName":"/Script/Astro.AstroServerSettings.OwnerName",
"IncludeInCommandLine":false,
"DefaultValue":""
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Player Limit",
@ -94,7 +101,8 @@
"ParamFieldName":"/Script/Astro.AstroGameUserSettings.MaxPlayers",
"IncludeInCommandLine":false,
"DefaultValue":"8",
"Suffix":"players"
"Suffix":"players",
"EnumValues":{}
},
{
"DisplayName":"Game Save Interval",
@ -107,7 +115,8 @@
"ParamFieldName":"/Script/Astro.AstroServerSettings.AutoSaveGameInterval",
"IncludeInCommandLine":false,
"DefaultValue":"900",
"Suffix":"seconds"
"Suffix":"seconds",
"EnumValues":{}
},
{
"DisplayName":"Backup Save Interval",
@ -120,7 +129,8 @@
"ParamFieldName":"/Script/Astro.AstroServerSettings.BackupSaveGamesInterval",
"IncludeInCommandLine":false,
"DefaultValue":"7200",
"Suffix":"seconds"
"Suffix":"seconds",
"EnumValues":{}
},
{
"DisplayName":"Enable Whitelist",
@ -149,7 +159,8 @@
"ParamFieldName":"/Script/Astro.AstroServerSettings.MaxServerFramerate",
"IncludeInCommandLine":false,
"DefaultValue":"30.000000",
"Suffix":"fps"
"Suffix":"fps",
"EnumValues":{}
},
{
"DisplayName":"Maximum Idle Server Framerate",
@ -162,6 +173,7 @@
"ParamFieldName":"/Script/Astro.AstroServerSettings.MaxServerIdleFramerate",
"IncludeInCommandLine":false,
"DefaultValue":"3.000000",
"Suffix":"fps"
"Suffix":"fps",
"EnumValues":{}
}
]
]

View File

@ -10,7 +10,8 @@
"Hidden":true,
"ParamFieldName":"DefaultPort",
"IncludeInCommandLine":false,
"DefaultValue":"16261"
"DefaultValue":"16261",
"EnumValues":{}
},
{
"DisplayName":"Steam Port 1",
@ -23,7 +24,8 @@
"Hidden":true,
"ParamFieldName":"SteamPort1",
"IncludeInCommandLine":false,
"DefaultValue":"8766"
"DefaultValue":"8766",
"EnumValues":{}
},
{
"DisplayName":"Steam Port 2",
@ -36,7 +38,8 @@
"Hidden":true,
"ParamFieldName":"SteamPort2",
"IncludeInCommandLine":false,
"DefaultValue":"8767"
"DefaultValue":"8767",
"EnumValues":{}
},
{
"DisplayName":"RCON Port",
@ -49,7 +52,8 @@
"Hidden":true,
"ParamFieldName":"RCONPort",
"IncludeInCommandLine":false,
"DefaultValue":"27015"
"DefaultValue":"27015",
"EnumValues":{}
},
{
"DisplayName":"Server Public Name",
@ -61,7 +65,8 @@
"IsFlagArgument":false,
"ParamFieldName":"PublicName",
"IncludeInCommandLine":false,
"DefaultValue":"My PZ Server"
"DefaultValue":"My PZ Server",
"EnumValues":{}
},
{
"DisplayName":"Make Server Public",
@ -89,7 +94,8 @@
"IsFlagArgument":false,
"ParamFieldName":"PublicDescription",
"IncludeInCommandLine":false,
"DefaultValue":""
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Server Password",
@ -101,7 +107,8 @@
"IsFlagArgument":false,
"ParamFieldName":"Password",
"IncludeInCommandLine":false,
"DefaultValue":""
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Admin Password",
@ -114,7 +121,8 @@
"ParamFieldName":"adminpassword",
"IncludeInCommandLine":true,
"DefaultValue":"",
"SkipIfEmpty":true
"SkipIfEmpty":true,
"EnumValues":{}
},
{
"DisplayName":"RCON Password",
@ -126,7 +134,8 @@
"IsFlagArgument":false,
"ParamFieldName":"RCONPassword",
"IncludeInCommandLine":false,
"DefaultValue":"Password123"
"DefaultValue":"Password123",
"EnumValues":{}
},
{
"DisplayName":"Welcome Message",
@ -138,7 +147,8 @@
"IsFlagArgument":false,
"ParamFieldName":"ServerWelcomeMessage",
"IncludeInCommandLine":false,
"DefaultValue":"Welcome to Project Zomboid Multiplayer! <LINE> <LINE> To interact with the Chat panel: press Tab, T, or Enter. <LINE> <LINE> The Tab key will change the target stream of the message. <LINE> <LINE> Global Streams: /all <LINE> Local Streams: /say, /yell <LINE> Special Streams: /whisper, /safehouse, /faction. <LINE> <LINE> Press the Up arrow to cycle through your message history. Click the Gear icon to customize chat. <LINE> <LINE> Happy surviving!"
"DefaultValue":"Welcome to Project Zomboid Multiplayer! <LINE> <LINE> To interact with the Chat panel: press Tab, T, or Enter. <LINE> <LINE> The Tab key will change the target stream of the message. <LINE> <LINE> Global Streams: /all <LINE> Local Streams: /say, /yell <LINE> Special Streams: /whisper, /safehouse, /faction. <LINE> <LINE> Press the Up arrow to cycle through your message history. Click the Gear icon to customize chat. <LINE> <LINE> Happy surviving!",
"EnumValues":{}
},
{
"DisplayName":"Player Limit",
@ -151,7 +161,8 @@
"ParamFieldName":"MaxPlayers",
"IncludeInCommandLine":false,
"DefaultValue":"16",
"Suffix":"players"
"Suffix":"players",
"EnumValues":{}
},
{
"DisplayName":"Disable Whitelist",
@ -196,7 +207,8 @@
"ParamFieldName":"MaxMemory",
"IncludeInCommandLine":false,
"DefaultValue":"4096",
"Suffix":"MB"
"Suffix":"MB",
"EnumValues":{}
},
{
"DisplayName":"Java Garbage Collection Algorithm (Windows)",
@ -256,7 +268,8 @@
"IsFlagArgument":false,
"ParamFieldName":"Map",
"IncludeInCommandLine":false,
"DefaultValue":"Muldraugh, KY"
"DefaultValue":"Muldraugh, KY",
"EnumValues":{}
},
{
"DisplayName":"Mods",
@ -269,7 +282,8 @@
"ParamFieldName":"Mods",
"IncludeInCommandLine":false,
"DefaultValue":"",
"Placeholder":"67commando;86oshkoshP19A;92amgeneralM998"
"Placeholder":"67commando;86oshkoshP19A;92amgeneralM998",
"EnumValues":{}
},
{
"DisplayName":"Workshop Items",
@ -282,7 +296,8 @@
"ParamFieldName":"WorkshopItems",
"IncludeInCommandLine":false,
"DefaultValue":"",
"Placeholder":"2478247379;2566953935"
"Placeholder":"2478247379;2566953935",
"EnumValues":{}
},
{
"DisplayName":"Display Player Usernames",
@ -360,7 +375,8 @@
"ParamFieldName":"SaveWorldEveryMinutes",
"IncludeInCommandLine":false,
"DefaultValue":"0",
"Suffix":"minutes"
"Suffix":"minutes",
"EnumValues":{}
},
{
"DisplayName":"Additional Java Startup Parameters",
@ -373,7 +389,8 @@
"ParamFieldName":"CustomJavaArgs",
"IncludeInCommandLine":false,
"DefaultValue":"",
"Placeholder":"-Ddebug"
"Placeholder":"-Ddebug",
"EnumValues":{}
},
{
"DisplayName":"Server Local Name",
@ -385,7 +402,8 @@
"IsFlagArgument":false,
"ParamFieldName":"servername",
"IncludeInCommandLine":true,
"DefaultValue":"servertest"
"DefaultValue":"servertest",
"EnumValues":{}
},
{
"DisplayName":"Additional Server Startup Parameters",
@ -398,7 +416,8 @@
"ParamFieldName":"CustomServerArgs",
"IncludeInCommandLine":false,
"DefaultValue":"",
"Placeholder":"-ip 192.168.1.10"
"Placeholder":"-ip 192.168.1.10",
"EnumValues":{}
},
{
"DisplayName":"Set Spawn Point",
@ -410,7 +429,8 @@
"IsFlagArgument":false,
"ParamFieldName":"SpawnPoint",
"IncludeInCommandLine":false,
"DefaultValue":"0,0,0"
"DefaultValue":"0,0,0",
"EnumValues":{}
},
{
"DisplayName":"Spawn Items",
@ -423,7 +443,8 @@
"ParamFieldName":"SpawnItems",
"IncludeInCommandLine":false,
"DefaultValue":"",
"Placeholder":"Base.BaseballBat,Base.WaterBottleFull"
"Placeholder":"Base.BaseballBat,Base.WaterBottleFull",
"EnumValues":{}
},
{
"DisplayName":"Allow PvP",
@ -468,7 +489,8 @@
"ParamFieldName":"SafetyToggleTimer",
"IncludeInCommandLine":false,
"DefaultValue":"2",
"Suffix":"seconds"
"Suffix":"seconds",
"EnumValues":{}
},
{
"DisplayName":"PvP Cooldown Timer",
@ -481,7 +503,8 @@
"ParamFieldName":"SafetyCooldownTimer",
"IncludeInCommandLine":false,
"DefaultValue":"3",
"Suffix":"seconds"
"Suffix":"seconds",
"EnumValues":{}
},
{
"DisplayName":"Enable Factions",
@ -525,7 +548,8 @@
"IsFlagArgument":false,
"ParamFieldName":"nightlengthmodifier",
"IncludeInCommandLine":false,
"DefaultValue":"1.0"
"DefaultValue":"1.0",
"EnumValues":{}
},
{
"DisplayName":"Don't Allow Fire",
@ -570,7 +594,8 @@
"ParamFieldName":"HoursForLootRespawn",
"IncludeInCommandLine":false,
"DefaultValue":"0",
"Suffix":"hours"
"Suffix":"hours",
"EnumValues":{}
},
{
"DisplayName":"Maximum Items for Loot Respawn",
@ -583,7 +608,8 @@
"ParamFieldName":"MaxItemsForLootRespawn",
"IncludeInCommandLine":false,
"DefaultValue":"4",
"Suffix":"items"
"Suffix":"items",
"EnumValues":{}
},
{
"DisplayName":"Allow Player Safehouses",
@ -660,7 +686,8 @@
"ParamFieldName":"SafehouseDaySurvivedToClaim",
"IncludeInCommandLine":false,
"DefaultValue":"0",
"Suffix":"days"
"Suffix":"days",
"EnumValues":{}
},
{
"DisplayName":"Safehouse Removal Period",
@ -673,7 +700,8 @@
"ParamFieldName":"SafeHouseRemovalTime",
"IncludeInCommandLine":false,
"DefaultValue":"144",
"Suffix":"hours"
"Suffix":"hours",
"EnumValues":{}
},
{
"DisplayName":"Allow Sledgehammer Destruction",
@ -749,7 +777,8 @@
"IsFlagArgument":false,
"ParamFieldName":"DiscordToken",
"IncludeInCommandLine":false,
"DefaultValue":""
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Discord Channel",
@ -761,7 +790,8 @@
"IsFlagArgument":false,
"ParamFieldName":"DiscordChannel",
"IncludeInCommandLine":false,
"DefaultValue":""
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Discord Channel ID",
@ -774,6 +804,7 @@
"ParamFieldName":"DiscordChannelID",
"IncludeInCommandLine":false,
"DefaultValue":"",
"Placeholder":"475182341782896651"
"Placeholder":"475182341782896651",
"EnumValues":{}
}
]

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":{}
}
]