Initial release #1
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
# Detect the server type
|
# Detect the server type
|
||||||
function get_existing_server {
|
function get_existing_server {
|
||||||
if ls paper-*.jar 1> /dev/null 2>&1; then
|
if ls paper-*.jar 1> /dev/null 2>&1; then
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
# Setup Java
|
# Setup Java
|
||||||
function setup_java {
|
function setup_java {
|
||||||
# Get the required Java version for the Minecraft version
|
# Get the required Java version for the Minecraft version
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
# API URL
|
# API URL
|
||||||
api_url="https://api.papermc.io/v2/projects/paper/versions/$version/builds"
|
api_url="https://api.papermc.io/v2/projects/paper/versions/$version/builds"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user