run_minecraft.sh 443 B

12345
  1. #!/bin/sh
  2. cd ~/minecraft
  3. #/opt/jdk1.8.0_161/jre/bin/java -Xms512M -Xmx1008M -jar spigot-1.12.2.jar nogui
  4. java -Dfile.encoding=UTF-8 -Xms256M -Xmx800M -XX:NewSize=300M -XX:MaxNewSize=500M -XX:+CMSIncrementalMode -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=4 -XX:+AggressiveOpts -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -jar spigot-1.12.2.jar nogui