minor tweaks to script

This commit is contained in:
themodernhakr 2025-03-11 00:29:04 -05:00
parent 188c423f92
commit a95b605918

View File

@ -1,9 +1,11 @@
#!/usr/bin/env bash #!/usr/bin/env bash
export TERMINFO=/usr/lib/terminfo
fileName="fabric-1.21.1.jar" fileName="fabric-1.21.1.jar"
memory=8192 memory=8192
configPath="./config" configPath="./config"
datapackPath="./world/datapack/" datapackPath="./world/datapack"
serverConfigDir="server-properties" serverConfigDir="server-properties"
packwizPath="https://files.ferdin.land/ferdinland/modpacks/server/smp/" packwizPath="https://files.ferdin.land/ferdinland/modpacks/server/smp/"
loading_text="./config/server-properties/helpers/loading/loading.txt" loading_text="./config/server-properties/helpers/loading/loading.txt"
@ -16,7 +18,7 @@ source ./.env
source ./config/server-properties/helpers/loading/bash_loading_animations.sh source ./config/server-properties/helpers/loading/bash_loading_animations.sh
# loading # loading
echo "$loading_text" cat "$loading_text"
BLA::start_loading_animation "${BLA_filling_bar[@]}" BLA::start_loading_animation "${BLA_filling_bar[@]}"
sleep 1.85 sleep 1.85
BLA::stop_loading_animation BLA::stop_loading_animation
@ -106,10 +108,10 @@ echo "starting the server..."
echo echo
case "$SERVER_TYPE" in case "$SERVER_TYPE" in
smp) smp)
echo "$splash_smp" cat "$splash_smp"
;; ;;
creative) creative)
echo "$splash_creative" cat "$splash_creative"
;; ;;
personal) personal)
echo echo