Skip to content

Commit

Permalink
fix(palworld): use release binary, update arguments, allow to configu…
Browse files Browse the repository at this point in the history
…re log format
  • Loading branch information
P4sca1 authored Aug 18, 2024
1 parent a37ab76 commit d0f01bf
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions palworld/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,7 @@ function init_config() {
function start() {
init_config

local start_command="./Pal/Binaries/Linux/PalServer-Linux-Test port=${GAME_PORT:-8211} players=${MAX_PLAYERS:-32}"

if [ "$ENABLE_COMMUNITY_SERVER" == "true" ]; then
start_command="$start_command EpicApp=PalServer"
fi
local start_command="./Pal/Binaries/Linux/PalServer-Linux-Shipping Pal -port ${GAME_PORT:-8211} -players ${MAX_PLAYERS:-32} -logformat ${LOG_FORMAT:-text}"

if [ -n "$PUBLIC_IP" ]; then
start_command="$start_command -publicip ${PUBLIC_IP}"
Expand All @@ -87,7 +83,7 @@ function start() {
fi

if [ "$ENABLE_COMMUNITY_SERVER" == "true" ]; then
start_command="$start_command EpicApp=PalServer"
start_command="$start_command -publiclobby"
fi

if [ "$ENABLE_MULTI_THREADING" == "true" ]; then
Expand Down

0 comments on commit d0f01bf

Please sign in to comment.