Compare commits

...

3 Commits
v2.1.4 ... main

4 changed files with 8 additions and 8 deletions

@ -176,7 +176,7 @@ function download_jre {
echo "Extracting Java 16" echo "Extracting Java 16"
tar -xzf java.tar.gz tar -xzf java.tar.gz
echo "Moving Java 16 to $(echo $HOME)/.adoptium_java/jre16" echo "Moving Java 16 to $(echo $HOME)/.adoptium_java/jre16"
mv jdk-16.0.2+7-jre "$(echo $HOME)/.adoptium_java/jre16" mv jdk-16.0.2+7 "$(echo $HOME)/.adoptium_java/jre16"
echo "Removing temporary files" echo "Removing temporary files"
rm java.tar.gz rm java.tar.gz
elif [[ $required_java == "17" ]]; then elif [[ $required_java == "17" ]]; then

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
EXTRA_SCRIPTS_VERSION="v2.1.4" EXTRA_SCRIPTS_VERSION="v2.1.6"

@ -8,7 +8,7 @@ branch.
The project grew out of the scope I envisioned at first, surprisingly quickly LOL, The project grew out of the scope I envisioned at first, surprisingly quickly LOL,
so I moved all my development here. so I moved all my development here.
This project aims to support more minecraft servers rather than just paper. This project aims to support more Minecraft servers than just paper.
## Features ## Features
@ -16,7 +16,7 @@ This project aims to support more minecraft servers rather than just paper.
- Checks for the correct Java version installed - Checks for the correct Java version installed
- Enables you to download a download a portable Java version from [Adoptium](https://adoptium.net/) - Enables you to download a download a portable Java version from [Adoptium](https://adoptium.net/)
- The script download's it to `~/.adoptium_java` allowing you to use one - The script downloads it to `~/.adoptium_java` allowing you to use one
Java downlaod across multiple server instances Java downlaod across multiple server instances
- It also allows you to use multiple Java versions allowing you to run - It also allows you to use multiple Java versions allowing you to run
multiple Minecraft servers requiring different Java versions multiple Minecraft servers requiring different Java versions
@ -39,7 +39,7 @@ This project aims to support more minecraft servers rather than just paper.
#### Self-update #### Self-update
- This script can self-update itself without the need for user doing it manually - This script can self-update itself without the need for user intervention
## Currently supported servers ## Currently supported servers
@ -66,7 +66,7 @@ you're running something like Ubuntu.*
> undefined behavior and may cause the script to crash or perform unexpected actions. > undefined behavior and may cause the script to crash or perform unexpected actions.
> >
> I strongly advise against making any modifications to the server's `.jar` file > I strongly advise against making any modifications to the server's `.jar` file
> manually, as it may interfere with the proper functioning of this script. > manually, as it may interfere with the functionality of this script.
## Basic setup ## Basic setup

@ -8,7 +8,7 @@ set -e
# and acknowledge the original script and author. # # and acknowledge the original script and author. #
############################################################################################################# #############################################################################################################
CURRENT_SCRIPT_VERSION="v2.1.4" CURRENT_SCRIPT_VERSION="v2.1.6"
# -------------------------------------------------- # --------------------------------------------------
# You shouldn't need to change anything in this file # You shouldn't need to change anything in this file
@ -107,7 +107,7 @@ function ask_version_differs {
echo echo
echo echo
echo "The current server version differs from the one you selected." echo "The current server version differs from the one you selected."
echo "The server version is $current_version and the selected version is $select_version." echo "The server version is $current_version and the selected version is $version."
echo "Do you want to update the server version?" echo "Do you want to update the server version?"
echo "This can cause many issues if you don't know what you are doing." echo "This can cause many issues if you don't know what you are doing."
echo echo