995 B
995 B
start_papermc.sh
A better script for running Paper Minecraft server with features such as automatic build updates and automatic downlading
Basic setup
Note
Everything mentioned below is modified at the top of the
start.sh
file
- Change the
version
variable to the version you want
version="1.12.2"
- If you want a specific build, set the
select_build
variable. Othervise the sript will download the latest build:
select_build="1620"
- Select how much memory you want your server to use (in megabytes):
initMem="1500M" #1.5G
maxMem="8000M" # 12G
- Modify server parameters to your liking:
mc_launchoptions="-nogui"
- Add some jvm (java) parameters to your liking (memory is set above, do not add it here):
java_launchoptions=""
Note
If you use quite old versions of minecraft you should change the defaults under the line above
- Run the script with
./start.sh