diff --git a/seven-days-settings-undead-legacy-experimental.xml b/seven-days-settings-undead-legacy-experimental.xml new file mode 100644 index 0000000..ff6ddbd --- /dev/null +++ b/seven-days-settings-undead-legacy-experimental.xml @@ -0,0 +1,208 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/seven-days-settings-undead-legacy-stable.xml b/seven-days-settings-undead-legacy-stable.xml new file mode 100644 index 0000000..964ac05 --- /dev/null +++ b/seven-days-settings-undead-legacy-stable.xml @@ -0,0 +1,204 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/seven-days-to-die.kvp b/seven-days-to-die.kvp index f4a0937..ddbda6f 100644 --- a/seven-days-to-die.kvp +++ b/seven-days-to-die.kvp @@ -2,7 +2,7 @@ Meta.DisplayName=Seven Days To Die Meta.Description=Seven Days to Die Dedicated Server Meta.OS=Windows, Linux Meta.Arch=x86_64 -Meta.Author=IceOfWraith, Shinynecrid +Meta.Author=IceOfWraith, Shinynecrid, GKuba Meta.URL=https://steamdb.info/app/251570/ Meta.DisplayImageSource=steam:251570 Meta.EndpointURIFormat=steam://connect/{0} @@ -25,7 +25,7 @@ App.LinuxCommandLineArgs= App.WindowsCommandLineArgs= App.CommandLineArgs=-quit -batchmode -nographics -configfile={{ConfigFile}}.xml {{$FormattedArgs}} -dedicated App.AppSettings={} -App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:{{$FullRootDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"251570"} +App.EnvironmentVariables={"DOORSTOP_ENABLE":"TRUE","DOORSTOP_INVOKE_DLL_PATH":"./BepInEx/core/BepInEx.Preloader.dll","DOORSTOP_CORLIB_OVERRIDE_PATH":"./BepInEx/core","LD_LIBRARY_PATH":"./doorstop_libs:{{$FullBaseDir}}linux64:{{$FullRootDir}}linux64:%LD_LIBRARY_PATH%","LD_PRELOAD":"libdoorstop_x64.so","SteamAppId":"251570"} App.CommandLineParameterFormat=-{0} "{1}" App.CommandLineParameterDelimiter= App.ExitMethod=OS_CLOSE @@ -75,4 +75,4 @@ Limits.SleepOnStart=False Limits.SleepDelayMinutes=5 Limits.DozeDelay=2 Limits.AutoRetryCount=5 -Limits.SleepStartThresholdSeconds=25 +Limits.SleepStartThresholdSeconds=25 \ No newline at end of file diff --git a/seven-days-to-dieconfig.json b/seven-days-to-dieconfig.json index 187d60d..ddfe85c 100644 --- a/seven-days-to-dieconfig.json +++ b/seven-days-to-dieconfig.json @@ -319,7 +319,7 @@ "IsFlagArgument":false, "ParamFieldName":"/ServerSettings/property[@name='EACEnabled']/@value", "IncludeInCommandLine":false, - "DefaultValue":"true", + "DefaultValue":"false", "EnumValues":{ "False": "false", "True": "true" @@ -719,7 +719,7 @@ "DefaultValue":"0", "EnumValues":{ "0": "Walk", - "1": "Job", + "1": "Jog", "2": "Run", "3": "Sprint", "4": "Nightmare" @@ -737,7 +737,7 @@ "DefaultValue":"3", "EnumValues":{ "0": "Walk", - "1": "Job", + "1": "Jog", "2": "Run", "3": "Sprint", "4": "Nightmare" @@ -755,7 +755,7 @@ "DefaultValue":"3", "EnumValues":{ "0": "Walk", - "1": "Job", + "1": "Jog", "2": "Run", "3": "Sprint", "4": "Nightmare" @@ -773,7 +773,7 @@ "DefaultValue":"3", "EnumValues":{ "0": "Walk", - "1": "Job", + "1": "Jog", "2": "Run", "3": "Sprint", "4": "Nightmare" @@ -1121,7 +1121,7 @@ },{ "DisplayName":"Config File Version", "Category":"SteamCMD and Updates", - "Description":"Select which config file to download. Must match the version of the Release Stream.", + "Description":"Select which config file to download. Must match the version of the Release Stream. Check required Undead Legacy Version [here](https://ul.subquake.com/download).", "Keywords":"config,file,version", "FieldName":"ConfigFile", "InputType":"enum", @@ -1133,7 +1133,9 @@ "seven-days-settings184": "18.4", "seven-days-settings196": "19.6", "seven-days-settings200-203": "20.0 to 20.3", - "seven-days-settings204": "20.4 or Higher" + "seven-days-settings204": "20.4 and Higher", + "seven-days-settings-undead-legacy-stable": "Undead Legacy Stable", + "seven-days-settings-undead-legacy-experimental": "Undead Legacy Experimental" } },{ "DisplayName":"Install UMOD", @@ -1150,5 +1152,125 @@ "False": "false", "True": "true" } + },{ + "DisplayName":"Please Read!", + "Category":"7d2d - Undead Legacy Settings", + "Description":"If you would like to install Undead Legacy you need to pick either the Stable or Experimental config under the \"SteamCMD and Updates\" section. This will then grab the appropriate Undead Legacy version when you click update.", + "Keywords":"Read,Please,Info", + "FieldName":"PleaseRead", + "InputType":"hidden" + },{ + "DisplayName":"Recipe Filter", + "Category":"7d2d - Undead Legacy Settings", + "Description":"Controls how recipes are displayed.", + "Keywords":"Recipe,Filter", + "FieldName":"RecipeFilter", + "InputType":"enum", + "IsFlagArgument":false, + "ParamFieldName":"/ServerSettings/property[@name='RecipeFilter']/@value", + "IncludeInCommandLine":false, + "DefaultValue":"0", + "EnumValues":{ + "0": "Shows all recipes", + "1": "Shows unknown recipes, search limited by workstation", + "2": "Shows only known and workstation relevant recipes" + } + },{ + "DisplayName":"Starter Quest Enabled", + "Category":"7d2d - Undead Legacy Settings", + "Description":"Determines if you trigger the tutorial quest upon first spawning on the server.", + "Keywords":"Quest,Starter,Tutorial", + "FieldName":"StarterQuestEnabled", + "InputType":"checkbox", + "IsFlagArgument":false, + "ParamFieldName":"StarterQuestEnabled", + "IncludeInCommandLine":false, + "DefaultValue":"true", + "EnumValues":{ + "False": "false", + "True": "true" + } + },{ + "DisplayName":"Wandering Horde Frequency", + "Category":"7d2d - Undead Legacy Settings", + "Description":"After how many in-game hours a wandering horde would occur. On top of this value 1 to 4 additional hours may be added depending on spawn conditions. Minimum Value: 1", + "Keywords":"Wandering,Horde,Frequency", + "FieldName":"WanderingHordeFrequency", + "InputType":"number", + "IsFlagArgument":false, + "ParamFieldName":"/ServerSettings/property[@name='WanderingHordeFrequency']/@value", + "IncludeInCommandLine":false, + "DefaultValue":"16", + "EnumValues":{}, + "Suffix": "hours" + },{ + "DisplayName":"Wandering Horde Range", + "Category":"7d2d - Undead Legacy Settings", + "Description":"Additional random hours added to Wandering Horde Frequency to add randomness to hours between spawns. For example, Frequency: 5, Frequency RNG Range: 10, then wandering horde will spawn anywhere between 5 to 15 (5+10) in-game hours + additional hours if special conditions occur (No players alive, etc).", + "Keywords":"Wandering,Horde,Range", + "FieldName":"WanderingHordeRange", + "InputType":"number", + "IsFlagArgument":false, + "ParamFieldName":"/ServerSettings/property[@name='WanderingHordeRange']/@value", + "IncludeInCommandLine":false, + "DefaultValue":"8", + "EnumValues":{}, + "Suffix": "hours" + },{ + "DisplayName":"Wandering Horde Count", + "Category":"7d2d - Undead Legacy Settings", + "Description":"Fixed zombie count, that will spawn in a Wandering horde. Minimum Value: 2. Zombies + Zombie RNG Range value must not exceed: 64", + "Keywords":"Wandering,Horde,Count", + "FieldName":"WanderingHordeEnemyCount", + "InputType":"number", + "IsFlagArgument":false, + "ParamFieldName":"/ServerSettings/property[@name='WanderingHordeEnemyCount']/@value", + "IncludeInCommandLine":false, + "DefaultValue":"10", + "EnumValues":{}, + "Suffix": "zombies" + },{ + "DisplayName":"Wandering Horde Range", + "Category":"7d2d - Undead Legacy Settings", + "Description":"This value determines up to how many additional zombies can spawn for Wandering Horde. For example, Zombies: 5, Zombies RNG Range: 10, then wandering horde will spawn anywhere between 5 to 15 5+10 zombies. Combined value must not exceed: 64", + "Keywords":"Wandering,Horde,Range", + "FieldName":"WanderingHordeEnemyRange", + "InputType":"number", + "IsFlagArgument":false, + "ParamFieldName":"/ServerSettings/property[@name='WanderingHordeEnemyRange']/@value", + "IncludeInCommandLine":false, + "DefaultValue":"10", + "EnumValues":{}, + "Suffix": "zombies" + },{ + "DisplayName":"Death Penalty - Experimental Only", + "Category":"7d2d - Undead Legacy Settings", + "Description":"Sets what will be the consequences to your progression when you die in the game: No penalty - you will not get XP debt as well as no debuff, that lowers your Attributes. Beginner - near Death Trauma debuff Vanilla like experience. Moderate - same as beginner, but also with loss of random Action skills. Standard - same as moderate, but also you will respawn with partial health, food and water.", + "Keywords":"Death,Penalty", + "FieldName":"DeathPenalty", + "InputType":"enum", + "IsFlagArgument":false, + "ParamFieldName":"/ServerSettings/property[@name='DeathPenalty']/@value", + "IncludeInCommandLine":false, + "DefaultValue":"3", + "EnumValues":{ + "0": "No penalty", + "1": "Beginner", + "2": "Moderate", + "3": "Standard" + } + },{ + "DisplayName":"POI Tier Loot Scale - Experimental Only", + "Category": "7d2d - Undead Legacy Settings", + "Description":"Multiplier determining how important a POI Tier is when scaling Loot Stage. 0% - Disabled Default, 100% Vanilla Scaling. Acceptable values are integers from 0 to 100", + "Keywords":"POI,Tier,Loot,Scale", + "FieldName":"POITierLootScale", + "InputType":"number", + "IsFlagArgument":false, + "ParamFieldName":"/ServerSettings/property[@name='POITierLootScale']/@value", + "IncludeInCommandLine":false, + "DefaultValue":"0", + "EnumValues":{}, + "Suffix": "%" } -] +] \ No newline at end of file diff --git a/seven-days-to-diemetaconfig.json b/seven-days-to-diemetaconfig.json index 71d6610..b5eed71 100644 --- a/seven-days-to-diemetaconfig.json +++ b/seven-days-to-diemetaconfig.json @@ -18,5 +18,15 @@ "ConfigFile": "seven-days-settings204.xml", "AutoMap": true, "ConfigType": "xml" + }, + { + "ConfigFile": "seven-days-settings-undead-legacy-stable.xml", + "AutoMap": true, + "ConfigType": "xml" + }, + { + "ConfigFile": "seven-days-settings-undead-legacy-experimental.xml", + "AutoMap": true, + "ConfigType": "xml" } ] \ No newline at end of file diff --git a/seven-days-to-dieupdates.json b/seven-days-to-dieupdates.json index 72a8acc..72864ce 100644 --- a/seven-days-to-dieupdates.json +++ b/seven-days-to-dieupdates.json @@ -71,5 +71,87 @@ "UpdateSourceConditionSetting": "UMOD", "UpdateSourceConditionValue": "true", "DeleteAfterExtract": true + }, + { + "UpdateStageName": "Settings File Download", + "UpdateSourcePlatform": "All", + "UpdateSource": "FetchURL", + "UpdateSourceData": "https://github.com/CubeCoders/AMPTemplates/raw/main/seven-days-settings-undead-legacy-stable.xml", + "UpdateSourceTarget": "./294420", + "OverwriteExistingFiles": false, + "UpdateSourceConditionSetting": "ConfigFile", + "UpdateSourceConditionValue": "seven-days-settings-undead-legacy-stable" + }, + { + "UpdateStageName": "Settings File Download", + "UpdateSourcePlatform": "All", + "UpdateSource": "FetchURL", + "UpdateSourceData": "https://github.com/CubeCoders/AMPTemplates/raw/main/seven-days-settings-undead-legacy-experimental.xml", + "UpdateSourceTarget": "./294420", + "OverwriteExistingFiles": false, + "UpdateSourceConditionSetting": "ConfigFile", + "UpdateSourceConditionValue": "seven-days-settings-undead-legacy-experimental" + }, + { + "UpdateStageName": "Download Undead Legacy Stable", + "UpdateSourcePlatform": "All", + "UpdateSource": "FetchURL", + "UpdateSourceData": "https://ul.subquake.com/dl?v=stable", + "UpdateSourceArgs":"UndeadLegacyStable.zip", + "UpdateSourceTarget": "{{$FullBaseDir}}", + "UnzipUpdateSource": true, + "OverwriteExistingFiles": true, + "UpdateSourceConditionSetting": "ConfigFile", + "UpdateSourceConditionValue": "seven-days-settings-undead-legacy-stable", + "DeleteAfterExtract": true + }, + { + "UpdateStageName": "Download Undead Legacy Experimental", + "UpdateSourcePlatform": "All", + "UpdateSource": "FetchURL", + "UpdateSourceData": "https://ul.subquake.com/dl?v=exp", + "UpdateSourceArgs":"UndeadLegacyExperimental.zip", + "UpdateSourceTarget": "{{$FullBaseDir}}", + "UnzipUpdateSource": true, + "OverwriteExistingFiles": true, + "UpdateSourceConditionSetting": "ConfigFile", + "UpdateSourceConditionValue": "seven-days-settings-undead-legacy-experimental", + "DeleteAfterExtract": true + }, + { + "UpdateStageName": "Undead Legacy Stable Copy", + "UpdateSourcePlatform": "Windows", + "UpdateSource": "Executable", + "UpdateSourceData": "cmd.exe", + "UpdateSourceArgs": "/C move seven-days-to-die\\294420\\UndeadLegacyStable* seven-days-to-die\\294420\\UndeadLegacyStable && xcopy /E /Y /I seven-days-to-die\\294420\\UndeadLegacyStable\\* seven-days-to-die\\294420\\ && rmdir /Q /S seven-days-to-die\\294420\\UndeadLegacyStable", + "UpdateSourceConditionSetting": "ConfigFile", + "UpdateSourceConditionValue": "seven-days-settings-undead-legacy-stable" + }, + { + "UpdateStageName": "Undead Legacy Stable Copy", + "UpdateSourcePlatform": "Linux", + "UpdateSource": "Executable", + "UpdateSourceData": "/bin/bash", + "UpdateSourceArgs": "-c \"cp -rf ./seven-days-to-die/294420/UndeadLegacyStable*/* ./seven-days-to-die/294420/ && rm -rf ./seven-days-to-die/294420/UndeadLegacyStable*/\"", + "UpdateSourceConditionSetting": "ConfigFile", + "UpdateSourceConditionValue": "seven-days-settings-undead-legacy-stable" + }, + { + "UpdateStageName": "Undead Legacy Experimental Copy", + "UpdateSourcePlatform": "Windows", + "UpdateSource": "Executable", + "UpdateSourceData": "cmd.exe", + "UpdateSourceArgs": "/C move seven-days-to-die\\294420\\UndeadLegacyExperimental* seven-days-to-die\\294420\\UndeadLegacyExperimental && xcopy /E /Y /I seven-days-to-die\\294420\\UndeadLegacyExperimental\\* seven-days-to-die\\294420\\ && rmdir /Q /S seven-days-to-die\\294420\\UndeadLegacyExperimental", + "UpdateSourceConditionSetting": "ConfigFile", + "UpdateSourceConditionValue": "seven-days-settings-undead-legacy-experimental" + }, + { + "UpdateStageName": "Undead Legacy Experimental Copy", + "UpdateSourcePlatform": "Linux", + "UpdateSource": "Executable", + "UpdateSourceData": "/bin/bash", + "UpdateSourceArgs": "-c \"cp -rf ./seven-days-to-die/294420/UndeadLegacyExperimental*/* ./seven-days-to-die/294420/ && rm -rf ./seven-days-to-die/294420/UndeadLegacyExperimental*/\"", + "UpdateSourceConditionSetting": "ConfigFile", + "UpdateSourceConditionValue": "seven-days-settings-undead-legacy-experimental" } ] \ No newline at end of file