The max number of consecutive crashes that each occur within so many seconds of each other. The defaults provided should be best for most people, but can be edited if desired How much max RAM to allow the JVM to allocate to the server If you're running your server on a remote system, the following command can be used to keep it running even when you close your terminal:įormatting is very important for it to load correctly: Skips user input stages and uses default values instead The server will not automatically start after.
CRITICAL OPS MOD SCRIPT MAKER INSTALL
Runs only the install portion of the script. Linux: bash ServerStart.sh (must be bash, not shell/sh) Arguments Setting Windows: ServerStart.Bat (Run/Double-Click)
CRITICAL OPS MOD SCRIPT MAKER HOW TO
How To Use Do not modify ServerStart.bat or ServerStart.sh All settings are modified in settings.cfg instead. Please make a report on the github linked above The script also performs many basic checks such as looking for a valid Java version installed and checking that EULA.txt has been updated.Īll relevant settings are in the easily accessible "settings.cfg" file Modpack creators can specify their pack's Minecraft and Forge versions, and server operators can specify JVM args and RAM allocation as desired. If the installed Forge version is different from what's supplied in the settings.cfg, the script will remove the old Forge and re-download and install the version specified. It's also adaptable to smoothly transition to new versions of Forge even on existing servers that have already been setup. (No need for a separate "install" script).
This will also install Mojang's distribution-restricted Minecraft binary and the required libraries.Īfter Forge/Minecraft are installed, the same script will act as a launcher to start the server, with an auto-restart-after-crash feature as well. These scripts will fetch the appropriate Forge installer and install it. Originally created for use in "All The Mods" modpacks, but is free for anyone to use, modify or distribute provided the conditions of the custom license (detailed below) are met.ĭescription OS Batch/Script to help install/run modpack servers. Minecraft-Forge Server install/launcher scriptĬreated and supported by the All The Mods Team with special thanks to and