Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for v0.1.5.0 #458

Closed
MusclePr opened this issue Feb 27, 2024 · 9 comments
Closed

Update for v0.1.5.0 #458

MusclePr opened this issue Feb 27, 2024 · 9 comments

Comments

@MusclePr
Copy link
Contributor

MusclePr commented Feb 27, 2024

This is not bug.
The rcon port no longer listen from v0.1.5.0 without -rcon or -rconport= option.

and modified options.
EpicApp=PalServer ---> -publiclobby
reference from https://tech.palworldgame.com/settings-and-operation/arguments

diff --git a/scripts/start.sh b/scripts/start.sh
index 4e014c9..1b826e2 100644
--- a/scripts/start.sh
+++ b/scripts/start.sh
@@ -65,6 +65,7 @@ isReadable "${STARTCOMMAND[0]}" || exit
 isExecutable "${STARTCOMMAND[0]}" || exit
 
 # Prepare Arguments
+STARTCOMMAND+=("-rcon")
 if [ -n "${PORT}" ]; then
     STARTCOMMAND+=("-port=${PORT}")
 fi
@@ -74,7 +75,7 @@ if [ -n "${QUERY_PORT}" ]; then
 fi
 
 if [ "${COMMUNITY,,}" = true ]; then
-    STARTCOMMAND+=("EpicApp=PalServer")
+    STARTCOMMAND+=("-publiclobby")
 fi
 
 if [ "${MULTITHREADING,,}" = true ]; then
@urbenlegend
Copy link

Hmmm, I wonder if this is probably why I am still experiencing symptoms from this closed bug: #449 (comment)

@dualznz
Copy link

dualznz commented Feb 27, 2024

yea im getting the constant logging from rcon port not being open when it is

@bostrt
Copy link

bostrt commented Feb 27, 2024

I've submitted a PR for the RCON issue: #459

@dualznz
Copy link

dualznz commented Feb 27, 2024

yup i implemented that into my start.sh file but i was still getting the flag error, so i commented out the Waiting for RCON port to open to show player logging... line in /home/steam/server/player_logging.sh then it wont come up all the time, it appears 0.1.5.0 broke alot of things.

also noticed that when logged into in-game rcon, you no longer see the connected player in the escape menu

@MusclePr
Copy link
Contributor Author

MusclePr commented Feb 27, 2024

also noticed that when logged into in-game rcon, you no longer see the connected player in the escape menu

add bShowPlayerList=True in PalWorldSettings.ini from v0.1.5.0

diff --git a/scripts/compile-settings.sh b/scripts/compile-settings.sh
index a7a64f7..0147f9c 100755
--- a/scripts/compile-settings.sh
+++ b/scripts/compile-settings.sh
@@ -83,6 +83,7 @@ export RCON_PORT=${RCON_PORT:-25575}
 export REGION=\"${REGION:-""}\"
 export USEAUTH=${USEAUTH:-True}
 export BAN_LIST_URL=\"${BAN_LIST_URL:-https://api.palworldgame.com/api/banlist.txt}\"
+export SHOW_PLAYER_LIST=${SHOW_PLAYER_LIST:-True}
 
 if [ "${DEBUG,,}" = true ]; then
 cat <<EOF
@@ -149,6 +150,7 @@ RCON_PORT = $RCON_PORT
 REGION = $REGION
 USEAUTH = $USEAUTH
 BAN_LIST_URL = $BAN_LIST_URL
+SHOW_PLAYER_LIST = $SHOW_PLAYER_LIST
 ====Debug====
 EOF
 fi
diff --git a/scripts/files/PalWorldSettings.ini.template b/scripts/files/PalWorldSettings.ini.template
index 55ecbe6..f237152 100644
--- a/scripts/files/PalWorldSettings.ini.template
+++ b/scripts/files/PalWorldSettings.ini.template
@@ -60,5 +60,6 @@ RCONEnabled=$RCON_ENABLED,
 RCONPort=$RCON_PORT,
 Region=$REGION,
 bUseAuth=$USEAUTH,
-BanListURL=$BAN_LIST_URL
-)
\ No newline at end of file
+BanListURL=$BAN_LIST_URL,
+bShowPlayerList=$SHOW_PLAYER_LIST
+)

v0 1 5 0-playerlist

@MusclePr MusclePr changed the title add -rcon option from v0.1.5.0 Update for v0.1.5.0 Feb 27, 2024
@43414d
Copy link
Contributor

43414d commented Feb 27, 2024

PR created for the publiclobby change in #460

@chowhi123
Copy link
Contributor

@43414d We also need to add new variable bShowPlayerList=True to DefaultPalWorldSettings.ini. I don't know how to make changes using git. Could you help me?

@MusclePr
Copy link
Contributor Author

PR created for support the bShowPlayerList in #461

@MusclePr
Copy link
Contributor Author

The cause of the problem where RCON is not enabled from .ini has been identified.
I will fix it as soon as possible.

There is an official answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants