From 5ab1f8f05afa2f1042233594b811b248d62b295f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Thu, 23 Feb 2023 01:57:09 +0100 Subject: [PATCH] Add a file headder --- start.sh | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/start.sh b/start.sh index 7b41f0e..ea1977f 100644 --- a/start.sh +++ b/start.sh @@ -1,19 +1,26 @@ #!/bin/bash -# Auto Update & Run PaperMC server script +############################################################################################################# +# Auto Update & Run PaperMC server script # +# by jiriks74 # +# https://github.com/jiriks74/start_papermc.sh # +# This script is under GPLv3, if you want to distribute changes you have to do so under the same license # +############################################################################################################# -# Settings +############ +# Settings # +############ version="1.19.3" # Leave blank to use the latest build select_build="" +# Memory settings +initMem="2000M" # Minimum memory used +maxMem="6000M" # Maximum memory allowed to be used + # Options for the server mc_launchoptions="-nogui" -# Memory settings -initMem="2000M" # Minimum memory used -maxMem="2000M" # Maximum memory allowed to be used - -# G1 settings +# G1GC settings - leave the defaults if you're unsure g1HeapMem="32M" # Memory used by G1 g1NewSize="20" # In % g1Reserve"20" # In %