Skip to content

Automatic Server Updates

Niels Pilgaard Grøndahl edited this page Jul 29, 2021 · 4 revisions

Table of contents

An easier way to keep your server running on the latest modpack version. Follow the below steps to be able to update modpack version with only a few clicks.

Automatic updates with Git

Note: .bat files are for Windows, .sh are for Mac / Linux.

  1. Download Git if you don't have it already.
  2. Clone the repository to an empty folder.
  3. Open the automation folder.
  4. Run the script InstanceSyncSetup.
  5. Run the script update-server.

Re-run the script update-server whenever you want to update to a new modpack version.

Notes

  • Using the update-server script will reset changes you've made to all files tracked by the repository.
  • A world and mod folder backup are created before updating
  • Anything put in the overrides folder will be copied into the root folder when the update-server script is finished - I recommend you put any changed configs and added mods there.
  • You start the server using the script start-automated-server found in the instance root.
  • You will have to update forge version yourself whenever the modpack updates Forge - You can find the version used for every modpack version in the changelog. You update the Forge version in the settings.cfg file found in the instance root.