Merge pull request #53 from Greelan/pz

PZ: various updates
This commit is contained in:
PhonicUK 2022-02-14 18:11:12 +00:00 committed by GitHub
commit 856b682e1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 779 additions and 90 deletions

View File

@ -6,9 +6,9 @@ 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.ApplicationPort2}
Meta.ConfigManifest=project-zomboidconfig.json Meta.ConfigManifest=project-zomboidconfig.json
Meta.MetaConfigManifest= Meta.MetaConfigManifest=project-zomboidmetaconfig.json
Meta.ConfigRoot=project-zomboid.kvp Meta.ConfigRoot=project-zomboid.kvp
Meta.MinAMPVersion=2.3.0.8 Meta.MinAMPVersion=2.3.2.0
Meta.SpecificDockerImage= Meta.SpecificDockerImage=
Meta.Prerequsites=[] Meta.Prerequsites=[]
App.DisplayName=Project Zomboid App.DisplayName=Project Zomboid
@ -36,12 +36,12 @@ App.ApplicationIPBinding=
App.ApplicationPort1=16261 App.ApplicationPort1=16261
App.ApplicationPort2=8766 App.ApplicationPort2=8766
App.ApplicationPort3=8767 App.ApplicationPort3=8767
App.RemoteAdminPort=0 App.RemoteAdminPort=27015
App.MaxUsers=20 App.MaxUsers=16
App.UseRandomAdminPassword=False App.UseRandomAdminPassword=False
App.RemoteAdminPassword= App.RemoteAdminPassword=Password123
App.AdminMethod=STDIO App.AdminMethod=STDIO
App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":31,"UpdateSource":4,"UpdateSourceData":"380870","UpdateSourceArgs":null,"UpdateSourceVersion":null,"UpdateSourceTarget":null,"UnzipUpdateSource":false,"OverwriteExistingFiles":false,"ForceDownloadPlatform":0,"UpdateSourceConditionSetting":null,"UpdateSourceConditionValue":null}] App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"380870"},{"UpdateStageName":"Mods Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./project-zomboid/380870/Zomboid/mods","OverwriteExistingFiles":false}]
App.Compatibility=None App.Compatibility=None
App.SteamUpdateAnonymousLogin=True App.SteamUpdateAnonymousLogin=True
App.SteamForceLoginPrompt=False App.SteamForceLoginPrompt=False
@ -51,9 +51,9 @@ 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+> [\d,]+> \*+ SERVER STARTED \*+$ Console.AppReadyRegex=^LOG\s+: Network\s+, \d+> [\d,.]+> \*+ SERVER STARTED \*+$
Console.UserJoinRegex=^LOG\s+: Network\s+, \d+> [\d,]+> Connected new client (?<username>.+?) ID # (?<userid>.+?) and assigned DL port (?<userport>.+?)$ Console.UserJoinRegex=^LOG\s+: Network\s+, \d+> [\d,.]+> Connected new client (?<username>.+?) ID # (?<userid>.+?) and assigned DL port (?<userport>.+?)$
Console.UserLeaveRegex=^LOG\s+: (Network|General)\s+, \d+> [\d,]+> (Disconnected player "(?<username>.+?)" |\d+ znet: Disconnecting client #(?<userid>.+?) SteamID=)\d+$ Console.UserLeaveRegex=^LOG\s+: (Network|General)\s+, \d+> [\d,.]+> (Disconnected player "(?<username>.+?)" |\d+ znet: Disconnecting client #(?<userid>.+?) SteamID=)\d+$
Console.UserChatRegex= Console.UserChatRegex=
Console.UpdateAvailableRegex= Console.UpdateAvailableRegex=
Console.SuppressLogAtStart=False Console.SuppressLogAtStart=False

733
project-zomboidconfig.json Normal file → Executable file
View File

@ -1,26 +1,229 @@
[ [
{
"DisplayName":"Game Port",
"Category":"Server Settings",
"Description":"",
"Keywords":"",
"FieldName":"$ApplicationPort1",
"InputType":"number",
"IsFlagArgument":false,
"Hidden":true,
"ParamFieldName":"DefaultPort",
"IncludeInCommandLine":false,
"DefaultValue":"16261"
},
{
"DisplayName":"Steam Port 1",
"Category":"Server Settings",
"Description":"",
"Keywords":"",
"FieldName":"$ApplicationPort2",
"InputType":"number",
"IsFlagArgument":false,
"Hidden":true,
"ParamFieldName":"SteamPort1",
"IncludeInCommandLine":false,
"DefaultValue":"8766"
},
{
"DisplayName":"Steam Port 2",
"Category":"Server Settings",
"Description":"",
"Keywords":"",
"FieldName":"$ApplicationPort3",
"InputType":"number",
"IsFlagArgument":false,
"Hidden":true,
"ParamFieldName":"SteamPort2",
"IncludeInCommandLine":false,
"DefaultValue":"8767"
},
{
"DisplayName":"RCON Port",
"Category":"Server Settings",
"Description":"",
"Keywords":"",
"FieldName":"$RemoteAdminPort",
"InputType":"number",
"IsFlagArgument":false,
"Hidden":true,
"ParamFieldName":"RCONPort",
"IncludeInCommandLine":false,
"DefaultValue":"27015"
},
{
"DisplayName":"Server Public Name",
"Category":"Server Settings",
"Description":"Server name as shown to the public (if the server is visible)",
"Keywords":"public,name",
"FieldName":"PublicName",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"PublicName",
"IncludeInCommandLine":false,
"DefaultValue":"My PZ Server"
},
{
"DisplayName":"Make Server Public",
"Category":"Server Settings",
"Description":"If enabled, the server will be visible on Steam",
"Keywords":"public,steam",
"FieldName":"Public",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"Public",
"IncludeInCommandLine":false,
"DefaultValue":"false",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Server Public Description",
"Category":"Server Settings",
"Description":"Description that people can see while going over your server",
"Keywords":"public,description",
"FieldName":"PublicDescription",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"PublicDescription",
"IncludeInCommandLine":false,
"DefaultValue":""
},
{
"DisplayName":"Server Password",
"Category":"Server Settings",
"Description":"Password to connect to the server. Default is no password",
"Keywords":"password",
"FieldName":"Password",
"InputType":"password",
"IsFlagArgument":false,
"ParamFieldName":"Password",
"IncludeInCommandLine":false,
"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":"",
"SkipIfEmpty":true
},
{
"DisplayName":"RCON Password",
"Category":"Server Settings",
"Description":"Password to connect to RCON. NOTE: You should change this after first installing the server",
"Keywords":"rcon,password",
"FieldName":"$RemoteAdminPassword",
"InputType":"RandomPassword",
"IsFlagArgument":false,
"ParamFieldName":"RCONPassword",
"IncludeInCommandLine":false,
"DefaultValue":"Password123" "DefaultValue":"Password123"
}, },
{ {
"DisplayName": "SteamVAC", "DisplayName":"Welcome Message",
"Category":"Server Settings", "Category":"Server Settings",
"Description": "Enable SteamVAC", "Description":"Welcome message when players join the server",
"Keywords": "steamvac", "Keywords":"welcome,message,motd",
"FieldName": "steamvac", "FieldName":"ServerWelcomeMessage",
"InputType":"text",
"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!"
},
{
"DisplayName":"Player Limit",
"Category":"Server Settings",
"Description":"Maximum number of players that may connect to the server",
"Keywords":"maximum,players",
"FieldName":"$MaxUsers",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"MaxPlayers",
"IncludeInCommandLine":false,
"DefaultValue":"16",
"Suffix":"players"
},
{
"DisplayName":"Disable Whitelist",
"Category":"Server Settings",
"Description":"",
"Keywords":"whitelist,open",
"FieldName":"Open",
"InputType":"checkbox", "InputType":"checkbox",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName": "steamvac", "ParamFieldName":"Open",
"IncludeInCommandLine": true, "IncludeInCommandLine":false,
"DefaultValue":"true",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Automatically Whitelist Players",
"Category":"Server Settings",
"Description":"Automatically add players to the whitelist (if not disabled)",
"Keywords":"whitelist,add,automatic",
"FieldName":"AutoCreateUserInWhiteList",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"AutoCreateUserInWhiteList",
"IncludeInCommandLine":false,
"DefaultValue":"false",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Memory Limit",
"Category":"Server Settings",
"Description":"Java's maximum heap size",
"Keywords":"maximum,memory,limit",
"FieldName":"MaxMemory",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"MaxMemory",
"IncludeInCommandLine":false,
"DefaultValue":"4096",
"Suffix":"MB"
},
{
"DisplayName":"Java Garbage Collection Algorithm (Windows)",
"Category":"Server Settings",
"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",
"FieldName":"JavaGCAlgo",
"InputType":"enum",
"IsFlagArgument":false,
"ParamFieldName":"JavaGCAlgo",
"IncludeInCommandLine":false,
"DefaultValue":"-XX:+UseZGC",
"EnumValues":{
"-XX:+UseZGC":"ZGC Algorithm (default)",
"-XX:+UseG1GC":"G1GC Algorithm"
}
},
{
"DisplayName":"Enable Valve Anti-cheat (Steam VAC)",
"Category":"Server Settings",
"Description":"",
"Keywords":"VAC,cheat",
"FieldName":"SteamVAC",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"SteamVAC",
"IncludeInCommandLine":false,
"DefaultValue":"true", "DefaultValue":"true",
"EnumValues":{ "EnumValues":{
"True":"true", "True":"true",
@ -44,55 +247,533 @@
} }
}, },
{ {
"DisplayName": "Memory Limit (MB)", "DisplayName":"Map",
"Category":"Server Settings", "Category":"Server Settings",
"Description": "Java's maximum heap size", "Description":"Sets the map for the server",
"Keywords": "maximum,memory,limit", "Keywords":"map",
"FieldName": "MaxMemory", "FieldName":"Map",
"InputType": "number", "InputType":"text",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName": "MaxMemory", "ParamFieldName":"Map",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue": "4096" "DefaultValue":"Muldraugh, KY"
}, },
{ {
"DisplayName": "Java Garbage Collection Algorithm (Windows)", "DisplayName":"Mods",
"Category":"Server Settings", "Category":"Server Settings",
"Description": "Default Java garbage collection algorithm is ZGC, but G1GC can be selected for older Windows versions that cannot use ZGC", "Description":"Semi-colon separated list of names of mods to install on the server. The mod IDs also need to be added to Workshop Items",
"Keywords": "garbage,collection,algorithm", "Keywords":"mods",
"FieldName": "JavaGCAlgo", "FieldName":"Mods",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"Mods",
"IncludeInCommandLine":false,
"DefaultValue":"",
"Placeholder":"67commando;86oshkoshP19A;92amgeneralM998"
},
{
"DisplayName":"Workshop Items",
"Category":"Server Settings",
"Description":"Semi-colon separated list of IDs of workshop items to install on the server. Mod names also need to be added to Mods",
"Keywords":"workshop,items",
"FieldName":"WorkshopItems",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"WorkshopItems",
"IncludeInCommandLine":false,
"DefaultValue":"",
"Placeholder":"2478247379;2566953935"
},
{
"DisplayName":"Display Player Usernames",
"Category":"Server Settings",
"Description":"If enabled, display players' usernames",
"Keywords":"display,name",
"FieldName":"DisplayUserName",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"DisplayUserName",
"IncludeInCommandLine":false,
"DefaultValue":"true",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Display Player Character Names",
"Category":"Server Settings",
"Description":"If enabled, display players' character names",
"Keywords":"display,character,name",
"FieldName":"ShowFirstAndLastName",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"ShowFirstAndLastName",
"IncludeInCommandLine":false,
"DefaultValue":"false",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Steam Scoreboard",
"Category":"Server Settings",
"Description":"Sets whether steam usernames and avatars are shown in the player list",
"Keywords":"steam,scoreboard",
"FieldName":"SteamScoreboard",
"InputType":"enum", "InputType":"enum",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName": "JavaGCAlgo", "ParamFieldName":"SteamScoreboard",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue": "-XX:+UseZGC", "DefaultValue":"true",
"EnumValues":{ "EnumValues":{
"-XX:+UseZGC": "ZGC Algorithm (default)", "true":"Shown to everyone",
"-XX:+UseG1GC": "G1GC Algorithm" "false":"Shown to no-one",
"admins":"Shown to admins only"
} }
}, },
{
"DisplayName":"Pause When Empty",
"Category":"Server Settings",
"Description":"If enabled, the server will pause when empty, and won't update",
"Keywords":"pause,empty",
"FieldName":"PauseEmpty",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"PauseEmpty",
"IncludeInCommandLine":false,
"DefaultValue":"true",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Auto World Save Interval",
"Category":"Server Settings",
"Description":"Time between each automatic world save (0 = never)",
"Keywords":"save,interval",
"FieldName":"SaveWorldEveryMinutes",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"SaveWorldEveryMinutes",
"IncludeInCommandLine":false,
"DefaultValue":"0",
"Suffix":"minutes"
},
{ {
"DisplayName":"Additional Java Startup Parameters", "DisplayName":"Additional Java Startup Parameters",
"Category":"Server Settings", "Category":"Server Settings",
"Description": "Additional Java arguments (not server arguments) as startup parameters that are not otherwise set by AMP. Use with care. Example: -Ddebug", "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",
"InputType":"text", "InputType":"text",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName":"CustomJavaArgs", "ParamFieldName":"CustomJavaArgs",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue": " " "DefaultValue":"",
"Placeholder":"-Ddebug"
},
{
"DisplayName":"Server Local Name",
"Category":"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",
"Keywords":"server,name",
"FieldName":"servername",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"servername",
"IncludeInCommandLine":true,
"DefaultValue":"servertest"
}, },
{ {
"DisplayName":"Additional Server Startup Parameters", "DisplayName":"Additional Server Startup Parameters",
"Category":"Server Settings", "Category":"Server Settings",
"Description": "Additional server arguments (not Java arguments) as startup parameters that are not otherwise set by AMP. Use with care. Example: -ip 192.168.1.10", "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",
"InputType":"text", "InputType":"text",
"IsFlagArgument":false, "IsFlagArgument":false,
"ParamFieldName":"CustomServerArgs", "ParamFieldName":"CustomServerArgs",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"",
"Placeholder":"-ip 192.168.1.10"
},
{
"DisplayName":"Set Spawn Point",
"Category":"Gameplay Settings",
"Description":"Sets the spawn point. Default is 0,0,0. Use x,y,z coordinates",
"Keywords":"spawnpoint,map",
"FieldName":"SpawnPoint",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"SpawnPoint",
"IncludeInCommandLine":false,
"DefaultValue":"0,0,0"
},
{
"DisplayName":"Spawn Items",
"Category":"Gameplay Settings",
"Description":"Comma separated list of items that all players spawn with",
"Keywords":"spawn,items",
"FieldName":"SpawnItems",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"SpawnItems",
"IncludeInCommandLine":false,
"DefaultValue":"",
"Placeholder":"Base.BaseballBat,Base.WaterBottleFull"
},
{
"DisplayName":"Allow PvP",
"Category":"Gameplay Settings",
"Description":"If enabled, Player vs Player is allowed",
"Keywords":"pvp",
"FieldName":"PVP",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"PVP",
"IncludeInCommandLine":false,
"DefaultValue":"true",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Enable PvP Toggle (Safety System)",
"Category":"Gameplay Settings",
"Description":"If enabled, allows PvP to be toggled on and off. Requires PvP to be allowed",
"Keywords":"safetysystem,pvp",
"FieldName":"SafetySystem",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"SafetySystem",
"IncludeInCommandLine":false,
"DefaultValue":"true",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"PvP Toggle Timer",
"Category":"Gameplay Settings",
"Description":"Time taken to switch PvP between on and off",
"Keywords":"safetysystem,pvp,timer",
"FieldName":"SafetyToggleTimer",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"SafetyToggleTimer",
"IncludeInCommandLine":false,
"DefaultValue":"2",
"Suffix":"seconds"
},
{
"DisplayName":"PvP Cooldown Timer",
"Category":"Gameplay Settings",
"Description":"Time taken before PvP can be toggled again",
"Keywords":"safetysystem,pvp,timer,cooldown",
"FieldName":"SafetyCooldownTimer",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"SafetyCooldownTimer",
"IncludeInCommandLine":false,
"DefaultValue":"3",
"Suffix":"seconds"
},
{
"DisplayName":"Enable Factions",
"Category":"Gameplay Settings",
"Description":"If enabled, factions can be created and used",
"Keywords":"factions",
"FieldName":"Faction",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"Faction",
"IncludeInCommandLine":false,
"DefaultValue":"true",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Enable Global Chat",
"Category":"Gameplay Settings",
"Description":"If enabled, players can communicate with everyone (using the /all command in chat)",
"Keywords":"chat,global",
"FieldName":"GlobalChat",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"GlobalChat",
"IncludeInCommandLine":false,
"DefaultValue":"true",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Nighttime Length",
"Category":"Gameplay Settings",
"Description":"Sets how long nighttime lasts depending on daytime: 0.5 means twice as long, 2 means half the normal time",
"Keywords":"nighttime,night",
"FieldName":"nightlengthmodifier",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"nightlengthmodifier",
"IncludeInCommandLine":false,
"DefaultValue":"1.0"
},
{
"DisplayName":"Don't Allow Fire",
"Category":"Gameplay Settings",
"Description":"If enabled, fires are not allowed. Enable if fires cause problems for your server",
"Keywords":"fire",
"FieldName":"NoFire",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"NoFire",
"IncludeInCommandLine":false,
"DefaultValue":"false",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Announce Player Death",
"Category":"Gameplay Settings",
"Description":"If enabled, a server-wide announcement is made when a player dies",
"Keywords":"announce,death",
"FieldName":"AnnounceDeath",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"AnnounceDeath",
"IncludeInCommandLine":false,
"DefaultValue":"false",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Minimum Period for Loot Respawn",
"Category":"Gameplay Settings",
"Description":"Sets the in-game hours that must have passed before loot can respawn (0 = never)",
"Keywords":"loot,respawn",
"FieldName":"HoursForLootRespawn",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"HoursForLootRespawn",
"IncludeInCommandLine":false,
"DefaultValue":"0",
"Suffix":"hours"
},
{
"DisplayName":"Maximum Items for Loot Respawn",
"Category":"Gameplay Settings",
"Description":"Sets The maximum amount of items in containers before items can respawn. If the number of items are less than or equal to the number set, loot will respawn",
"Keywords":"loot,respawn,maximum",
"FieldName":"MaxItemsForLootRespawn",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"MaxItemsForLootRespawn",
"IncludeInCommandLine":false,
"DefaultValue":"4",
"Suffix":"items"
},
{
"DisplayName":"Allow Player Safehouses",
"Category":"Gameplay Settings",
"Description":"If enabled, players can have safehouses",
"Keywords":"safehouse",
"FieldName":"PlayerSafehouse",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"PlayerSafehouse",
"IncludeInCommandLine":false,
"DefaultValue":"false",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Allow Admin Safehouses",
"Category":"Gameplay Settings",
"Description":"If enabled, admins can have safehouses",
"Keywords":"safehouse",
"FieldName":"AdminSafehouse",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"AdminSafehouse",
"IncludeInCommandLine":false,
"DefaultValue":"false",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Allow Safehouse Fire",
"Category":"Gameplay Settings",
"Description":"If enabled, safehouses can catch fire",
"Keywords":"safehouse,fire",
"FieldName":"SafehouseAllowFire",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"SafehouseAllowFire",
"IncludeInCommandLine":false,
"DefaultValue":"true",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Allow Safehouse Respawn",
"Category":"Gameplay Settings",
"Description":"If enabled, a player can respawn in their safehouse after death",
"Keywords":"safehouse,respawn",
"FieldName":"SafehouseAllowRespawn",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"SafehouseAllowRespawn",
"IncludeInCommandLine":false,
"DefaultValue":"false",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Game Days For Safehouse",
"Category":"Gameplay Settings",
"Description":"Number of game days required before a safehouse can be claimed",
"Keywords":"safehouse,days",
"FieldName":"SafehouseDaySurvivedToClaim",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"SafehouseDaySurvivedToClaim",
"IncludeInCommandLine":false,
"DefaultValue":"0",
"Suffix":"days"
},
{
"DisplayName":"Safehouse Removal Period",
"Category":"Gameplay Settings",
"Description":"Players are automatically removed from a safehouse they have not visited for this many real-time hours",
"Keywords":"safehouse,house,removal",
"FieldName":"SafeHouseRemovalTime",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"SafeHouseRemovalTime",
"IncludeInCommandLine":false,
"DefaultValue":"144",
"Suffix":"hours"
},
{
"DisplayName":"Allow Sledgehammer Destruction",
"Category":"Gameplay Settings",
"Description":"If enabled, objects can be destroyed by sledgehammer",
"Keywords":"sledgehammer,destruction",
"FieldName":"AllowDestructionBySledgehammer",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"AllowDestructionBySledgehammer",
"IncludeInCommandLine":false,
"DefaultValue":"true",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Allow Sleep",
"Category":"Gameplay Settings",
"Description":"If enabled, players can sleep",
"Keywords":"sleep",
"FieldName":"SleepAllowed",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"SleepAllowed",
"IncludeInCommandLine":false,
"DefaultValue":"false",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Require Sleep",
"Category":"Gameplay Settings",
"Description":"If enabled, players require sleep",
"Keywords":"sleep",
"FieldName":"SleepNeeded",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"SleepNeeded",
"IncludeInCommandLine":false,
"DefaultValue":"false",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Enable Discord Integration",
"Category":"Discord Settings",
"Description":"Requires a valid token to be set",
"Keywords":"discord",
"FieldName":"DiscordEnable",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"DiscordEnable",
"IncludeInCommandLine":false,
"DefaultValue":"false",
"EnumValues":{
"True":"true",
"False":"false"
}
},
{
"DisplayName":"Discord Token",
"Category":"Discord Settings",
"Description":"Token to access the Discord servers",
"Keywords":"discord,token",
"FieldName":"DiscordToken",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"DiscordToken",
"IncludeInCommandLine":false,
"DefaultValue":"" "DefaultValue":""
},
{
"DisplayName":"Discord Channel",
"Category":"Discord Settings",
"Description":"Name of the Discord channel to integrate with",
"Keywords":"discord,channel",
"FieldName":"DiscordChannel",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"DiscordChannel",
"IncludeInCommandLine":false,
"DefaultValue":""
},
{
"DisplayName":"Discord Channel ID",
"Category":"Discord Settings",
"Description":"ID of the Discord channel to integrate with",
"Keywords":"discord,channel,id",
"FieldName":"DiscordChannelID",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"DiscordChannelID",
"IncludeInCommandLine":false,
"DefaultValue":"",
"Placeholder":"475182341782896651"
} }
] ]

View File

@ -0,0 +1,8 @@
[
{
"ConfigFile": "Zomboid/Server/{{servername}}.ini",
"AutoMap": true,
"ConfigType": "kvp",
"ConfigFormatRegex": "^(?<key>.+?)=(?<value>.*?)$"
}
]