Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
a5007a43
Commit
a5007a43
authored
May 19, 2022
by
TurtleIdiot
Committed by
Melledy
May 18, 2022
Browse files
Impoved clarity of instructions
parent
a1b819b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
install.sh
View file @
a5007a43
...
...
@@ -37,7 +37,7 @@ valid_ip() {
# Checks for supported installer(s) (only apt-get for now :(, might add pacman in the future)
if
is_command apt-get
;
then
echo
"Supported package manager found"
echo
-e
"Supported package manager found
\n
"
else
echo
"No supported package manager found"
exit
...
...
@@ -101,7 +101,7 @@ mv ./repo/data ./data
mv
./repo/keys ./keys
# Generate handbook/config
echo
"Please enter language when prompted (press enter/return to
resume scrip
t)"
echo
"Please enter language when
*NEXT*
prompted (press enter/return to
continue to language selec
t)"
read
java
-jar
grasscutter.jar
-handbook
...
...
@@ -186,12 +186,12 @@ cd ../
mv
./certs/keystore.p12 ./keystore.p12
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
echo
"All done!"
echo
-e
"All done!
\n
"
echo
-e
"You can now uninstall the following packages if you wish:
\n
$INSTALLER_DEPS
"
echo
"-=-=-=-=-=--- !! IMPORTANT !! ---=-=-=-=-=-"
echo
"Please make sure that ports 443 and 22102 are OPEN"
echo
-e
"-=-=-=-=-=--- !! IMPORTANT !! ---=-=-=-=-=-
\n
"
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:
\n
sudo java -jar grasscutter.jar"
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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment