Professional Documents
Culture Documents
:: This script checks for the Minecraft and Forge JAR-files, and if they are not
found, they are downloaded and installed.
:: If everything is in order, the server is started.
@ECHO off
SetLocal EnableDelayedExpansion
SET JAVA="java"
SET MINECRAFT="1.16.5"
SET FORGE="36.2.29"
SET ARGS=
SET OTHERARGS="-Dlog4j2.formatMsgNoLookups=true"
IF EXIST forge-installer.jar (
IF EXIST forge.jar (
DEL forge-installer.jar
ECHO Installation complete. forge-installer.jar deleted.
)
) ELSE (
ECHO forge-installer.jar not found. Maybe the Forges servers are having
trouble.
ECHO Please try again in a couple of minutes.
)
) ELSE (
ECHO forge.jar present. Moving on...
)
PAUSE