mirror of
https://github.com/kaboomserver/framework.git
synced 2025-01-07 23:19:13 +00:00
Use Aikar's flags
This commit is contained in:
parent
acc20b12f0
commit
e03a591fce
1 changed files with 23 additions and 1 deletions
|
@ -43,14 +43,36 @@ while true; do
|
||||||
# Start Minecraft server
|
# Start Minecraft server
|
||||||
|
|
||||||
java \
|
java \
|
||||||
|
-Xms1700M \
|
||||||
-Xmx1700M \
|
-Xmx1700M \
|
||||||
-Xshare:on \
|
-XX:+UseG1GC \
|
||||||
|
-XX:+ParallelRefProcEnabled \
|
||||||
|
-XX:MaxGCPauseMillis=200 \
|
||||||
|
-XX:+UnlockExperimentalVMOptions \
|
||||||
|
-XX:+DisableExplicitGC \
|
||||||
|
-XX:+AlwaysPreTouch \
|
||||||
|
-XX:G1HeapWastePercent=5 \
|
||||||
|
-XX:G1MixedGCCountTarget=4 \
|
||||||
|
-XX:G1MixedGCLiveThresholdPercent=90 \
|
||||||
|
-XX:G1RSetUpdatingPauseTimePercent=5 \
|
||||||
|
-XX:SurvivorRatio=32 \
|
||||||
|
-XX:+PerfDisableSharedMem \
|
||||||
|
-XX:MaxTenuringThreshold=1 \
|
||||||
|
-XX:G1NewSizePercent=30 \
|
||||||
|
-XX:G1MaxNewSizePercent=40 \
|
||||||
|
-XX:G1HeapRegionSize=8M \
|
||||||
|
-XX:G1ReservePercent=20 \
|
||||||
|
-XX:InitiatingHeapOccupancyPercent=15 \
|
||||||
-Xss8M \
|
-Xss8M \
|
||||||
-XX:MaxDirectMemorySize=512M \
|
-XX:MaxDirectMemorySize=512M \
|
||||||
|
-Xshare:on \
|
||||||
-XX:+UseContainerSupport \
|
-XX:+UseContainerSupport \
|
||||||
|
-XX:-UsePerfData \
|
||||||
-DPaper.IgnoreJavaVersion=true \
|
-DPaper.IgnoreJavaVersion=true \
|
||||||
-Dpaper.playerconnection.keepalive=360 \
|
-Dpaper.playerconnection.keepalive=360 \
|
||||||
-DIReallyKnowWhatIAmDoingISwear \
|
-DIReallyKnowWhatIAmDoingISwear \
|
||||||
|
-Dusing.aikars.flags=https://mcflags.emc.gs \
|
||||||
|
-Daikars.new.flags=true \
|
||||||
-jar server.jar nogui
|
-jar server.jar nogui
|
||||||
|
|
||||||
# Stop alive checker (will be started again on the next run)
|
# Stop alive checker (will be started again on the next run)
|
||||||
|
|
Loading…
Reference in a new issue