Skip to content

Commit

Permalink
Implement CUSTOM_FAMILY variable (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sander0542 authored Jul 7, 2024
1 parent aa9a680 commit 607994c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/run-bungeecord.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
: "${MODRINTH_PROJECTS:=}"
: "${MODRINTH_DOWNLOAD_DEPENDENCIES:=required}"
: "${MODRINTH_ALLOWED_VERSION_TYPE:=release}"
: "${CUSTOM_FAMILY:=bungeecord}"

BUNGEE_HOME=/server
RCON_JAR_URL=https://github.com/orblazer/bungee-rcon/releases/download/v${RCON_JAR_VERSION}/bungee-rcon-${RCON_JAR_VERSION}.jar
Expand Down Expand Up @@ -295,7 +296,7 @@ case "${TYPE^^}" in
;;

CUSTOM)
family=bungeecord
family=${CUSTOM_FAMILY:-bungeecord}
if [[ -v BUNGEE_JAR_URL ]]; then
log "Using custom server jar at ${BUNGEE_JAR_URL} ..."
BUNGEE_JAR=$BUNGEE_HOME/$(basename ${BUNGEE_JAR_URL})
Expand Down

0 comments on commit 607994c

Please # to comment.