From d622b9c0c27f7359cda5aa83fa1b7816bf7981a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 30 Oct 2020 01:00:10 +0100 Subject: Add Minecraft server config --- minecraft/install | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 minecraft/install (limited to 'minecraft/install') diff --git a/minecraft/install b/minecraft/install new file mode 100644 index 0000000..7d58d11 --- /dev/null +++ b/minecraft/install @@ -0,0 +1,5 @@ +#!/bin/sh + +VERSION=1.16.3 +build=`curl +s https://papermc.io/api/v1/paper/$VERSION | sed 's/.*"latest":"\([0-9]*\)".*/\1/'` +curl -o paper.server.jar https://papermc.io/api/v1/paper/$VERSION/$build/download \ No newline at end of file -- cgit v1.2.3