Commit a5007a43 authored by TurtleIdiot's avatar TurtleIdiot Committed by Melledy
Browse files

Impoved clarity of instructions

parent a1b819b2
...@@ -37,7 +37,7 @@ valid_ip() { ...@@ -37,7 +37,7 @@ valid_ip() {
# Checks for supported installer(s) (only apt-get for now :(, might add pacman in the future) # Checks for supported installer(s) (only apt-get for now :(, might add pacman in the future)
if is_command apt-get ; then if is_command apt-get ; then
echo "Supported package manager found" echo -e "Supported package manager found\n"
else else
echo "No supported package manager found" echo "No supported package manager found"
exit exit
...@@ -101,7 +101,7 @@ mv ./repo/data ./data ...@@ -101,7 +101,7 @@ mv ./repo/data ./data
mv ./repo/keys ./keys mv ./repo/keys ./keys
# Generate handbook/config # Generate handbook/config
echo "Please enter language when prompted (press enter/return to resume script)" echo "Please enter language when *NEXT* prompted (press enter/return to continue to language select)"
read read
java -jar grasscutter.jar -handbook java -jar grasscutter.jar -handbook
...@@ -186,12 +186,12 @@ cd ../ ...@@ -186,12 +186,12 @@ cd ../
mv ./certs/keystore.p12 ./keystore.p12 mv ./certs/keystore.p12 ./keystore.p12
echo "Done" echo "Done"
echo "Asking Noelle to clean up..." echo -e "Asking Noelle to clean up...\n"
rm -rf Grasscutter.zip resources.zip ./certs ./Grasscutter_Resources-main ./repo rm -rf Grasscutter.zip resources.zip ./certs ./Grasscutter_Resources-main ./repo
echo "All done!" echo -e "All done!\n"
echo -e "You can now uninstall the following packages if you wish:\n$INSTALLER_DEPS" echo -e "You can now uninstall the following packages if you wish:\n$INSTALLER_DEPS"
echo "-=-=-=-=-=--- !! IMPORTANT !! ---=-=-=-=-=-" echo -e "-=-=-=-=-=--- !! IMPORTANT !! ---=-=-=-=-=-\n"
echo "Please make sure that ports 443 and 22102 are OPEN" echo "Please make sure that ports 443 and 22102 are OPEN (both tcp and udp)"
echo -e "In order to run the server, run the following command:\nsudo java -jar grasscutter.jar" echo -e "In order to run the server, run the following command:\nsudo java -jar grasscutter.jar"
echo "You must run it using sudo as port 443 is a privileged port" echo "You must run it using sudo as port 443 is a privileged port"
echo "To play, use the IP you provided earlier ($SERVER_IP) via GrassClipper or Fiddler" echo "To play, use the IP you provided earlier ($SERVER_IP) via GrassClipper or Fiddler"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment