Skip to content

Commit

Permalink
Merge pull request #15 from voxelbonecloud/add-prometh
Browse files Browse the repository at this point in the history
Add Prometheus Exporter
  • Loading branch information
bredo228 authored Sep 21, 2024
2 parents 4d6a4ec + af25fbf commit 856d7b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion modding/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand Down
10 changes: 8 additions & 2 deletions scripts/update-resonite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 856d7b7

Please sign in to comment.