From 7ddf6ecfb0bd6a23e197f565019f043549b2e045 Mon Sep 17 00:00:00 2001 From: Drew Morrison <43414d@gmail.com> Date: Mon, 26 Feb 2024 23:37:05 -0600 Subject: [PATCH 1/6] update "EpicApp=Palserver" to "-publiclobby" per 1.5.0 changes --- scripts/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start.sh b/scripts/start.sh index 4e014c90c..4c7c21afe 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -74,7 +74,7 @@ if [ -n "${QUERY_PORT}" ]; then fi if [ "${COMMUNITY,,}" = true ]; then - STARTCOMMAND+=("EpicApp=PalServer") + STARTCOMMAND+=("-publiclobby") fi if [ "${MULTITHREADING,,}" = true ]; then From 79e747cf14d67df4f26450732ce9c1819653a299 Mon Sep 17 00:00:00 2001 From: Drew Morrison <43414d@gmail.com> Date: Tue, 27 Feb 2024 00:12:00 -0600 Subject: [PATCH 2/6] adding bostrt changes --- scripts/start.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/start.sh b/scripts/start.sh index 4c7c21afe..fde95c828 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -81,6 +81,10 @@ if [ "${MULTITHREADING,,}" = true ]; then STARTCOMMAND+=("-useperfthreads" "-NoAsyncLoadingThread" "-UseMultithreadForDS") fi +if [ "${RCON_ENABLED,,}" = true ]; then + STARTCOMMAND+=("-rconport=${RCON_PORT}") +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!" From 6c95fa1e4f520c91c72457d28266bcae3fc9ac8c Mon Sep 17 00:00:00 2001 From: Thijs van Loef <58031337+thijsvanloef@users.noreply.github.com> Date: Tue, 27 Feb 2024 09:34:14 +0100 Subject: [PATCH 3/6] Also check if RCON port is empty --- scripts/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/start.sh b/scripts/start.sh index fde95c828..d4dd3f39e 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -81,7 +81,7 @@ if [ "${MULTITHREADING,,}" = true ]; then STARTCOMMAND+=("-useperfthreads" "-NoAsyncLoadingThread" "-UseMultithreadForDS") fi -if [ "${RCON_ENABLED,,}" = true ]; then +if [ "${RCON_ENABLED,,}" = true ] && [ -n "${RCON_PORT}"]; then STARTCOMMAND+=("-rconport=${RCON_PORT}") fi @@ -162,4 +162,4 @@ echo "${STARTCOMMAND[*]}" "${STARTCOMMAND[@]}" DiscordMessage "${DISCORD_POST_SHUTDOWN_MESSAGE}" "failure" -exit 0 \ No newline at end of file +exit 0 From dfe39ad083fc997d9be6c762aae0acfa47978857 Mon Sep 17 00:00:00 2001 From: Thijs van Loef <58031337+thijsvanloef@users.noreply.github.com> Date: Tue, 27 Feb 2024 09:34:59 +0100 Subject: [PATCH 4/6] fix linting --- scripts/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start.sh b/scripts/start.sh index d4dd3f39e..06be23f7c 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -81,7 +81,7 @@ if [ "${MULTITHREADING,,}" = true ]; then STARTCOMMAND+=("-useperfthreads" "-NoAsyncLoadingThread" "-UseMultithreadForDS") fi -if [ "${RCON_ENABLED,,}" = true ] && [ -n "${RCON_PORT}"]; then +if [ "${RCON_ENABLED,,}" = true ] && [ -n "${RCON_PORT}" ]; then STARTCOMMAND+=("-rconport=${RCON_PORT}") fi From 6178fb0eec0cdd3c0dc168f9116fb52caf0046a1 Mon Sep 17 00:00:00 2001 From: Thijs van Loef <58031337+thijsvanloef@users.noreply.github.com> Date: Tue, 27 Feb 2024 09:39:33 +0100 Subject: [PATCH 5/6] use -rcon instead of -rconport --- scripts/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/start.sh b/scripts/start.sh index 06be23f7c..40634f568 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -81,8 +81,8 @@ if [ "${MULTITHREADING,,}" = true ]; then STARTCOMMAND+=("-useperfthreads" "-NoAsyncLoadingThread" "-UseMultithreadForDS") fi -if [ "${RCON_ENABLED,,}" = true ] && [ -n "${RCON_PORT}" ]; then - STARTCOMMAND+=("-rconport=${RCON_PORT}") +if [ "${RCON_ENABLED,,}" = true ]; then + STARTCOMMAND+=("-rcon) fi if [ "${DISABLE_GENERATE_SETTINGS,,}" = true ]; then From 88f7ef5cd4b4589624d155743213deb3ff9ba7c6 Mon Sep 17 00:00:00 2001 From: Thijs van Loef <58031337+thijsvanloef@users.noreply.github.com> Date: Tue, 27 Feb 2024 09:40:15 +0100 Subject: [PATCH 6/6] forgot to close string --- scripts/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start.sh b/scripts/start.sh index 40634f568..4acfdf3af 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -82,7 +82,7 @@ if [ "${MULTITHREADING,,}" = true ]; then fi if [ "${RCON_ENABLED,,}" = true ]; then - STARTCOMMAND+=("-rcon) + STARTCOMMAND+=("-rcon") fi if [ "${DISABLE_GENERATE_SETTINGS,,}" = true ]; then