Initial release #1

Merged
jiriks74 merged 48 commits from initial_release into main 2023-02-26 23:56:32 +01:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit a31cd280e3 - Show all commits

@ -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"