Fix indents
This commit is contained in:
parent
108767c3d4
commit
f7670c1408
1 changed files with 28 additions and 29 deletions
57
mca.sh
57
mca.sh
|
|
@ -198,44 +198,43 @@ if [ "$CONFIGURE_ONLY" -eq 0 ]; then
|
|||
;;
|
||||
waterfall|velocity)
|
||||
[ "$MCA_PLATFORM" = "bungee" ] || MCA_JVM_FLAGS="$MCA_JVM_FLAGS \
|
||||
-XX:+UseG1GC \
|
||||
-XX:G1HeapRegionSize=4M \
|
||||
-XX:+UnlockExperimentalVMOptions \
|
||||
-XX:+ParallelRefProcEnabled \
|
||||
-XX:+AlwaysPreTouch \
|
||||
-DIReallyKnowWhatIAmDoingISwear=true"
|
||||
-XX:+UseG1GC \
|
||||
-XX:G1HeapRegionSize=4M \
|
||||
-XX:+UnlockExperimentalVMOptions \
|
||||
-XX:+ParallelRefProcEnabled \
|
||||
-XX:+AlwaysPreTouch \
|
||||
-DIReallyKnowWhatIAmDoingISwear=true"
|
||||
;;
|
||||
minecraft|bukkit|craftbukkit|spigot|paper)
|
||||
MCA_JVM_FLAGS="$MCA_JVM_FLAGS -Dcom.mojang.eula.agree=true \
|
||||
-DIReallyKnowWhatIAmDoingISwear=true"
|
||||
-DIReallyKnowWhatIAmDoingISwear=true"
|
||||
[ "$MCA_PLATFORM" = "paper" ] && MCA_JVM_FLAGS="$MCA_JVM_FLAGS \
|
||||
-XX:+UseG1GC \
|
||||
-XX:+ParallelRefProcEnabled \
|
||||
-XX:MaxGCPauseMillis=200 \
|
||||
-XX:+UnlockExperimentalVMOptions \
|
||||
-XX:+DisableExplicitGC \
|
||||
-XX:+AlwaysPreTouch \
|
||||
-XX:G1NewSizePercent=30 \
|
||||
-XX:G1MaxNewSizePercent=40 \
|
||||
-XX:G1HeapRegionSize=8M \
|
||||
-XX:G1ReservePercent=20 \
|
||||
-XX:G1HeapWastePercent=5 \
|
||||
-XX:G1MixedGCCountTarget=4 \
|
||||
-XX:InitiatingHeapOccupancyPercent=15 \
|
||||
-XX:G1MixedGCLiveThresholdPercent=90 \
|
||||
-XX:G1RSetUpdatingPauseTimePercent=5 \
|
||||
-XX:SurvivorRatio=32 \
|
||||
-XX:+PerfDisableSharedMem \
|
||||
-XX:MaxTenuringThreshold=1 \
|
||||
-Dusing.aikars.flags=https://mcflags.emc.gs \
|
||||
-Daikars.new.flags=true"
|
||||
-XX:+UseG1GC \
|
||||
-XX:+ParallelRefProcEnabled \
|
||||
-XX:MaxGCPauseMillis=200 \
|
||||
-XX:+UnlockExperimentalVMOptions \
|
||||
-XX:+DisableExplicitGC \
|
||||
-XX:+AlwaysPreTouch \
|
||||
-XX:G1NewSizePercent=30 \
|
||||
-XX:G1MaxNewSizePercent=40 \
|
||||
-XX:G1HeapRegionSize=8M \
|
||||
-XX:G1ReservePercent=20 \
|
||||
-XX:G1HeapWastePercent=5 \
|
||||
-XX:G1MixedGCCountTarget=4 \
|
||||
-XX:InitiatingHeapOccupancyPercent=15 \
|
||||
-XX:G1MixedGCLiveThresholdPercent=90 \
|
||||
-XX:G1RSetUpdatingPauseTimePercent=5 \
|
||||
-XX:SurvivorRatio=32 \
|
||||
-XX:+PerfDisableSharedMem \
|
||||
-XX:MaxTenuringThreshold=1 \
|
||||
-Dusing.aikars.flags=https://mcflags.emc.gs \
|
||||
-Daikars.new.flags=true"
|
||||
;;
|
||||
custom)
|
||||
;;
|
||||
*)
|
||||
echo "$EXEC_NAME: invalid platform: $MCA_PLATFORM. Valid: bungee, \
|
||||
waterfall, velocity, minecraft, bukkit, craftbukkit, spigot, \
|
||||
paper, custom" >&2
|
||||
waterfall, velocity, minecraft, bukkit, craftbukkit, spigot, paper, custom" >&2
|
||||
exit 2
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue