### # Remember: # Escape \ and : in your Java path on Windows with another \ # Example: # From: C:\Program Files\Eclipse Adoptium\jdk-17.0.9.9-hotspot\bin\java.exe # To: C\:\\Program Files\\Eclipse Adoptium\\jdk-17.0.9.9-hotspot\\bin\\java.exe # More on escape characters at https://en.wikipedia.org/wiki/Escape_character # # WAIT_FOR_USER_INPUT true/false allows you to enable/disable user confirmation upon # graceful script ending. # RESTART true/false allows you to enable/disable automatically restarting the server # should it crash. # SKIP_JAVA_CHECK true/false allows you to disable/enable the compatibility check # of your Minecraft version and the provided Java version, as well as the automatic # installation of a compatible Java version, should JAVA be set to 'java'. # JDK_VENDOR is for the automatic installation of a JDK compatible with the Minecraft # version of your server pack. For an extensive list of available vendors, check out # https://github.com/Jabba-Team/index/blob/main/index.json # Note - For the installation to take place: # - SKIP_JAVA_CHECK must be set to 'false' # - JAVA be set to 'java' # - No 'java' command be available OR # - The available Java version behind 'java' be incompatible with your Minecraft version. # JABBA_VERSION has no effect on the installation of Jabba when using PowerShell. # MINECRAFT_VERSION is tightly coupled with the modloader version. Be careful when changing this, as the new # new version you set may not be compatible with the modloader and modloader version combination. # MODLOADER and MODLOADER_VERSION same thing as with MINECRAFT_VERSION. Changing any of these three values may # have unforseen consequences. Well, I say unforseen, it mostly causes the server to straight up not start, # because of incompatibilities. Be very careful when changing these! # # DO NOT EDIT THE FOLLOWING VARIABLES MANUALLY # - FABRIC_INSTALLER_VERSION # - QUILT_INSTALLER_VERSION # - LEGACYFABRIC_INSTALLER_VERSION # # Variables are not reloaded between automatic restarts. If you've made changes to your # variables and you want them to take effect, stop the server and script, then # re-run it. ### MINECRAFT_VERSION=1.20.1 MODLOADER=Forge MODLOADER_VERSION=47.3.0 LEGACYFABRIC_INSTALLER_VERSION=1.0.0 FABRIC_INSTALLER_VERSION=1.0.1 QUILT_INSTALLER_VERSION=0.11.3 RECOMMENDED_JAVA_VERSION=17 JAVA_ARGS="-Xmx16G -Xms4G" JAVA="java" WAIT_FOR_USER_INPUT=true ADDITIONAL_ARGS=-Dlog4j2.formatMsgNoLookups=true RESTART=false SKIP_JAVA_CHECK=false JDK_VENDOR=temurin JABBA_INSTALL_URL_SH=https://github.com/Jabba-Team/jabba/raw/main/install.sh JABBA_INSTALL_URL_PS=https://github.com/Jabba-Team/jabba/raw/main/install.ps1 JABBA_INSTALL_VERSION=0.13.0