Update as of June 2022: We now allow clients to enable a few pre-defined parameters automatically, from the Advanced -> Startup Parameters page within the Multicraft control panel. When doing this, you do not need to rename your jar file like what is mentioned below. Here is a list of pre-defined startup parameters that we've added.

  • --forceUpgrade - Force Upgrade World - Upgrades world to a newer version, should be used when changing your existing world to a new version of the game.
  • --eraseCache - Erase World Cache - Useful for fixing graphical issues in your servers world, especially after changing game versions.
  • -Dfml.queryResult=confirm - Automatically confirm any tasks during Forge server startup, that would normally require manual user input. Useful if you're changing Forge game versions or updating to a newer mod pack version.
  • -Dfml.readTimeout=300 - Sets your server read timeout period to 5 minutes. This will extend the timeout period for players who have connection issues and keep them connected longer while their connection is reestablished.

----------------------------------

We have backend jar configuration files so clients can use common parameters at startup for their servers. To use one of these, just go to the file manager (FTP) of your server and rename your existing server ".jar" file to one of the names listed below, when the server is started next it will use the parameters listed.

Name: perf.jar
Parameters: -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:-OmitStackTraceInFastThrow -XX:+AlwaysPreTouch -XX:MaxGCPauseMillis=200 -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=8 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=true -Daikars.new.flags=true
Note: Standard performance parameters.

Name: java13-perf.jar
Parameters: -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:-OmitStackTraceInFastThrow -XX:+AlwaysPreTouch -XX:MaxGCPauseMillis=200 -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=8 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=true -Daikars.new.flags=true
Note: Standard performance parameters. This jar file name will force your server to use Java 13 as well.

Name: java14.jar
Parameters: -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:+AlwaysPreTouch 
Note: This jar file name will force your server to use Java 14, which may not be compatible with some older server software.

Name: java16.jar
Parameters: -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:+AlwaysPreTouch 
Note: This jar file name will force your server to use Java 16, which may not be compatible with some older server software. Generally, Minecraft 1.17.1 and higher requires Java 16 to run.

Name: java16-perf.jar 
Parameters: -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:+AlwaysPreTouch -XX:+ParallelRefProcEnabled -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:-OmitStackTraceInFastThrow -XX:MaxGCPauseMillis=200  -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=8 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=true -Daikars.new.flags=true
Note: This jar file name will force your server to use Java 16, which may not be compatible with some older server software. Generally, Minecraft 1.17.1 and higher requires Java 16 to run.

Name: java17.jar
Parameters: -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:+AlwaysPreTouch 
Note: This jar file name will force your server to use Java 17, which may not be compatible with some older server software. Generally, Minecraft 1.18 (2021) and higher requires Java 17 to run.

Name: java17-perf.jar 
Parameters: -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:+AlwaysPreTouch -XX:+ParallelRefProcEnabled -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:-OmitStackTraceInFastThrow -XX:MaxGCPauseMillis=200  -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=8 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=true -Daikars.new.flags=true
Note: This jar file name will force your server to use Java 17, which may not be compatible with some older server software. Generally, Minecraft 1.18 (2021) and higher requires Java 17 to run.

Was this answer helpful? 35 Users Found This Useful (71 Votes)