Skip to content

Automatic Server Updates

Niels Pilgaard Grøndahl edited this page Apr 21, 2021 · 4 revisions

Server Automation

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. Clone the repository to an empty folder.
  2. Open the automation folder.
  3. Run the script InstanceSyncSetup.
  4. 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.

Server Automation with Docker

There's an example docker-compose.yml in the docker folder, for those who want to run the modpack server through Docker. It's based on Docker Minecraft Server, please see the link for configuration and advanced usage.