Skip to content

Commit

Permalink
Added support for PLUGINS_FILE
Browse files Browse the repository at this point in the history
  • Loading branch information
pianwan committed Dec 10, 2024
1 parent 52ba878 commit e914fe1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/run-bungeecord.sh
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,15 @@ if [[ "$PLUGINS" ]]; then
"$PLUGINS"
fi

if [[ "$PLUGINS_FILE" ]]; then
mkdir -p "$BUNGEE_HOME/plugins"
mc-image-helper mcopy \
--file-is-listing \
--scope=file-list \
--to="$BUNGEE_HOME/plugins" \
"$PLUGINS_FILE"
fi

# Download plugins from spigotmc and put them in the plugins folder
if [[ ${SPIGET_PLUGINS} ]]; then
log "Getting plugins via Spiget"
Expand Down

0 comments on commit e914fe1

Please sign in to comment.