diff --git a/.ms-manager/detect_server.sh b/.ms-manager/detect_server.sh index 241876a..7b6cac5 100644 --- a/.ms-manager/detect_server.sh +++ b/.ms-manager/detect_server.sh @@ -1,5 +1,5 @@ #!/bin/bash - +set -e # Detect the server type function get_existing_server { if ls paper-*.jar 1> /dev/null 2>&1; then diff --git a/.ms-manager/java.sh b/.ms-manager/java.sh index 5c9b788..444c73b 100644 --- a/.ms-manager/java.sh +++ b/.ms-manager/java.sh @@ -1,5 +1,5 @@ #!/bin/bash - +set -e # Setup Java function setup_java { # Get the required Java version for the Minecraft version diff --git a/.ms-manager/paper.sh b/.ms-manager/paper.sh index 9855fe3..3ff6e47 100644 --- a/.ms-manager/paper.sh +++ b/.ms-manager/paper.sh @@ -1,5 +1,5 @@ #!/bin/bash - +set -e # API URL api_url="https://api.papermc.io/v2/projects/paper/versions/$version/builds"