You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a server administrator, I want to be able to configure the Steam/Query port, so that I can host multiple servers
Game
Palworld
Linux distro
Ubuntu 22.04
Command
command: start, command: details
Further information
While most other things can be configured in the PalWorldSettings.ini file, the Steam/query port is not one of them, so it needs to be configured as a start parameter.
Modify the steamport so that it can accept variables configured in lgsm/config-lgsm/pwserver/.cfg
It appears info_game.sh is loaded after .cfg, so it overrides user configuration, even on ./pwserver start
Second, once that is done, in lgsm/config-lgsm/pwserver/_default.cfg
# Configure Steam/Query port to allow for multiple servers
steamport="27015"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
## Game Server Docs | https://tech.palworldgame.com/dedicated-server-guide#linux
startparameters="EpicApp=PalServer -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -servername='${servername}' -queryport='${steamport}'"
With the current iteration, even if I create the variable 'steamport' in .cfg files, no matter what I set it to, it gets overwritten with 27015, and it appears to affect the actual game start (when the variable is steamport, it works fine if I name it something different)
The change to game_info.sh will also allow it to display the user-configured port in ./pwserver details
The text was updated successfully, but these errors were encountered:
actually, I suppose instead the info_game.sh edit would be steamport="${steamport:-"0"}"
since by setting steamport in _default.cfg, we won't need to set its default value in info_game.sh, the way all other variables are handled.
User story
As a server administrator, I want to be able to configure the Steam/Query port, so that I can host multiple servers
Game
Palworld
Linux distro
Ubuntu 22.04
Command
command: start, command: details
Further information
While most other things can be configured in the PalWorldSettings.ini file, the Steam/query port is not one of them, so it needs to be configured as a start parameter.
Currently, there are two proposed changes.
One - lgsm/modules/info_game.sh
Modify the steamport so that it can accept variables configured in lgsm/config-lgsm/pwserver/.cfg
It appears info_game.sh is loaded after .cfg, so it overrides user configuration, even on ./pwserver start
Second, once that is done, in lgsm/config-lgsm/pwserver/_default.cfg
With the current iteration, even if I create the variable 'steamport' in .cfg files, no matter what I set it to, it gets overwritten with 27015, and it appears to affect the actual game start (when the variable is steamport, it works fine if I name it something different)
The change to game_info.sh will also allow it to display the user-configured port in ./pwserver details
The text was updated successfully, but these errors were encountered: