Update README.md
This commit is contained in:
parent
a51e3e777d
commit
336867fef3
22
README.md
22
README.md
@ -31,21 +31,13 @@ version="1.12.2"
|
|||||||
|
|
||||||
5. Select how much memory you want your server to use ***(in megabytes)***:
|
5. Select how much memory you want your server to use ***(in megabytes)***:
|
||||||
```bash
|
```bash
|
||||||
initMem="1500M" #1.5G
|
mem="8000M"
|
||||||
maxMem="8000M" # 12G
|
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Modify server parameters to your liking:
|
6. Allow executing ov the script with `chmod +x start.sh`
|
||||||
```bash
|
7. Run the script with `./start.sh`
|
||||||
mc_launchoptions="-nogui"
|
|
||||||
```
|
|
||||||
|
|
||||||
7. Add some jvm (java) parameters to your liking ***(memory is set above, do not add it here)***:
|
## Default JVM flags used
|
||||||
```bash
|
|
||||||
java_launchoptions=""
|
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.
|
||||||
> **Note**
|
|
||||||
>
|
|
||||||
> If you use quite old versions of minecraft you should change the defaults under the line above
|
|
||||||
|
|
||||||
8. Run the script with `./start.sh`
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user