Skip to content

Commit

Permalink
more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7d8 committed Jul 27, 2024
1 parent 5673f5a commit af8ab69
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions java/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,18 @@ fi

# check if libraries/net/minecraftforge/forge exists and the SERVER_JARFILE file does not exist
if [ -d "libraries/net/minecraftforge/forge" ] && [ ! -f "$SERVER_JARFILE" ]; then
curl https://s3.mcjars.app/forge/ForgeServerJAR.jar -o $SERVER_JARFILE
echo -e "\033[1m\033[33mcontainer@pterodactyl~ \033[0mDownloading Forge server jar file..."
curl -s https://s3.mcjars.app/forge/ForgeServerJAR.jar -o $SERVER_JARFILE

echo -e "\033[1m\033[33mcontainer@pterodactyl~ \033[0mForge server jar file has been downloaded"
fi

# check if libraries/net/neoforged/neoforge exists and the SERVER_JARFILE file does not exist
if [ -d "libraries/net/neoforged/neoforge" ] && [ ! -f "$SERVER_JARFILE" ]; then
curl https://s3.mcjars.app/neoforge/NeoForgeServerJAR.jar -o $SERVER_JARFILE
echo -e "\033[1m\033[33mcontainer@pterodactyl~ \033[0mDownloading NeoForge server jar file..."
curl -s https://s3.mcjars.app/neoforge/NeoForgeServerJAR.jar -o $SERVER_JARFILE

echo -e "\033[1m\033[33mcontainer@pterodactyl~ \033[0mNeoForge server jar file has been downloaded"
fi

# server.properties
Expand Down

0 comments on commit af8ab69

Please sign in to comment.