Skip to content

Commit

Permalink
Merge branch 'main' into fix-arm-build
Browse files Browse the repository at this point in the history
  • Loading branch information
thijsvanloef authored Feb 27, 2024
2 parents f2536bb + ce8137f commit 9963773
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,17 @@ if [ -n "${QUERY_PORT}" ]; then
fi

if [ "${COMMUNITY,,}" = true ]; then
STARTCOMMAND+=("EpicApp=PalServer")
STARTCOMMAND+=("-publiclobby")
fi

if [ "${MULTITHREADING,,}" = true ]; then
STARTCOMMAND+=("-useperfthreads" "-NoAsyncLoadingThread" "-UseMultithreadForDS")
fi

if [ "${RCON_ENABLED,,}" = true ]; then
STARTCOMMAND+=("-rcon")
fi

if [ "${DISABLE_GENERATE_SETTINGS,,}" = true ]; then
LogAction "GENERATING CONFIG"
LogWarn "Env vars will not be applied due to DISABLE_GENERATE_SETTINGS being set to TRUE!"
Expand Down Expand Up @@ -158,4 +162,4 @@ echo "${STARTCOMMAND[*]}"
"${STARTCOMMAND[@]}"

DiscordMessage "${DISCORD_POST_SHUTDOWN_MESSAGE}" "failure"
exit 0
exit 0

0 comments on commit 9963773

Please sign in to comment.