From cb7b997df4e11ec2e57522f97ca73f66861a9e4e Mon Sep 17 00:00:00 2001 From: Greelan <53196309+Greelan@users.noreply.github.com> Date: Sat, 6 May 2023 18:19:35 +1000 Subject: [PATCH] DayZ: add cfggameplay setting (#353) --- dayz-experimentalconfig.json | 16 ++++++++++++++++ dayz-experimentalserver.cfg | 1 + dayz-originalconfig.json | 16 ++++++++++++++++ dayz-originalserver.cfg | 1 + 4 files changed, 34 insertions(+) diff --git a/dayz-experimentalconfig.json b/dayz-experimentalconfig.json index d21ddfe..006405a 100644 --- a/dayz-experimentalconfig.json +++ b/dayz-experimentalconfig.json @@ -680,6 +680,22 @@ "Placeholder":"1375", "EnumValues":{} }, + { + "DisplayName":"Enable Gameplay Settings File", + "Category":"DayZ Gameplay Settings", + "Description":"If enabled, allows the use of cfggameplay.json to modify [gameplay settings](https://community.bistudio.com/wiki/DayZ:Gameplay_Settings)", + "Keywords":"gameplay,settings,file,cfggameplay,enablecfggameplayfile", + "FieldName":"enableCfgGameplayFile", + "InputType":"checkbox", + "IsFlagArgument":false, + "ParamFieldName":"enableCfgGameplayFile", + "IncludeInCommandLine":false, + "DefaultValue":"0", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, { "DisplayName":"Storage Auto Fix", "Category":"DayZ Misc Settings", diff --git a/dayz-experimentalserver.cfg b/dayz-experimentalserver.cfg index efcad80..07b3fb9 100644 --- a/dayz-experimentalserver.cfg +++ b/dayz-experimentalserver.cfg @@ -70,6 +70,7 @@ pingWarning = {{pingWarning}}; pingCritical = {{pingCritical}}; maxPing = {{maxPing}}; serverFpsWarning = {{serverFpsWarning}}; +enableCfgGameplayFile = {{enableCfgGameplayFile}}; // ******* // USER CONFIGURABLE SETTINGS - ADD ADDITIONAL SETTINGS HERE diff --git a/dayz-originalconfig.json b/dayz-originalconfig.json index a9df02e..df3d1e8 100644 --- a/dayz-originalconfig.json +++ b/dayz-originalconfig.json @@ -680,6 +680,22 @@ "Placeholder":"1375", "EnumValues":{} }, + { + "DisplayName":"Enable Gameplay Settings File", + "Category":"DayZ Gameplay Settings", + "Description":"If enabled, allows the use of cfggameplay.json to modify [gameplay settings](https://community.bistudio.com/wiki/DayZ:Gameplay_Settings)", + "Keywords":"gameplay,settings,file,cfggameplay,enablecfggameplayfile", + "FieldName":"enableCfgGameplayFile", + "InputType":"checkbox", + "IsFlagArgument":false, + "ParamFieldName":"enableCfgGameplayFile", + "IncludeInCommandLine":false, + "DefaultValue":"0", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, { "DisplayName":"Storage Auto Fix", "Category":"DayZ Misc Settings", diff --git a/dayz-originalserver.cfg b/dayz-originalserver.cfg index efcad80..07b3fb9 100644 --- a/dayz-originalserver.cfg +++ b/dayz-originalserver.cfg @@ -70,6 +70,7 @@ pingWarning = {{pingWarning}}; pingCritical = {{pingCritical}}; maxPing = {{maxPing}}; serverFpsWarning = {{serverFpsWarning}}; +enableCfgGameplayFile = {{enableCfgGameplayFile}}; // ******* // USER CONFIGURABLE SETTINGS - ADD ADDITIONAL SETTINGS HERE