diff --git a/scripts/start.sh b/scripts/start.sh index 4e014c90c..4acfdf3af 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -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!" @@ -158,4 +162,4 @@ echo "${STARTCOMMAND[*]}" "${STARTCOMMAND[@]}" DiscordMessage "${DISCORD_POST_SHUTDOWN_MESSAGE}" "failure" -exit 0 \ No newline at end of file +exit 0