From 336867fef3e2931d4c0f731255278c9a12ce598a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Thu, 23 Feb 2023 02:54:06 +0100 Subject: [PATCH] Update README.md --- README.md | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 7b537cd..c0c6294 100644 --- a/README.md +++ b/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 - -8. Run the script with `./start.sh` +## Default JVM flags used + +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.