Python script to assist in updating the Paper Minecraft Server.
I host a couple of Minecraft Servers for my friends and I to play on from time to time. My server of choice is Paper, a high performance fork of Spigot, which is a fork of the CraftBukkit Minecraft Server (I promise it doesn't go any deeper!). Development of Paper is very active, with new builds being released multiple times a day. I soon realised that keeping multiple servers up to date would become a chore, so I wrote a Python script to automatically update the servers for me.
Before long, I ended up with a Python script that fits my needs, and hopefully someone else's!
While the main purpose of this script is to update the server, I wanted to make this script as customizable as possible so that it can be used in a wide range of scenarios. A brief list of features can be found below:
• Rename the downloaded server jar (so that startup scripts, etc don't need to be modified!)
• Update multiple servers at once
• Restart a server once the server jar has been replaced
• List all versions or builds available for the Paper Server
• Download a specific build of a version of the Paper Server
As with many of my projects, paper-updater is fully open source and available at GitHub.