GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.18k stars 801 forks source link

[Bug]: Palworld dedicated server update changed some start parameters #4514

Closed Crimson-Decoded closed 4 months ago

Crimson-Decoded commented 4 months ago

User story

As a server admin, I want my Palworld Dedicated Server to be listed in the community server, or for RCON to be configurable

Game

Palworld

Linux distro

Ubuntu 22.04

Command

command: start

Further information

In the pwserver _default.cfg file, the following is shown in the start parameters

startparameters="EpicApp=PalServer -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -servername='${servername}' -port='${port}' -queryport='${steamport}'"

where it is using EpicApp=PalServer to list the server as a community server. This was the method to do so until the most recent PalWorld dedicated server update, which now has the flag -publiclobby instead.

This is seen in both the Configure for community server and Configure the server pages on the tech pages. https://tech.palworldgame.com/getting-started/deploy-community-server https://tech.palworldgame.com/settings-and-operation/arguments

Note that, on the arguments page, players, publicip and publicport are all able to be configured in PalWorldServer.ini, and do not need to be start parameters. While it doesn't list it, queryport is still a start parameter, and necessary when hosting multiple servers to change the steam/query port.

In addition, a configuration from the PalWorldSettings.ini file was migrated to a start parameter (and isn't listed on the tech guide currently). -rcon enables rcon with the default port 25575 -rconport=#### sets the rcon port

The RCON configuration settings in PalWorldSettings.ini file are no longer functional. (RCONEnabled=False,RCONPort=25575) RCON is optional, and does not need to be enabled to function, but to use RCON now, it requires the arguments on startup


suggested changes:

add

## To enable RCON, provide a port number here. The default port is 25575. The AdminPassword setting in PalWorldServer.ini configures the RCON password, and for elevation in game.
rconport=""

change the startparameters to:

## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
## Game Server Docs | https://tech.palworldgame.com/settings-and-operation/arguments
startparameters="-publiclobby -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -servername='${servername}' -port='${port}' -queryport='${steamport}'${rconport:+ -rcon -rconport='${rconport}'}"

Relevant log output

No response

Steps to reproduce

No response

Crimson-Decoded commented 4 months ago

Looks like the change to RCON wasn't intentional, and the .ini configuration is working again after a the most recent dedicated server update.

The community server flag however, did get changed purposefully, and does need to be fixed.

MicLieg commented 4 months ago

Thanks for the info! I've updated the pull request.

PlayMTL commented 4 months ago

Issue should be resolved by https://github.com/GameServerManagers/LinuxGSM/pull/4516