mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-07 01:02:53 +08:00
Suggestions by VincDev#0001
parent
e8592232df
commit
f5bdb4f800
13
Running.md
13
Running.md
@ -1,21 +1,24 @@
|
||||
# Prerequisites
|
||||
- [MongoDB](https://www.mongodb.com/try/download/community)
|
||||
- [MongoDB](https://www.mongodb.com/try/download/community) , [MongoDB Tutorial](https://github.com/Grasscutters/Grasscutter/wiki/MongoDB-Tutorial)
|
||||
- [JDK 17](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
|
||||
|
||||
# Starting the Server
|
||||
**If you haven't already, download a release JAR from [releases](https://github.com/Melledy/Grasscutter/releases) or [build the server yourself](https://github.com/Melledy/Grasscutter/wiki/Building)**.
|
||||
**If you haven't already, download a release JAR from [releases](https://github.com/Grasscutters/Grasscutter/releases) or [build the server yourself](https://github.com/Grasscutters/Grasscutter/wiki/Building)**.
|
||||
|
||||
1. Run `java -jar grasscutter.jar`
|
||||
1. This will create additional directories in your working directory.
|
||||
2. Copy the following files to the following directories: (file source -> `destination`)
|
||||
1. [Resources](https://github.com/Koko-boya/Grasscutter_Resources) -> `resources`
|
||||
2. [Keys](https://github.com/Melledy/Grasscutter/tree/main/keys) -> `keys`
|
||||
3. [Game Data](https://github.com/Melledy/Grasscutter/tree/main/data) -> `data`
|
||||
4. [The Keystore File](https://github.com/Melledy/Grasscutter/blob/main/keystore.p12) -> `keystore.p12`
|
||||
2. [Keys](https://github.com/Grasscutters/Grasscutter/tree/main/keys) -> `keys`
|
||||
3. [Game Data](https://github.com/Grasscutters/Grasscutter/tree/main/data) -> `data`
|
||||
4. [The Keystore File](https://github.com/Grasscutters/Grasscutter/blob/main/keystore.p12) -> `keystore.p12`
|
||||
5. **Note**: If you are running in the project's root directory (ie. you cloned the repo from GitHub and you are running the server in that folder), these files will be already be present.
|
||||
3. Run `java -jar grasscutter.jar -handbook`
|
||||
1. This is required for using `names -> IDs` in commands.
|
||||
2. This setup is optional and can be skipped.
|
||||
4. Make sure to setup your operating system firewall settings
|
||||
1.Windows: Make Sure To Allow Their Port On Windows Firewall Settings (80,443,8888, And 22102)<br/>
|
||||
2.Linux: Make Sure To Write `sudo ufw allow 22102` , `sudo ufw allow 443` , `sudo ufw allow 80` , And `sudo ufw allow 8888` .<br/>
|
||||
4. Run `java -jar grasscutter.jar`
|
||||
1. (kinda obvious but) Leave this running in the background.
|
||||
5. Continue to [Connecting](#connecting)
|
||||
|
Loading…
Reference in New Issue
Block a user