Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicTeaMC authored Jul 12, 2023
1 parent 8e4f457 commit 9055176
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Minecraft-server-auto-setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ set /p puachoice=
if '%puachoice%'=='1' goto useaikarflag
if '%puachoice%'=='2' goto dontuseaikarflag
echo 輸入錯誤,請再試一次
goto dpapered
goto dpurpured

:dpuffer
cls
Expand Down Expand Up @@ -225,7 +225,7 @@ set /p puachoice=
if '%puachoice%'=='1' goto useaikarflag
if '%puachoice%'=='2' goto dontuseaikarflag
echo 輸入錯誤,請再試一次
goto dpapered
goto dpuffered

:useaikarflag
echo java -Xms4096M -Xmx4096M --add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -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:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -jar server.jar --nogui> StartServer.bat
Expand Down

0 comments on commit 9055176

Please sign in to comment.