[Crash]: Not even starting
KOTHBio opened this issue ยท 1 comments
Possible Fixes
Yes
Modpack Version
2.58 (server pack)
What happened?
Tthe above is what happens, no crash or latest log because it doesnt start.
contennts of the start.sh is below
#!/usr/bin/env sh
Forge requires a configured set of both JVM and program arguments.
Add custom JVM arguments to the user_jvm_args.txt
Add custom program arguments {such as nogui} to this file in the next line before the "$@" or
pass them to this script directly
set -eu
FORGE_VERSION=47.2.20To use a specific Java runtime, set an environment variable named ATM9_JAVA to the full path of java.exe.
To disable automatic restarts, set an environment variable named ATM9_RESTART to false.
To install the pack without starting the server, set an environment variable named ATM9_INSTALL_ONLY to true.
INSTALLER="forge-1.20.1-$FORGE_VERSION-installer.jar"
FORGE_URL="http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.20.1-$FORGE_VERSION/forge-1.20.1-$FORGE_VERSION-installer.jar"pause() {
printf "%s\n" "Press enter to continue..."
read ans
}if ! command -v "${ATM9_JAVA:-java}" >/dev/null 2>&1; then
echo "Minecraft 1.20.1 requires Java 17 - Java not found"
pause
exit 1
ficd "$(dirname "$0")"
if [ ! -d libraries ]; then
echo "Forge not installed, installing now."
if [ ! -f "$INSTALLER" ]; then
echo "No Forge installer found, downloading now."
if command -v wget >/dev/null 2>&1; then
echo "DEBUG: (wget) Downloading $FORGE_URL"
wget -O "$INSTALLER" "$FORGE_URL"
else
if command -v curl >/dev/null 2>&1; then
echo "DEBUG: (curl) Downloading $FORGE_URL"
curl -o "$INSTALLER" -L "$FORGE_URL"
else
echo "Neither wget or curl were found on your system. Please install one and try again"
pause
exit 1
fi
fi
fiecho "Running Forge installer." "${ATM9_JAVA:-java}" -jar "$INSTALLER" -installServer
fi
if [ ! -e server.properties ]; then
printf "allow-flight=true\nmotd=All the Mods 9\nmax-tick-time=180000" > server.properties
fiif [ "${ATM9_INSTALL_ONLY:-false}" = "true" ]; then
echo "INSTALL_ONLY: complete"
exit 0
fiJAVA_VERSION=$("${ATM9_JAVA:-java}" -fullversion 2>&1 | awk -F '"' '/version/ {print $2}' | cut -d'.' -f1)
if [ ! "$JAVA_VERSION" -ge 17 ]; then
echo "Minecraft 1.20.1 requires Java 17 - found Java $JAVA_VERSION"
pause
exit 1
fiwhile true
do
"${ATM9_JAVA:-java}" @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.20.1-$FORGE_VERSION/unix_args.txt noguiif [ "${ATM9_RESTART:-true}" = "false" ]; then exit 0 fi echo "Restarting automatically in 10 seconds (press Ctrl + C to cancel)" sleep 10
done
Crash Log
n/a
Latest.Log
n/a