Initial release #1

Merged
jiriks74 merged 48 commits from initial_release into main 2023-02-26 23:56:32 +01:00
Showing only changes of commit 336867fef3 - Show all commits

@ -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.