Update README.md
This commit is contained in:
parent
a51e3e777d
commit
336867fef3
20
README.md
20
README.md
@ -31,21 +31,13 @@ version="1.12.2"
|
||||
|
||||
5. Select how much memory you want your server to use ***(in megabytes)***:
|
||||
```bash
|
||||
initMem="1500M" #1.5G
|
||||
maxMem="8000M" # 12G
|
||||
mem="8000M"
|
||||
```
|
||||
|
||||
6. Modify server parameters to your liking:
|
||||
```bash
|
||||
mc_launchoptions="-nogui"
|
||||
```
|
||||
6. Allow executing ov the script with `chmod +x start.sh`
|
||||
7. Run the script with `./start.sh`
|
||||
|
||||
7. Add some jvm (java) parameters to your liking ***(memory is set above, do not add it here)***:
|
||||
```bash
|
||||
java_launchoptions=""
|
||||
```
|
||||
> **Note**
|
||||
>
|
||||
> If you use quite old versions of minecraft you should change the defaults under the line above
|
||||
## Default JVM flags used
|
||||
|
||||
8. Run the script with `./start.sh`
|
||||
By default this script uses [Aikar's Flags](https://docs.papermc.io/paper/aikars-flags). It's set up so that it automatically modifies them if over
|
||||
12GB of memory is set for the server so you shouldn't need to change them unless you want to swap them out for something else.
|
||||
|
Loading…
x
Reference in New Issue
Block a user