Updates for new ports and regex (#209)

This commit is contained in:
Greelan 2022-10-09 06:08:35 +11:00 committed by GitHub
parent 544d6b28a4
commit 1d6054880a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 106 additions and 93 deletions

View File

@ -1,16 +1,23 @@
Meta.DisplayName=Project Zomboid Meta.DisplayName=Project Zomboid
Meta.Description=Project Zomboid Dedicated Server Meta.Description=Project Zomboid Dedicated Server
Meta.OS=Windows, Linux Meta.OS=Windows, Linux
Meta.Arch=x86_64
Meta.Author=Greelan, IceOfWraith, Dhraz Meta.Author=Greelan, IceOfWraith, Dhraz
Meta.URL=https://projectzomboid.com Meta.URL=https://projectzomboid.com
Meta.DisplayImageSource=steam:108600 Meta.DisplayImageSource=steam:108600
Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort2} Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.Ports.$ApplicationPort1}
Meta.ConfigManifest=project-zomboidconfig.json Meta.ConfigManifest=project-zomboidconfig.json
Meta.MetaConfigManifest=project-zomboidmetaconfig.json Meta.MetaConfigManifest=project-zomboidmetaconfig.json
Meta.ConfigRoot=project-zomboid.kvp Meta.ConfigRoot=project-zomboid.kvp
Meta.MinAMPVersion=2.3.2.0 Meta.MinAMPVersion=2.3.2.0
Meta.SpecificDockerImage= Meta.SpecificDockerImage=
Meta.DockerRequired=False
Meta.ContainerPolicy=Supported
Meta.ContainerPolicyReason=
Meta.Prerequsites=[] Meta.Prerequsites=[]
Meta.ExtraContainerPackages=[]
Meta.ConfigReleaseState=NotSpecified
Meta.NoCommercialUsage=False
App.DisplayName=Project Zomboid App.DisplayName=Project Zomboid
App.RootDir=./project-zomboid/ App.RootDir=./project-zomboid/
App.BaseDirectory=./project-zomboid/380870/ App.BaseDirectory=./project-zomboid/380870/
@ -19,7 +26,8 @@ App.ExecutableLinux=380870/ProjectZomboid64
App.WorkingDir=380870 App.WorkingDir=380870
App.LinuxCommandLineArgs=-Dfile.encoding=UTF-8 -Dzomboid.steam={{SteamInt}} -Duser.home=./ -Xmx{{MaxMemory}}m {{CustomJavaArgs}} -- App.LinuxCommandLineArgs=-Dfile.encoding=UTF-8 -Dzomboid.steam={{SteamInt}} -Duser.home=./ -Xmx{{MaxMemory}}m {{CustomJavaArgs}} --
App.WindowsCommandLineArgs=-Dfile.encoding=UTF-8 -Djava.awt.headless=true -Dzomboid.znetlog=1 -Dzomboid.steam={{SteamInt}} -Duser.home=./ -Xmx{{MaxMemory}}m {{JavaGCAlgo}} -XX:-CreateCoredumpOnCrash -XX:-OmitStackTraceInFastThrow -Djava.library.path=natives/;natives/win64/;. {{CustomJavaArgs}} -cp java/*;java/ zombie.network.GameServer -statistic 0 -- App.WindowsCommandLineArgs=-Dfile.encoding=UTF-8 -Djava.awt.headless=true -Dzomboid.znetlog=1 -Dzomboid.steam={{SteamInt}} -Duser.home=./ -Xmx{{MaxMemory}}m {{JavaGCAlgo}} -XX:-CreateCoredumpOnCrash -XX:-OmitStackTraceInFastThrow -Djava.library.path=natives/;natives/win64/;. {{CustomJavaArgs}} -cp java/*;java/ zombie.network.GameServer -statistic 0 --
App.CommandLineArgs={{$PlatformArgs}} -port {{$ApplicationPort1}} -steamport1 {{$ApplicationPort2}} -steamport2 {{$ApplicationPort3}} {{CustomServerArgs}} {{$FormattedArgs}} App.CommandLineArgs={{$PlatformArgs}} -port {{$ApplicationPort1}} -udpport {{$ApplicationPort2}} {{CustomServerArgs}} {{$FormattedArgs}}
App.UseLinuxIOREDIR=False
App.AppSettings={} App.AppSettings={}
App.EnvironmentVariables={"PATH":"./jre64/bin:%PATH%","LD_LIBRARY_PATH":"./linux64:./natives:./:./jre64/lib/amd64:%LD_LIBRARY_PATH%","LD_PRELOAD":"./jre64/lib/libjsig.so","PZ_CLASSPATH":"java/*;java/","SteamAppId":"108600"} App.EnvironmentVariables={"PATH":"./jre64/bin:%PATH%","LD_LIBRARY_PATH":"./linux64:./natives:./:./jre64/lib/amd64:%LD_LIBRARY_PATH%","LD_PRELOAD":"./jre64/lib/libjsig.so","PZ_CLASSPATH":"java/*;java/","SteamAppId":"108600"}
App.CommandLineParameterFormat=-{0} {1} App.CommandLineParameterFormat=-{0} {1}
@ -32,30 +40,49 @@ App.HasWriteableConsole=True
App.HasReadableConsole=True App.HasReadableConsole=True
App.SupportsLiveSettingsChanges=False App.SupportsLiveSettingsChanges=False
App.LiveSettingChangeCommandFormat=set {0} "{1}" App.LiveSettingChangeCommandFormat=set {0} "{1}"
App.ApplicationIPBinding= App.ApplicationIPBinding=0.0.0.0
App.ApplicationPort1=16261 App.Ports=[{"Protocol":"UDP","Port":16261,"Ref":"ApplicationPort1","Name":"Steam Port","Description":"Port for Steam client connections"},{"Protocol":"UDP","Port":16262,"Ref":"ApplicationPort2","Name":"Direct Port","Description":"Port for direct client connections"},{"Protocol":"TCP","Port":27015,"Ref":"RemoteAdminPort","Name":"RCON Port","Description":"Port for RCON traffic"}]
App.ApplicationPort2=8766 App.AdminPortRef=RemoteAdminPort
App.ApplicationPort3=8767 App.PrimaryApplicationPortRef=ApplicationPort1
App.RemoteAdminPort=27015 App.UniversalSleepApplicationUDPPortRef=ApplicationPort1
App.UniversalSleepSteamQueryPortRef=ApplicationPort1
App.MaxUsers=32 App.MaxUsers=32
App.UseRandomAdminPassword=False App.UseRandomAdminPassword=False
App.RemoteAdminPassword=Password123 App.RemoteAdminPassword=Password123
App.AdminMethod=STDIO App.AdminMethod=STDIO
App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"380870","UpdateSourceVersion":"public","UpdateSourceConditionSetting":"EnableBeta","UpdateSourceConditionValue":"false"},{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"380870","UpdateSourceVersion":"{{BetaBranch}}","UpdateSourceConditionSetting":"EnableBeta","UpdateSourceConditionValue":"true"},{"UpdateStageName":"Mods Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./project-zomboid/380870/Zomboid/mods","OverwriteExistingFiles":false}] App.AdminLoginTransform=None
App.RCONConnectDelaySeconds=5
App.RCONConnectRetrySeconds=5
App.RCONHeartbeatMinutes=0
App.RCONHeartbeatCommand=ping
App.TelnetLoginFormat={0}
App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"380870","UpdateSourceVersion":"public","UpdateSourceConditionSetting":"EnableBeta","UpdateSourceConditionValue":"false"},{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"380870","UpdateSourceVersion":"{{BetaBranch}}","UpdateSourceConditionSetting":"EnableBeta","UpdateSourceConditionValue":"true"},{"UpdateStageName":"Mods Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"{{$FullBaseDir}}Zomboid/mods","OverwriteExistingFiles":false}]
App.Compatibility=None App.Compatibility=None
App.SteamUpdateAnonymousLogin=True App.SteamUpdateAnonymousLogin=True
App.SteamForceLoginPrompt=False App.SteamForceLoginPrompt=False
App.RapidStartup=False App.RapidStartup=False
App.MonitorChildProcess=False
App.MonitorChildProcessWaitMs=100
App.MonitorChildProcessName=
App.SupportsUniversalSleep=False
App.WakeupMode=Any
App.ApplicationReadyMode=RegexMatch App.ApplicationReadyMode=RegexMatch
App.TemplateMatchRegex={{(\$?[\w]+)}} App.TemplateMatchRegex={{(\$?[\w]+)}}
Console.FilterMatchRegex= Console.FilterMatchRegex=
Console.FilterMatchReplacement= Console.FilterMatchReplacement=
Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$
Console.AppReadyRegex=^LOG\s+: Network\s+, \d+>.*> \*+ SERVER STARTED \*+$ Console.AppReadyRegex=^LOG\s+: Network\s+, \d+>.*> \*+ SERVER STARTED \*+$
Console.UserJoinRegex=^LOG\s+: Network\s+, \d+>.*> Connected new client (?<username>.+?) ID # (?<userid>.+?) and assigned DL port (?<userport>.+?)$ Console.UserJoinRegex=^LOG\s+: Network\s+, \d+>(?:.+?)> \[(?:.+?)\] > ConnectionManager: \[fully-connected\] (?:.+?) steam-id=(?<userid>.+?) (?:.+?) username="(?<username>.+?)" (?:.+?)$
Console.UserLeaveRegex=^LOG\s+: (Network|General)\s+, \d+>.*> (Disconnected player "(?<username>.+?)" |\d+ znet: Disconnecting client #(?<userid>.+?) SteamID=)\d+$ Console.UserLeaveRegex=^LOG\s+: Network\s+, \d+>.*> Disconnected player "(?<username>.+?)" (?<userid>.+?)$
Console.UserChatRegex= Console.UserChatRegex=^$
Console.UpdateAvailableRegex= Console.UpdateAvailableRegex=^$
Console.MetricsRegex=
Console.SuppressLogAtStart=False Console.SuppressLogAtStart=False
Console.ActivateLogRegex= Console.ActivateLogRegex=
Console.UserActions={} Console.UserActions={}
Limits.SleepMode=True
Limits.SleepOnStart=False
Limits.SleepDelayMinutes=5
Limits.DozeDelay=2
Limits.AutoRetryCount=5
Limits.SleepStartThresholdSeconds=25

View File

@ -1,7 +1,7 @@
[ [
{ {
"DisplayName":"Game Port", "DisplayName":"Steam Port",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"", "Description":"",
"Keywords":"", "Keywords":"",
"FieldName":"$ApplicationPort1", "FieldName":"$ApplicationPort1",
@ -14,36 +14,22 @@
"EnumValues":{} "EnumValues":{}
}, },
{ {
"DisplayName":"Steam Port 1", "DisplayName":"Direct Port",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"", "Description":"",
"Keywords":"", "Keywords":"",
"FieldName":"$ApplicationPort2", "FieldName":"$ApplicationPort2",
"InputType":"number", "InputType":"number",
"IsFlagArgument":false, "IsFlagArgument":false,
"Hidden":true, "Hidden":true,
"ParamFieldName":"SteamPort1", "ParamFieldName":"UDPPort",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"8766", "DefaultValue":"16262",
"EnumValues":{}
},
{
"DisplayName":"Steam Port 2",
"Category":"Server Settings",
"Description":"",
"Keywords":"",
"FieldName":"$ApplicationPort3",
"InputType":"number",
"IsFlagArgument":false,
"Hidden":true,
"ParamFieldName":"SteamPort2",
"IncludeInCommandLine":false,
"DefaultValue":"8767",
"EnumValues":{} "EnumValues":{}
}, },
{ {
"DisplayName":"RCON Port", "DisplayName":"RCON Port",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"", "Description":"",
"Keywords":"", "Keywords":"",
"FieldName":"$RemoteAdminPort", "FieldName":"$RemoteAdminPort",
@ -57,7 +43,7 @@
}, },
{ {
"DisplayName":"Server Public Name", "DisplayName":"Server Public Name",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"Server name as shown in the in-game and/or Steam browsers", "Description":"Server name as shown in the in-game and/or Steam browsers",
"Keywords":"public,name", "Keywords":"public,name",
"FieldName":"PublicName", "FieldName":"PublicName",
@ -70,7 +56,7 @@
}, },
{ {
"DisplayName":"Make Server Public", "DisplayName":"Make Server Public",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"If enabled, the server will be visible in the in-game browser (Steam-enabled servers are always visible in the Steam server browser)", "Description":"If enabled, the server will be visible in the in-game browser (Steam-enabled servers are always visible in the Steam server browser)",
"Keywords":"public,steam", "Keywords":"public,steam",
"FieldName":"Public", "FieldName":"Public",
@ -86,7 +72,7 @@
}, },
{ {
"DisplayName":"Server Public Description", "DisplayName":"Server Public Description",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"Description displayed in the in-game browser. Use \"\\n\" to create a new line in the description", "Description":"Description displayed in the in-game browser. Use \"\\n\" to create a new line in the description",
"Keywords":"public,description", "Keywords":"public,description",
"FieldName":"PublicDescription", "FieldName":"PublicDescription",
@ -99,7 +85,7 @@
}, },
{ {
"DisplayName":"Server Password", "DisplayName":"Server Password",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"Password to connect to the server. Default is no password", "Description":"Password to connect to the server. Default is no password",
"Keywords":"password", "Keywords":"password",
"FieldName":"Password", "FieldName":"Password",
@ -112,7 +98,7 @@
}, },
{ {
"DisplayName":"Admin Password", "DisplayName":"Admin Password",
"Category":"Server Settings", "Category":"PZ Server Settings",
"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", "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",
@ -126,7 +112,7 @@
}, },
{ {
"DisplayName":"RCON Password", "DisplayName":"RCON Password",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"Password to connect to RCON. NOTE: 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":"RCONPassword", "FieldName":"RCONPassword",
@ -139,7 +125,7 @@
}, },
{ {
"DisplayName":"Welcome Message", "DisplayName":"Welcome Message",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"Welcome message when players join the server", "Description":"Welcome message when players join the server",
"Keywords":"welcome,message,motd", "Keywords":"welcome,message,motd",
"FieldName":"ServerWelcomeMessage", "FieldName":"ServerWelcomeMessage",
@ -152,7 +138,7 @@
}, },
{ {
"DisplayName":"Player Limit", "DisplayName":"Player Limit",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"Maximum number of players that may be on the server at one time (excluding admins). Player counts above 32 may affect performance", "Description":"Maximum number of players that may be on the server at one time (excluding admins). Player counts above 32 may affect performance",
"Keywords":"maximum,players", "Keywords":"maximum,players",
"FieldName":"$MaxUsers", "FieldName":"$MaxUsers",
@ -166,7 +152,7 @@
}, },
{ {
"DisplayName":"Enable Open Server", "DisplayName":"Enable Open Server",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"If enabled, players may join the server without already being included in the whitelist", "Description":"If enabled, players may join the server without already being included in the whitelist",
"Keywords":"whitelist,open", "Keywords":"whitelist,open",
"FieldName":"Open", "FieldName":"Open",
@ -182,7 +168,7 @@
}, },
{ {
"DisplayName":"Automatically Whitelist Players", "DisplayName":"Automatically Whitelist Players",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"Automatically add players to the whitelist (for open servers)", "Description":"Automatically add players to the whitelist (for open servers)",
"Keywords":"whitelist,add,automatic", "Keywords":"whitelist,add,automatic",
"FieldName":"AutoCreateUserInWhiteList", "FieldName":"AutoCreateUserInWhiteList",
@ -198,7 +184,7 @@
}, },
{ {
"DisplayName":"Memory Limit", "DisplayName":"Memory Limit",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"Java's maximum heap size", "Description":"Java's maximum heap size",
"Keywords":"maximum,memory,limit", "Keywords":"maximum,memory,limit",
"FieldName":"MaxMemory", "FieldName":"MaxMemory",
@ -212,7 +198,7 @@
}, },
{ {
"DisplayName":"Java Garbage Collection Algorithm (Windows)", "DisplayName":"Java Garbage Collection Algorithm (Windows)",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"Default Java garbage collection algorithm is ZGC, but G1GC can be selected for older Windows versions that cannot use ZGC", "Description":"Default Java garbage collection algorithm is ZGC, but G1GC can be selected for older Windows versions that cannot use ZGC",
"Keywords":"garbage,collection,algorithm", "Keywords":"garbage,collection,algorithm",
"FieldName":"JavaGCAlgo", "FieldName":"JavaGCAlgo",
@ -228,7 +214,7 @@
}, },
{ {
"DisplayName":"Enable Valve Anti-cheat (Steam VAC)", "DisplayName":"Enable Valve Anti-cheat (Steam VAC)",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"", "Description":"",
"Keywords":"VAC,cheat", "Keywords":"VAC,cheat",
"FieldName":"SteamVAC", "FieldName":"SteamVAC",
@ -244,7 +230,7 @@
}, },
{ {
"DisplayName":"Steam Integration", "DisplayName":"Steam Integration",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"Enable Steam integration", "Description":"Enable Steam integration",
"Keywords":"steam,integration", "Keywords":"steam,integration",
"FieldName":"SteamInt", "FieldName":"SteamInt",
@ -260,7 +246,7 @@
}, },
{ {
"DisplayName":"Maps", "DisplayName":"Maps",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"Semi-colon separated list of maps to load on the server. \"Muldraugh, KY\" should be last in the list", "Description":"Semi-colon separated list of maps to load on the server. \"Muldraugh, KY\" should be last in the list",
"Keywords":"map", "Keywords":"map",
"FieldName":"Map", "FieldName":"Map",
@ -274,7 +260,7 @@
}, },
{ {
"DisplayName":"Mods", "DisplayName":"Mods",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"Semi-colon separated list of mod IDs to install on the server. The workshop IDs for the mods also need to be added to Workshop Items", "Description":"Semi-colon separated list of mod IDs to install on the server. The workshop IDs for the mods also need to be added to Workshop Items",
"Keywords":"mods", "Keywords":"mods",
"FieldName":"Mods", "FieldName":"Mods",
@ -288,7 +274,7 @@
}, },
{ {
"DisplayName":"Workshop Items", "DisplayName":"Workshop Items",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"Semi-colon separated list of IDs of workshop items to install on the server. Mod IDs also need to be added to Mods. NOTE: Don't use \"Steam workshop items\" under SteamCMD and Updates", "Description":"Semi-colon separated list of IDs of workshop items to install on the server. Mod IDs also need to be added to Mods. NOTE: Don't use \"Steam workshop items\" under SteamCMD and Updates",
"Keywords":"workshop,items", "Keywords":"workshop,items",
"FieldName":"WorkshopItems", "FieldName":"WorkshopItems",
@ -302,7 +288,7 @@
}, },
{ {
"DisplayName":"Display Player Usernames", "DisplayName":"Display Player Usernames",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"If enabled, display players' usernames above their heads in-game", "Description":"If enabled, display players' usernames above their heads in-game",
"Keywords":"display,name", "Keywords":"display,name",
"FieldName":"DisplayUserName", "FieldName":"DisplayUserName",
@ -318,7 +304,7 @@
}, },
{ {
"DisplayName":"Display Player Character Names", "DisplayName":"Display Player Character Names",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"If enabled, display players' first and last names above their heads in-game instead of usernames", "Description":"If enabled, display players' first and last names above their heads in-game instead of usernames",
"Keywords":"display,character,name", "Keywords":"display,character,name",
"FieldName":"ShowFirstAndLastName", "FieldName":"ShowFirstAndLastName",
@ -334,7 +320,7 @@
}, },
{ {
"DisplayName":"Steam Scoreboard", "DisplayName":"Steam Scoreboard",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"Sets whether steam usernames and avatars are shown in the player list", "Description":"Sets whether steam usernames and avatars are shown in the player list",
"Keywords":"steam,scoreboard", "Keywords":"steam,scoreboard",
"FieldName":"SteamScoreboard", "FieldName":"SteamScoreboard",
@ -351,7 +337,7 @@
}, },
{ {
"DisplayName":"Pause When Empty", "DisplayName":"Pause When Empty",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"If enabled, game time stops when there are no players online", "Description":"If enabled, game time stops when there are no players online",
"Keywords":"pause,empty", "Keywords":"pause,empty",
"FieldName":"PauseEmpty", "FieldName":"PauseEmpty",
@ -367,7 +353,7 @@
}, },
{ {
"DisplayName":"Auto World Save Interval", "DisplayName":"Auto World Save Interval",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"Time between each automatic save of loaded parts of the map (0 = never)", "Description":"Time between each automatic save of loaded parts of the map (0 = never)",
"Keywords":"save,interval", "Keywords":"save,interval",
"FieldName":"SaveWorldEveryMinutes", "FieldName":"SaveWorldEveryMinutes",
@ -381,7 +367,7 @@
}, },
{ {
"DisplayName":"Enable UPnP", "DisplayName":"Enable UPnP",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"If enabled, the server will attempt to configure automatic port forwarding on a compatible router", "Description":"If enabled, the server will attempt to configure automatic port forwarding on a compatible router",
"Keywords":"upnp", "Keywords":"upnp",
"FieldName":"UPnP", "FieldName":"UPnP",
@ -397,7 +383,7 @@
}, },
{ {
"DisplayName":"Additional Java Startup Parameters", "DisplayName":"Additional Java Startup Parameters",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"Additional Java arguments (not server arguments) as startup parameters that are not otherwise set by AMP. Use with care", "Description":"Additional Java arguments (not server arguments) as startup parameters that are not otherwise set by AMP. Use with care",
"Keywords":"custom,java,arguments,parameters", "Keywords":"custom,java,arguments,parameters",
"FieldName":"CustomJavaArgs", "FieldName":"CustomJavaArgs",
@ -411,7 +397,7 @@
}, },
{ {
"DisplayName":"Server Local Name", "DisplayName":"Server Local Name",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"Server name as stored locally. WARNING: Do not change unless you know what you are doing! Also update the server if this is changed", "Description":"Server name as stored locally. WARNING: Do not change unless you know what you are doing! Also update the server if this is changed",
"Keywords":"server,name", "Keywords":"server,name",
"FieldName":"servername", "FieldName":"servername",
@ -424,7 +410,7 @@
}, },
{ {
"DisplayName":"Additional Server Startup Parameters", "DisplayName":"Additional Server Startup Parameters",
"Category":"Server Settings", "Category":"PZ Server Settings",
"Description":"Additional server arguments (not Java arguments) as startup parameters that are not otherwise set by AMP. Use with care", "Description":"Additional server arguments (not Java arguments) as startup parameters that are not otherwise set by AMP. Use with care",
"Keywords":"custom,server,arguments,parameters", "Keywords":"custom,server,arguments,parameters",
"FieldName":"CustomServerArgs", "FieldName":"CustomServerArgs",
@ -438,7 +424,7 @@
}, },
{ {
"DisplayName":"Set Spawn Point", "DisplayName":"Set Spawn Point",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"Sets the spawn point for every new player. Default is 0,0,0. [Find desired coordinates](https://map.projectzomboid.com/)", "Description":"Sets the spawn point for every new player. Default is 0,0,0. [Find desired coordinates](https://map.projectzomboid.com/)",
"Keywords":"spawnpoint,map", "Keywords":"spawnpoint,map",
"FieldName":"SpawnPoint", "FieldName":"SpawnPoint",
@ -451,7 +437,7 @@
}, },
{ {
"DisplayName":"Spawn Items", "DisplayName":"Spawn Items",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"Comma separated list of item types that new players spawn with", "Description":"Comma separated list of item types that new players spawn with",
"Keywords":"spawn,items", "Keywords":"spawn,items",
"FieldName":"SpawnItems", "FieldName":"SpawnItems",
@ -465,7 +451,7 @@
}, },
{ {
"DisplayName":"Allow PvP", "DisplayName":"Allow PvP",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"If enabled, players can hurt and kill other players", "Description":"If enabled, players can hurt and kill other players",
"Keywords":"pvp", "Keywords":"pvp",
"FieldName":"PVP", "FieldName":"PVP",
@ -481,7 +467,7 @@
}, },
{ {
"DisplayName":"Enable PvP Toggle (Safety System)", "DisplayName":"Enable PvP Toggle (Safety System)",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"If enabled, allows players to enter and leave PvP mode on an individual basis. Requires \"Allow PvP\" to be enabled", "Description":"If enabled, allows players to enter and leave PvP mode on an individual basis. Requires \"Allow PvP\" to be enabled",
"Keywords":"safetysystem,pvp", "Keywords":"safetysystem,pvp",
"FieldName":"SafetySystem", "FieldName":"SafetySystem",
@ -497,7 +483,7 @@
}, },
{ {
"DisplayName":"Show Player PvP Status", "DisplayName":"Show Player PvP Status",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"If enabled, displays a skull icon above the heads of players in PvP mode", "Description":"If enabled, displays a skull icon above the heads of players in PvP mode",
"Keywords":"pvp,status,safety", "Keywords":"pvp,status,safety",
"FieldName":"ShowSafety", "FieldName":"ShowSafety",
@ -513,7 +499,7 @@
}, },
{ {
"DisplayName":"PvP Toggle Timer", "DisplayName":"PvP Toggle Timer",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"Time taken for a player to enter and leave PvP mode", "Description":"Time taken for a player to enter and leave PvP mode",
"Keywords":"safetysystem,pvp,timer", "Keywords":"safetysystem,pvp,timer",
"FieldName":"SafetyToggleTimer", "FieldName":"SafetyToggleTimer",
@ -527,7 +513,7 @@
}, },
{ {
"DisplayName":"PvP Cooldown Timer", "DisplayName":"PvP Cooldown Timer",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"Delay before a player can enter or leave PvP mode again", "Description":"Delay before a player can enter or leave PvP mode again",
"Keywords":"safetysystem,pvp,timer,cooldown", "Keywords":"safetysystem,pvp,timer,cooldown",
"FieldName":"SafetyCooldownTimer", "FieldName":"SafetyCooldownTimer",
@ -541,7 +527,7 @@
}, },
{ {
"DisplayName":"Enable Factions", "DisplayName":"Enable Factions",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"If enabled, factions can be created and used", "Description":"If enabled, factions can be created and used",
"Keywords":"factions", "Keywords":"factions",
"FieldName":"Faction", "FieldName":"Faction",
@ -557,7 +543,7 @@
}, },
{ {
"DisplayName":"Game Days For Factions", "DisplayName":"Game Days For Factions",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"Number of in-game days that a player must survive for before they can create a faction", "Description":"Number of in-game days that a player must survive for before they can create a faction",
"Keywords":"factions", "Keywords":"factions",
"FieldName":"FactionDaySurvivedToCreate", "FieldName":"FactionDaySurvivedToCreate",
@ -571,7 +557,7 @@
}, },
{ {
"DisplayName":"Enable Global Chat", "DisplayName":"Enable Global Chat",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"If enabled, players can communicate with everyone (using the /all command in chat)", "Description":"If enabled, players can communicate with everyone (using the /all command in chat)",
"Keywords":"chat,global", "Keywords":"chat,global",
"FieldName":"GlobalChat", "FieldName":"GlobalChat",
@ -587,7 +573,7 @@
}, },
{ {
"DisplayName":"Nighttime Length", "DisplayName":"Nighttime Length",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"Sets how long nighttime lasts depending on daytime: 0.5 means twice as long, 2 means half the normal time", "Description":"Sets how long nighttime lasts depending on daytime: 0.5 means twice as long, 2 means half the normal time",
"Keywords":"nighttime,night", "Keywords":"nighttime,night",
"FieldName":"nightlengthmodifier", "FieldName":"nightlengthmodifier",
@ -600,7 +586,7 @@
}, },
{ {
"DisplayName":"Don't Allow Fire", "DisplayName":"Don't Allow Fire",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"If enabled, fires are not allowed (except campfires). Enable if fires cause problems for your server", "Description":"If enabled, fires are not allowed (except campfires). Enable if fires cause problems for your server",
"Keywords":"fire", "Keywords":"fire",
"FieldName":"NoFire", "FieldName":"NoFire",
@ -616,7 +602,7 @@
}, },
{ {
"DisplayName":"Announce Player Death", "DisplayName":"Announce Player Death",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"If enabled, a global message is displayed in the chat when a player dies", "Description":"If enabled, a global message is displayed in the chat when a player dies",
"Keywords":"announce,death", "Keywords":"announce,death",
"FieldName":"AnnounceDeath", "FieldName":"AnnounceDeath",
@ -632,7 +618,7 @@
}, },
{ {
"DisplayName":"Minutes Per Book Page", "DisplayName":"Minutes Per Book Page",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"Sets the number of in-game minutes it takes to read one page of a book", "Description":"Sets the number of in-game minutes it takes to read one page of a book",
"Keywords":"minutes,book,page", "Keywords":"minutes,book,page",
"FieldName":"MinutesPerPage", "FieldName":"MinutesPerPage",
@ -646,7 +632,7 @@
}, },
{ {
"DisplayName":"Minimum Period for Loot Respawn", "DisplayName":"Minimum Period for Loot Respawn",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"Sets the in-game hours after which all containers that have been looted once will respawn loot (0 = never)", "Description":"Sets the in-game hours after which all containers that have been looted once will respawn loot (0 = never)",
"Keywords":"loot,respawn", "Keywords":"loot,respawn",
"FieldName":"HoursForLootRespawn", "FieldName":"HoursForLootRespawn",
@ -660,7 +646,7 @@
}, },
{ {
"DisplayName":"Maximum Items for Loot Respawn", "DisplayName":"Maximum Items for Loot Respawn",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"Sets the maximum number of items that containers can hold to be allowed to respawn. If the number of items is less than or equal to the number set, loot will respawn", "Description":"Sets the maximum number of items that containers can hold to be allowed to respawn. If the number of items is less than or equal to the number set, loot will respawn",
"Keywords":"loot,respawn,maximum", "Keywords":"loot,respawn,maximum",
"FieldName":"MaxItemsForLootRespawn", "FieldName":"MaxItemsForLootRespawn",
@ -674,7 +660,7 @@
}, },
{ {
"DisplayName":"Construction Prevents Respawn", "DisplayName":"Construction Prevents Respawn",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"If enabled, items will not respawn in buildings that players have barricaded or built in", "Description":"If enabled, items will not respawn in buildings that players have barricaded or built in",
"Keywords":"loot,respawn,construction", "Keywords":"loot,respawn,construction",
"FieldName":"ConstructionPreventsLootRespawn", "FieldName":"ConstructionPreventsLootRespawn",
@ -690,7 +676,7 @@
}, },
{ {
"DisplayName":"Allow Player Safehouses", "DisplayName":"Allow Player Safehouses",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"If enabled, both admins and players can claim safehouses", "Description":"If enabled, both admins and players can claim safehouses",
"Keywords":"safehouse", "Keywords":"safehouse",
"FieldName":"PlayerSafehouse", "FieldName":"PlayerSafehouse",
@ -706,7 +692,7 @@
}, },
{ {
"DisplayName":"Allow Admin Safehouses", "DisplayName":"Allow Admin Safehouses",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"If enabled, only admins can claim safehouses", "Description":"If enabled, only admins can claim safehouses",
"Keywords":"safehouse", "Keywords":"safehouse",
"FieldName":"AdminSafehouse", "FieldName":"AdminSafehouse",
@ -722,7 +708,7 @@
}, },
{ {
"DisplayName":"Allow Safehouse Trespass", "DisplayName":"Allow Safehouse Trespass",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"If enabled, non-members can enter a safehouse without being invited", "Description":"If enabled, non-members can enter a safehouse without being invited",
"Keywords":"safehouse,trespass", "Keywords":"safehouse,trespass",
"FieldName":"SafehouseAllowTrepass", "FieldName":"SafehouseAllowTrepass",
@ -738,7 +724,7 @@
}, },
{ {
"DisplayName":"Allow Safehouse Trespass", "DisplayName":"Allow Safehouse Trespass",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"[Backup setting given typo in config key, to future proof for correction]", "Description":"[Backup setting given typo in config key, to future proof for correction]",
"Keywords":"", "Keywords":"",
"FieldName":"SafehouseAllowTrepass", "FieldName":"SafehouseAllowTrepass",
@ -751,7 +737,7 @@
}, },
{ {
"DisplayName":"Allow Safehouse Fire", "DisplayName":"Allow Safehouse Fire",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"If enabled, safehouses can be damaged by fire", "Description":"If enabled, safehouses can be damaged by fire",
"Keywords":"safehouse,fire", "Keywords":"safehouse,fire",
"FieldName":"SafehouseAllowFire", "FieldName":"SafehouseAllowFire",
@ -767,7 +753,7 @@
}, },
{ {
"DisplayName":"Allow Safehouse Loot", "DisplayName":"Allow Safehouse Loot",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"If enabled, non-members can loot safehouses", "Description":"If enabled, non-members can loot safehouses",
"Keywords":"safehouse,loot", "Keywords":"safehouse,loot",
"FieldName":"SafehouseAllowLoot", "FieldName":"SafehouseAllowLoot",
@ -783,7 +769,7 @@
}, },
{ {
"DisplayName":"Allow Safehouse Respawn", "DisplayName":"Allow Safehouse Respawn",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"If enabled, players will respawn in a safehouse they were a member of before death", "Description":"If enabled, players will respawn in a safehouse they were a member of before death",
"Keywords":"safehouse,respawn", "Keywords":"safehouse,respawn",
"FieldName":"SafehouseAllowRespawn", "FieldName":"SafehouseAllowRespawn",
@ -799,7 +785,7 @@
}, },
{ {
"DisplayName":"Game Days For Safehouse", "DisplayName":"Game Days For Safehouse",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"Number of in-game days that a player must survive for before they can claim a safehouse", "Description":"Number of in-game days that a player must survive for before they can claim a safehouse",
"Keywords":"safehouse,days", "Keywords":"safehouse,days",
"FieldName":"SafehouseDaySurvivedToClaim", "FieldName":"SafehouseDaySurvivedToClaim",
@ -813,7 +799,7 @@
}, },
{ {
"DisplayName":"Safehouse Removal Period", "DisplayName":"Safehouse Removal Period",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"Players are automatically removed from a safehouse they have not visited for this many real-time hours", "Description":"Players are automatically removed from a safehouse they have not visited for this many real-time hours",
"Keywords":"safehouse,house,removal", "Keywords":"safehouse,house,removal",
"FieldName":"SafeHouseRemovalTime", "FieldName":"SafeHouseRemovalTime",
@ -827,7 +813,7 @@
}, },
{ {
"DisplayName":"Allow Sledgehammer Destruction", "DisplayName":"Allow Sledgehammer Destruction",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"If enabled, players can destroy world objects with sledgehammers", "Description":"If enabled, players can destroy world objects with sledgehammers",
"Keywords":"sledgehammer,destruction", "Keywords":"sledgehammer,destruction",
"FieldName":"AllowDestructionBySledgehammer", "FieldName":"AllowDestructionBySledgehammer",
@ -843,7 +829,7 @@
}, },
{ {
"DisplayName":"Allow Only Safehouse Sledgehammers", "DisplayName":"Allow Only Safehouse Sledgehammers",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"If enabled, players can destroy world objects with sledgehammers only in their safehouse. Requires \"Allow Sledgehammer Destruction\" to be enabled", "Description":"If enabled, players can destroy world objects with sledgehammers only in their safehouse. Requires \"Allow Sledgehammer Destruction\" to be enabled",
"Keywords":"sledgehammer,destruction", "Keywords":"sledgehammer,destruction",
"FieldName":"SledgehammerOnlyInSafehouse", "FieldName":"SledgehammerOnlyInSafehouse",
@ -859,7 +845,7 @@
}, },
{ {
"DisplayName":"Allow Sleep", "DisplayName":"Allow Sleep",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"If enabled, players are allowed to sleep when tired, but do not need to", "Description":"If enabled, players are allowed to sleep when tired, but do not need to",
"Keywords":"sleep", "Keywords":"sleep",
"FieldName":"SleepAllowed", "FieldName":"SleepAllowed",
@ -875,7 +861,7 @@
}, },
{ {
"DisplayName":"Require Sleep", "DisplayName":"Require Sleep",
"Category":"Gameplay Settings", "Category":"PZ Gameplay Settings",
"Description":"If enabled, players become tired and need to sleep. Requires \"Allow Sleep\" to be enabled", "Description":"If enabled, players become tired and need to sleep. Requires \"Allow Sleep\" to be enabled",
"Keywords":"sleep", "Keywords":"sleep",
"FieldName":"SleepNeeded", "FieldName":"SleepNeeded",
@ -891,7 +877,7 @@
}, },
{ {
"DisplayName":"Enable Discord Integration", "DisplayName":"Enable Discord Integration",
"Category":"Discord Settings", "Category":"PZ Discord Settings",
"Description":"If enabled, allows global text chat integration with a Discord channel. Requires a valid bot token to be set under \"Discord Token\"", "Description":"If enabled, allows global text chat integration with a Discord channel. Requires a valid bot token to be set under \"Discord Token\"",
"Keywords":"discord", "Keywords":"discord",
"FieldName":"DiscordEnable", "FieldName":"DiscordEnable",
@ -907,7 +893,7 @@
}, },
{ {
"DisplayName":"Discord Token", "DisplayName":"Discord Token",
"Category":"Discord Settings", "Category":"PZ Discord Settings",
"Description":"Bot token to access the Discord servers", "Description":"Bot token to access the Discord servers",
"Keywords":"discord,token", "Keywords":"discord,token",
"FieldName":"DiscordToken", "FieldName":"DiscordToken",
@ -920,7 +906,7 @@
}, },
{ {
"DisplayName":"Discord Channel", "DisplayName":"Discord Channel",
"Category":"Discord Settings", "Category":"PZ Discord Settings",
"Description":"Name of the Discord channel to integrate with. Use \"Discord ID\" if this does not work", "Description":"Name of the Discord channel to integrate with. Use \"Discord ID\" if this does not work",
"Keywords":"discord,channel", "Keywords":"discord,channel",
"FieldName":"DiscordChannel", "FieldName":"DiscordChannel",
@ -933,7 +919,7 @@
}, },
{ {
"DisplayName":"Discord Channel ID", "DisplayName":"Discord Channel ID",
"Category":"Discord Settings", "Category":"PZ Discord Settings",
"Description":"ID of the Discord channel to integrate with. Use this if \"Discord Channel\" does not work", "Description":"ID of the Discord channel to integrate with. Use this if \"Discord Channel\" does not work",
"Keywords":"discord,channel,id", "Keywords":"discord,channel,id",
"FieldName":"DiscordChannelID", "FieldName":"DiscordChannelID",