Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Grasscutter
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
ziqian zhang
Grasscutter
Commits
a5007a43
Commit
a5007a43
authored
3 years ago
by
TurtleIdiot
Committed by
Melledy
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Impoved clarity of instructions
parent
a1b819b2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
install.sh
+6
-6
6 additions, 6 deletions
install.sh
with
6 additions
and
6 deletions
install.sh
+
6
−
6
View file @
a5007a43
...
@@ -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 scrip
t)"
echo
"Please enter language when
*NEXT*
prompted (press enter/return to
continue to language selec
t)"
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:
\n
sudo java -jar grasscutter.jar"
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
"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"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment