diff --git a/modding/README.md b/modding/README.md index 99657b5..7fa5a4b 100644 --- a/modding/README.md +++ b/modding/README.md @@ -20,10 +20,11 @@ You can automatically install / update a selected few mods: - [HeadlessTweaks](https://github.com/New-Project-Final-Final-WIP/HeadlessTweaks) - [StresslessHeadless](https://github.com/Raidriar796/StresslessHeadless) - [ResoniteIPv6Mod](https://github.com/bontebok/ResoniteIPv6Mod) +- [Headless Prometheus Exporter](https://g.j4.lc/general-stuff/resonite/headless-prometheus-exporter) This functionality can be enabled with the `ENABLE_AUTO_MOD_UPDATE` environment variable.. Note `ENABLE_MODS` must also be `true`. -The individual mods have environment variables to install them: `MOD_HeadlessTweaks`, `MOD_StresslessHeadless` and `MOD_ResoniteIPv6Mod`. +The individual mods have environment variables to install them: `MOD_HeadlessTweaks`, `MOD_StresslessHeadless`, `MOD_PrometheusExporter` and `MOD_ResoniteIPv6Mod`. **Keep in mind some mods can change the default behavior of the server** diff --git a/scripts/update-resonite.sh b/scripts/update-resonite.sh index 8ed3ff8..df574cd 100644 --- a/scripts/update-resonite.sh +++ b/scripts/update-resonite.sh @@ -46,13 +46,19 @@ if [ "${ENABLE_AUTO_MOD_UPDATE}" = "true" ]; then # StresslessHeadless if [ "${MOD_StresslessHeadless}" = "true" ]; then echo "Installing StresslessHeadless" - curl -SslL https://github.com/Raidriar796/StresslessHeadless/releases/download/1.3.1/StresslessHeadless.dll -o ${HEADLESS_DIRECTORY}/rml_mods/StresslessHeadless.dll + curl -SslL https://github.com/Raidriar796/StresslessHeadless/releases/latest/download/StresslessHeadless.dll -o ${HEADLESS_DIRECTORY}/rml_mods/StresslessHeadless.dll fi # ResoniteIPv6Mod if [ "${MOD_ResoniteIPv6Mod}" = "true" ]; then echo "Installing ResoniteIPv6Mod" - curl -SslL https://github.com/bontebok/ResoniteIPv6Mod/releases/download/4.0.0/ResoniteIPv6Mod.dll -o ${HEADLESS_DIRECTORY}/rml_mods/ResoniteIPv6Mod.dll + curl -SslL https://github.com/bontebok/ResoniteIPv6Mod/releases/latest/download/ResoniteIPv6Mod.dll -o ${HEADLESS_DIRECTORY}/rml_mods/ResoniteIPv6Mod.dll + fi + + # Headless Prometheus Exporter + if [ "${MOD_PrometheusExporter}" = "true" ]; then + echo "Installing Headless Prometheus Exporter" + curl -SslL https://i.j4.lc/ShareX/2024/09/HeadlessPrometheusExporter.dll -o ${HEADLESS_DIRECTORY}/rml_mods/HeadlessPrometheusExporter.dll fi fi