Skip to content

Instantly share code, notes, and snippets.

View danielledeleo's full-sized avatar

Dani De Leo danielledeleo

View GitHub Profile
@danielledeleo
danielledeleo / start.sh
Created April 16, 2024 20:45
PaperMC startup script
#!/bin/bash
set -e
VERSION=1.20.4
LATEST_JSON=$(curl -X 'GET' \
"https://api.papermc.io/v2/projects/paper/versions/$VERSION/builds" \
-H 'accept: application/json' \
| jq '.builds | last ')