diff --git a/Dockerfile b/Dockerfile index 67fc28b..dcfc0c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -98,7 +98,6 @@ ENV PUID=1000 PGID=1000 \ UPDATE_MODS=no \ ALLOC_FIXES=no ALLOC_FIXES_UPDATE=no \ UNDEAD_LEGACY=no UNDEAD_LEGACY_VERSION=stable UNDEAD_LEGACY_UPDATE=no UNDEAD_LEGACY_URL=False \ - ENZOMBIES=no ENZOMBIES_ADDON_SNUFKIN=no ENZOMBIES_ADDON_ROBELOTO=no ENZOMBIES_ADDON_NONUDES=no ENZOMBIES_UPDATE=no \ CPM=no CPM_UPDATE=no \ BEPINEX=no BEPINEX_UPDATE=no \ CHANGE_CONFIG_DIR_OWNERSHIP=YES \ diff --git a/docs/mods_support.md b/docs/mods_support.md index 098ebd7..8ab563b 100644 --- a/docs/mods_support.md +++ b/docs/mods_support.md @@ -22,14 +22,6 @@ Remember that some mods can't be installed with others, if you have problems wit - UNDEAD_LEGACY_VERSION - UNDEAD_LEGACY_UPDATE - If you enable this environment, the mod will be update every time you start the server and will take sometime. -- [enZombies](https://community.7daystodie.com/topic/24594-enzombies-more-zombie-variations/) - - Environments: - - ENZOMBIES - - If you enable this environment the UndeadLegacy addon pathc will be auto-installed - - ENZOMBIES_ADDON_SNUFKIN - - ENZOMBIES_ADDON_ROBELOTO - - ENZOMBIES_ADDON_NONUDES - - ENZOMBIES_UPDATE - [CSMM Patron's Mod (CPM)](https://docs.csmm.app/en/cpm/) - Environments: - CPM diff --git a/docs/parameters.md b/docs/parameters.md index 7ede5d8..efac59b 100644 --- a/docs/parameters.md +++ b/docs/parameters.md @@ -87,16 +87,6 @@ | `ALLOC_FIXES=NO` | Install [Allocs Fixes](https://7dtd.illy.bz/wiki/Server%20fixes), Alloc Fixes version will be installed according to 7 days to die branch version **optional** | YES, NO | | `ALLOC_FIXES_UPDATE=NO` | Update [Allocs Fixes](https://7dtd.illy.bz/wiki/Server%20fixes), depending of your 7 days to die version, on server install, requiere UPDATE_MODS=YES **optional** | YES, NO | -### enZombies - -| Parameter | Function | Values | -| --- | --- | :---: | -| `ENZOMBIES=NO` | Install [enZombies](https://community.7daystodie.com/topic/24594-enzombies-more-zombie-variations/) **optional** | YES, NO | -| `ENZOMBIES_ADDON_SNUFKIN=NO` | Install [enZombies - Snufkin Zombies Add-on](https://community.7daystodie.com/topic/24594-enzombies-more-zombie-variations/) **optional** | YES, NO | -| `ENZOMBIES_ADDON_ROBELOTO=NO` | Install [enZombies - Robeloto Zombies Add-on](https://community.7daystodie.com/topic/24594-enzombies-more-zombie-variations/) **optional** | YES, NO | -| `ENZOMBIES_ADDON_NONUDES=NO` | Install [enZombies - No Nudes Add-on](https://community.7daystodie.com/topic/24594-enzombies-more-zombie-variations/) **optional** | YES, NO | -| `ENZOMBIES_UPDATE=NO` | Update [enZombies](https://community.7daystodie.com/topic/24594-enzombies-more-zombie-variations/), enZombies + Addons on server install, requiere UPDATE_MODS=YES **optional** | YES, NO | - ### CSMM Patron's Mod (CPM) | Parameter | Function | Values | diff --git a/docs/usage.md b/docs/usage.md index 85c9fc3..c17b917 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -33,11 +33,6 @@ docker run -d \ -e DARKNESS_FALLS_UPDATE=NO \ -e DARKNESS_FALLS_URL=False \ -e UNDEAD_LEGACY_UPDATE=NO \ - -e ENZOMBIES=NO \ - -e ENZOMBIES_ADDON_SNUFKIN=NO \ - -e ENZOMBIES_ADDON_ROBELOTO=NO \ - -e ENZOMBIES_ADDON_NONUDES=NO \ - -e ENZOMBIES_UPDATE=NO \ -e CPM=NO \ -e CPM_UPDATE=NO \ -e BEPINEX=NO \ @@ -75,11 +70,6 @@ services: - DARKNESS_FALLS=NO # Optional - Install Darkness Falls mod, if UNDEAD_LEGACY it's enable will not install anything - DARKNESS_FALLS_UPDATE=NO # Optional - Update Darkness Falls mod before server start - DARKNESS_FALLS_URL=False # Optional - Install the provided Darkness Falls url - - ENZOMBIES=NO # Optional - Install EnZombies mod - - ENZOMBIES_ADDON_SNUFKIN=NO # Optional - Install EnZombies addon mod - - ENZOMBIES_ADDON_ROBELOTO=NO # Optional - Install EnZombies addon mod - - ENZOMBIES_ADDON_NONUDES=NO # Optional - Install EnZombies addon mod - - ENZOMBIES_UPDATE=NO # Optional - Update EnZombies mod and addons before server start - CPM=NO # Optional - CSMM Patron's Mod (CPM) - CPM_UPDATE=NO # Optional - Update CPM before server start - BEPINEX=NO # Optional - BepInEx diff --git a/scripts/Mods/enZombies.sh b/scripts/Mods/enZombies.sh deleted file mode 100644 index 302822e..0000000 --- a/scripts/Mods/enZombies.sh +++ /dev/null @@ -1,128 +0,0 @@ -#!/bin/bash - -MODS_FOLDER=/home/sdtdserver/serverfiles/Mods - -DL_LINK="https://github.com/ErrorNull0/enZombies/archive/refs/heads/main.zip" -DL_LINK_SNUFKIN_ADDON="https://github.com/ErrorNull0/enZombiesSnufkinAddon/archive/refs/heads/main.zip" -DL_LINK_ROBELOTO_ADDON="https://github.com/ErrorNull0/enZombiesRobelotoAddon/archive/refs/heads/main.zip" -DL_LINK_NONUDES_ADDON="https://github.com/ErrorNull0/enZombiesNoNudes/archive/refs/heads/main.zip" - -downloadRelease() { - curl "$DL_LINK" -SsL -o enZombies.zip -} - -downloadRelease_Snufkin() { - curl "$DL_LINK_SNUFKIN_ADDON" -SsL -o enZombiesSnufkinAddon.zip -} - -downloadRelease_Robeloto() { - curl "$DL_LINK_ROBELOTO_ADDON" -SsL -o enZombiesRobelotoAddon.zip -} - -downloadRelease_NoNudes() { - curl "$DL_LINK_NONUDES_ADDON" -SsL -o enZombiesNoNudesAddon.zip -} - -echo "[enZombies] Downloading release from ${DL_LINK}" - -echo "[enZombies] Downloading files" - -downloadRelease - -echo "[enZombies] Extracting files" - -mkdir -p enZombies-temp -unzip -q enZombies.zip -d enZombies-temp - -echo "[enZombies] Removing older version" - -rm -rf $MODS_FOLDER/enZombies - -echo "[enZombies] Installing components" - -mv enZombies-temp/* $MODS_FOLDER - -echo "[enZombies] Cleanup" - -rm enZombies.zip -rm -rf enZombies-temp - -if [ "${ENZOMBIES_ADDON_SNUFKIN,,}" == 'yes' ]; then - echo "[enZombies] Downloading Snufkin Zombies Add-on from ${DL_LINK_SNUFKIN_ADDON}" - - echo "[enZombies] Downloading Snufkin Zombies Add-on files" - - downloadRelease_Snufkin - - echo "[enZombies] Extracting files" - - mkdir -p enZombiesSnufkinAddon-temp - unzip -q enZombiesSnufkinAddon.zip -d enZombiesSnufkinAddon-temp - - echo "[enZombies] Removing older enZombies Snufkin Addon version" - - rm -rf $MODS_FOLDER/enZombiesAddon1Snufkin-main - - echo "[enZombies] Installing components" - - mv enZombiesSnufkinAddon-temp/* $MODS_FOLDER - - echo "[enZombies] Snufkin Addon Cleanup" - - rm enZombiesSnufkinAddon.zip - rm -rf enZombiesSnufkinAddon-temp -fi - -if [ "${ENZOMBIES_ADDON_ROBELOTO,,}" == 'yes' ]; then - echo "[enZombies] Downloading Robeloto Zombies Add-on from ${DL_LINK_ROBELOTO_ADDON}" - - echo "[enZombies] Downloading Robeloto Zombies Add-on files" - - downloadRelease_Robeloto - - echo "[enZombies] Extracting files" - - mkdir -p enZombiesRobelotoAddon-temp - unzip -q enZombiesRobelotoAddon.zip -d enZombiesRobelotoAddon-temp - - echo "[enZombies] Removing older enZombies Robeloto Addon version" - - rm -rf $MODS_FOLDER/enZombiesAddon2Robeloto-main - - echo "[enZombies] Installing components" - - mv enZombiesRobelotoAddon-temp/* $MODS_FOLDER - - echo "[enZombies] Robeloto Addon Cleanup" - - rm enZombiesRobelotoAddon.zip - rm -rf enZombiesRobelotoAddon-temp -fi - -if [ "${ENZOMBIES_ADDON_NONUDES,,}" == 'yes' ]; then - echo "[enZombies] Downloading No Nudes Zombies Add-on from ${DL_LINK_NONUDES_ADDON}" - - echo "[enZombies] Downloading No Nudes Zombies Add-on files" - - downloadRelease_NoNudes - - echo "[enZombies] Extracting files" - - mkdir -p enZombiesNoNudesAddon-temp - unzip -q enZombiesNoNudesAddon.zip -d enZombiesNoNudesAddon-temp - - echo "[enZombies] Removing older enZombies No Nudes Addon version" - - rm -rf $MODS_FOLDER/enZombiesNoNudes-main - - echo "[enZombies] Installing components" - - mv enZombiesNoNudesAddon-temp/* $MODS_FOLDER - - echo "[enZombies] No Nudes Addon Cleanup" - - rm enZombiesNoNudesAddon.zip - rm -rf enZombiesNoNudesAddon-temp -fi - -echo "[enZombies] Finished! ヽ(´▽\`)/" diff --git a/scripts/Mods/mods_install.sh b/scripts/Mods/mods_install.sh index 185d5ea..5fee67a 100644 --- a/scripts/Mods/mods_install.sh +++ b/scripts/Mods/mods_install.sh @@ -33,12 +33,6 @@ else fi fi -# Install enZombies + addons -if [ "${ENZOMBIES,,}" == 'yes' ] - then - source $scriptsDir/Mods/enZombies.sh -fi - if [ "${BEPINEX,,}" == 'yes' ] && [ "${UNDEAD_LEGACY,,}" == 'no' ] then source $scriptsDir/Mods/bepinex.sh diff --git a/scripts/Mods/mods_update.sh b/scripts/Mods/mods_update.sh index c5ae74b..1a74770 100644 --- a/scripts/Mods/mods_update.sh +++ b/scripts/Mods/mods_update.sh @@ -54,12 +54,6 @@ else fi fi -# Install enZombies + addons always after Undead Legacy, because if installed with Undead Legacy need a patch -if [ "${ENZOMBIES,,}" == 'yes' ] && [ "${ENZOMBIES_UPDATE,,}" == 'yes' ] - then - source $scriptsDir/Mods/enZombies.sh -fi - if [ "${BEPINEX,,}" == 'yes' ] && [ "${BEPINEX_UPDATE,,}" == 'yes' ] && [ "${UNDEAD_LEGACY,,}" == 'no' ] then source $scriptsDir/Mods/bepinex.sh