I got tired of manually updating my modpack server every time a new version dropped, so I wrote a script that does it automatically via the CurseForge

  • Thread starter Thread starter /u/AzLeCurieux
  • Start date Start date
U

/u/AzLeCurieux

Guest

Every time a new version of my modpack dropped, the process was the same:​


  1. Notice there's a new version (sometimes days late)


  2. Download the server pack manually


  3. Pray I don't accidentally overwrite my world


  4. Forget to back up first


  5. Fix whatever I broke

So I wrote a small Bash script that handles all of it automatically.

What it does:

- Queries the CurseForge API to check if a new server pack is available

- If already up to date → exits silently (perfect for cron)

- If a new version is found → backs up your world first, downloads the pack, stops the server, applies the update while preserving your world/whitelist/configs, then restarts

I use it with All of Create: Aeronautics but it works with any modpack that publishes a server pack on CurseForge (ATM, Vault Hunters, FTB, etc.).

GitHub: https://github.com/AzLeCurieux/curseforge-server-updater

Happy to answer questions or take feedback — it's a first release, there's probably edge cases I haven't thought of.

submitted by /u/AzLeCurieux
[link] [comments]

Continue reading...
 
Back
Top