Browse Source
feat(pw): port & steamport setting for palworld (#4479 )
* fix: servername variable assignment for sf and unt
The servername variable was incorrectly assigned using the selfname variable instead of the correct servername variable. This has been fixed to ensure accurate information is displayed for each game type.
* add: port & steamport setting for palworld
---------
Co-authored-by: Daniel Gibbs <[email protected] >
pull/4484/head
Armin
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
6 additions and
5 deletions
lgsm/config-default/config-lgsm/pwserver/_default.cfg
lgsm/modules/info_game.sh
@ -11,12 +11,13 @@
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
servername = "LinuxGSM"
# Use game server config file to edit, used for port check script (workaround)
# For community servers (serverlist) you need to change these settings (publicip & publicport) in the gameserver config file aswell
port = "8211"
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}'"
startparameters = "EpicApp=PalServer -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -servername='${servername}' -port='${port}' -queryport='${steamport}' "
#### LinuxGSM Settings ####
@ -621,7 +621,7 @@ fn_info_game_pvr() {
fn_info_game_pw( ) {
servername = " ${ servername :- "NOT SET" } "
port = " ${ port :- "0" } "
steamport = "27015 "
steamport = " ${ steamport :- "0" } "
unknownport = "1985"
}
@ -1978,7 +1978,7 @@ fn_info_game_sdtd() {
# Config Type: Parameters (with an ini)
fn_info_game_sf( ) {
# Parameters
servername = " ${ self name :- "NOT SET" } "
servername = " ${ server name :- "NOT SET" } "
port = " ${ port :- "0" } "
queryport = " ${ queryport :- "0" } "
beaconport = " ${ beaconport :- "0" } "
@ -2131,7 +2131,7 @@ fn_info_game_tw() {
# Config Type: Parameters
fn_info_game_unt( ) {
servername = " ${ self name :- "NOT SET" } "
servername = " ${ server name :- "NOT SET" } "
port = " ${ port :- "0" } "
queryport = " ${ port } "
steamport = " $(( port + 1 )) "