All gists

jackz
Last active 2 months ago

starts the latest paper

0 0 1
1 #!/bin/bash
2 JAR=$(find -type f -name 'paper-*.jar' -printf %f\\n | sort | head -1)
3 echo Found jar: ${JAR}
4 while true; do
5 java -server -Xms1G -Xmx1G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:G1MixedGCLiveThresholdPercent=35 -XX:+AlwaysPreTouch -XX:+ParallelRefProcEnabled -Dusing.aikars.flags=mcflags.emc.gs -jar ${JAR}
6 echo "";
7 for i in {5..1}; do
8 echo "Server has stopped. Auto-restarting in $i seconds. Ctrl+C to cancel." && sleep 1;
9 done
10 sleep 1;
jackz
Last active 2 months ago
0 0 1
1 :: Launch GTA Online Patch v1.2
2 :: This batch file will automatically launch GTAV if not started, look for the process and inject using Xenos
3 :: You should probably at minimum change the GTADIR parameter below to where your GTA5.exe is
4 :: It will run Xenos64 in the folder the bat file is ran from, for the profile "OnlinePatch.xpr64"
5
6 :: Links
7 :: Xenos - https://github.com/DarthTon/Xenos
8 :: Online Patch Booster - https://github.com/QuickNET-Tech/GTAO_Booster_PoC
9 @echo off
10 title Launch GTA Online Patch