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