This is a simple API that allows you to keep your server up to date with the latest server jar
#!/bin/bash
# update.sh
# stop the server somehow...
# Download Latest Release as "server.jar"
curl -L -X 'GET' \
'https://minecraft-update-api-production.up.railway.app/vanilla/latest/release' \
-o 'server.jar'
# start the server somehow...
bun run start