Various tweaks

- Add RandomPassword for relevant password fields
- Slight fix to welcome message (default ini file has typo)
- Fix spawnpoints setting formatting
- Include SkipIfEmpty for admin password
- Update placeholder/suffix fields capitalisation
This commit is contained in:
Greelan 2022-01-31 11:32:20 +11:00
parent 0035b7b903
commit 1840c424d5

View File

@ -94,34 +94,35 @@
{ {
"DisplayName":"Server Password", "DisplayName":"Server Password",
"Category":"Server Settings", "Category":"Server Settings",
"Description":"Password to connect to the server. You should change this after first installing the server", "Description":"Password to connect to the server. Default is no password",
"Keywords":"password", "Keywords":"password",
"FieldName":"Password", "FieldName":"Password",
"InputType":"password", "InputType":"password",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName":"Password", "ParamFieldName":"Password",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"Password123" "DefaultValue":""
}, },
{ {
"DisplayName":"Admin Password", "DisplayName":"Admin Password",
"Category":"Server Settings", "Category":"Server Settings",
"Description":"In-game \"admin\" user password (not the server password). You should change this after first installing the server", "Description":"In-game \"admin\" user password (not the server password). Set before first running the server, or you will be prompted to do so in the console",
"Keywords":"admin,password", "Keywords":"admin,password",
"FieldName":"adminpassword", "FieldName":"adminpassword",
"InputType":"password", "InputType":"RandomPassword",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName":"adminpassword", "ParamFieldName":"adminpassword",
"IncludeInCommandLine":true, "IncludeInCommandLine":true,
"DefaultValue":"Password123" "DefaultValue":"",
"SkipIfEmpty":true
}, },
{ {
"DisplayName":"RCON Password", "DisplayName":"RCON Password",
"Category":"Server Settings", "Category":"Server Settings",
"Description":"Password to connect to RCON. You should change this after first installing the server", "Description":"Password to connect to RCON. NOTE: You should change this after first installing the server",
"Keywords":"rcon,password", "Keywords":"rcon,password",
"FieldName":"$RemoteAdminPassword", "FieldName":"$RemoteAdminPassword",
"InputType":"password", "InputType":"RandomPassword",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName":"RCONPassword", "ParamFieldName":"RCONPassword",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
@ -137,7 +138,7 @@
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName":"ServerWelcomeMessage", "ParamFieldName":"ServerWelcomeMessage",
"IncludeInCommandLine":false, "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 Steams: /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!"
}, },
{ {
"DisplayName":"Player Limit", "DisplayName":"Player Limit",
@ -150,7 +151,7 @@
"ParamFieldName":"MaxPlayers", "ParamFieldName":"MaxPlayers",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"16", "DefaultValue":"16",
"suffix":"players" "Suffix":"players"
}, },
{ {
"DisplayName":"Disable Whitelist", "DisplayName":"Disable Whitelist",
@ -195,7 +196,7 @@
"ParamFieldName":"MaxMemory", "ParamFieldName":"MaxMemory",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"4096", "DefaultValue":"4096",
"suffix":"MB" "Suffix":"MB"
}, },
{ {
"DisplayName":"Java Garbage Collection Algorithm (Windows)", "DisplayName":"Java Garbage Collection Algorithm (Windows)",
@ -268,7 +269,7 @@
"ParamFieldName":"Mods", "ParamFieldName":"Mods",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"", "DefaultValue":"",
"placeholder":"67commando;86oshkoshP19A;92amgeneralM998" "Placeholder":"67commando;86oshkoshP19A;92amgeneralM998"
}, },
{ {
"DisplayName":"Workshop Items", "DisplayName":"Workshop Items",
@ -281,7 +282,7 @@
"ParamFieldName":"WorkshopItems", "ParamFieldName":"WorkshopItems",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"", "DefaultValue":"",
"placeholder":"2478247379;2566953935" "Placeholder":"2478247379;2566953935"
}, },
{ {
"DisplayName":"Display Player Usernames", "DisplayName":"Display Player Usernames",
@ -359,7 +360,7 @@
"ParamFieldName":"SaveWorldEveryMinutes", "ParamFieldName":"SaveWorldEveryMinutes",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"0", "DefaultValue":"0",
"suffix":"minutes" "Suffix":"minutes"
}, },
{ {
"DisplayName":"Additional Java Startup Parameters", "DisplayName":"Additional Java Startup Parameters",
@ -372,7 +373,7 @@
"ParamFieldName":"CustomJavaArgs", "ParamFieldName":"CustomJavaArgs",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"", "DefaultValue":"",
"placeholder":"-Ddebug" "Placeholder":"-Ddebug"
}, },
{ {
"DisplayName":"Server Local Name", "DisplayName":"Server Local Name",
@ -397,19 +398,19 @@
"ParamFieldName":"CustomServerArgs", "ParamFieldName":"CustomServerArgs",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"", "DefaultValue":"",
"placeholder":"-ip 192.168.1.10" "Placeholder":"-ip 192.168.1.10"
}, },
{ {
"DisplayName":"Set Spawn Point", "DisplayName":"Set Spawn Point",
"Category":"Gameplay Settings", "Category":"Gameplay Settings",
"Description":"Sets the spawn point. Default is 0.0.0. Use X.Y.Z coordinates", "Description":"Sets the spawn point. Default is 0,0,0. Use x,y,z coordinates",
"Keywords":"spawnpoint,map", "Keywords":"spawnpoint,map",
"FieldName":"SpawnPoint", "FieldName":"SpawnPoint",
"InputType":"text", "InputType":"text",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName":"SpawnPoint", "ParamFieldName":"SpawnPoint",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"0.0.0" "DefaultValue":"0,0,0"
}, },
{ {
"DisplayName":"Spawn Items", "DisplayName":"Spawn Items",
@ -422,7 +423,7 @@
"ParamFieldName":"SpawnItems", "ParamFieldName":"SpawnItems",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"", "DefaultValue":"",
"placeholder":"Base.BaseballBat,Base.WaterBottleFull" "Placeholder":"Base.BaseballBat,Base.WaterBottleFull"
}, },
{ {
"DisplayName":"Allow PvP", "DisplayName":"Allow PvP",
@ -467,7 +468,7 @@
"ParamFieldName":"SafetyToggleTimer", "ParamFieldName":"SafetyToggleTimer",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"2", "DefaultValue":"2",
"suffix":"seconds" "Suffix":"seconds"
}, },
{ {
"DisplayName":"PvP Cooldown Timer", "DisplayName":"PvP Cooldown Timer",
@ -480,7 +481,7 @@
"ParamFieldName":"SafetyCooldownTimer", "ParamFieldName":"SafetyCooldownTimer",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"3", "DefaultValue":"3",
"suffix":"seconds" "Suffix":"seconds"
}, },
{ {
"DisplayName":"Enable Factions", "DisplayName":"Enable Factions",
@ -569,7 +570,7 @@
"ParamFieldName":"HoursForLootRespawn", "ParamFieldName":"HoursForLootRespawn",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"0", "DefaultValue":"0",
"suffix":"hours" "Suffix":"hours"
}, },
{ {
"DisplayName":"Maximum Items for Loot Respawn", "DisplayName":"Maximum Items for Loot Respawn",
@ -582,7 +583,7 @@
"ParamFieldName":"MaxItemsForLootRespawn", "ParamFieldName":"MaxItemsForLootRespawn",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"4", "DefaultValue":"4",
"suffix":"items" "Suffix":"items"
}, },
{ {
"DisplayName":"Allow Player Safehouses", "DisplayName":"Allow Player Safehouses",
@ -659,7 +660,7 @@
"ParamFieldName":"SafehouseDaySurvivedToClaim", "ParamFieldName":"SafehouseDaySurvivedToClaim",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"0", "DefaultValue":"0",
"suffix":"days" "Suffix":"days"
}, },
{ {
"DisplayName":"Safehouse Removal Period", "DisplayName":"Safehouse Removal Period",
@ -672,7 +673,7 @@
"ParamFieldName":"SafeHouseRemovalTime", "ParamFieldName":"SafeHouseRemovalTime",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"144", "DefaultValue":"144",
"suffix":"hours" "Suffix":"hours"
}, },
{ {
"DisplayName":"Allow Sledgehammer Destruction", "DisplayName":"Allow Sledgehammer Destruction",