aboutsummaryrefslogtreecommitdiff
path: root/minecraft/install
diff options
context:
space:
mode:
Diffstat (limited to 'minecraft/install')
-rw-r--r--minecraft/install5
1 files changed, 5 insertions, 0 deletions
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