Skip to content

Commit

Permalink
neoforge 1.20.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7d8 committed Sep 12, 2024
1 parent 040259d commit 85201fb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: ["mcjars", "0x7d8"]
ko_fi: "rjansen"
8 changes: 8 additions & 0 deletions java/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,14 @@ if [ -d "libraries/net/neoforged/neoforge" ] && [ ! -f "$SERVER_JARFILE" ]; then
echo -e "${LOG_PREFIX} NeoForge server jar file has been downloaded"
fi

# check if libraries/net/neoforged/forge exists and the SERVER_JARFILE file does not exist
if [ -d "libraries/net/neoforged/forge" ] && [ ! -f "$SERVER_JARFILE" ]; then
echo -e "${LOG_PREFIX} Downloading NeoForge server jar file..."
curl -s https://s3.mcjars.app/neoforge/NeoForgeServerJAR.jar -o $SERVER_JARFILE

echo -e "${LOG_PREFIX} NeoForge server jar file has been downloaded"
fi

# server.properties
if [ -f "server.properties" ]; then
# set server-ip to 0.0.0.0
Expand Down

0 comments on commit 85201fb

Please sign in to comment.