hello server_manager

This commit is contained in:
CerberusV1
2024-10-12 18:20:25 +02:00
parent df089c39b2
commit 0857f0ecdf
2 changed files with 15 additions and 0 deletions

View File

@@ -173,4 +173,10 @@ echo "#!/bin/bash" > "${server_dir}/start_server.sh"
echo 'tmux new -s minecraft_server "java -Djava.awt.headless=true @user_jvm_args.txt @libraries/net/minecraftforge/forge/${version}/unix_args.txt"' >> "${server_dir}/start_server.sh" echo 'tmux new -s minecraft_server "java -Djava.awt.headless=true @user_jvm_args.txt @libraries/net/minecraftforge/forge/${version}/unix_args.txt"' >> "${server_dir}/start_server.sh"
chmod +x $server_dir/start_server.sh chmod +x $server_dir/start_server.sh
# --------------------------------------------------------
# Creating Start Script
# --------------------------------------------------------
echo "You can now find the management script in $management_dir " echo "You can now find the management script in $management_dir "

9
server_manager.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
# Script in strict mode
set -eu
# --------------------------------------------------------------------------
# Imports
# --------------------------------------------------------------------------
# Beginning Of the Script by cerberus