Browse Source

fix(rust): Support Rust query port needed after Feb 2nd! (#4048)

* add query port to rust

* fix variable in config

* feat(docker): add docker image list to csv

* Update _default.cfg

fix server.queryport

---------

Co-authored-by: Daniel Gibbs <[email protected]>
pull/3507/merge
un-boxing-man 2 years ago
committed by GitHub
parent
commit
1fbb66d426
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      lgsm/config-default/config-lgsm/rustserver/_default.cfg
  2. 2
      lgsm/functions/info_game.sh

3
lgsm/config-default/config-lgsm/rustserver/_default.cfg

@ -13,6 +13,7 @@ ip="0.0.0.0"
port="28015"
rconport="28016"
appport=28082
queryport=28017
rconpassword="CHANGE_ME"
rconweb="1" # Value is: 1 for the Facepunch web panel, Rustadmin desktop and Rustadmin Online; 0 for RCON tools like Rusty.
servername="Rust"
@ -27,7 +28,7 @@ saveinterval="300" # Auto-save in seconds.
tickrate="30" # default: 30, range: 15-100.
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="-batchmode +app.listenip ${ip} +app.port ${appport} +server.ip ${ip} +server.port ${port} +server.tickrate ${tickrate} +server.hostname \"${servername}\" +server.identity \"${selfname}\" +server.gamemode ${gamemode} +server.level \"${serverlevel}\" +server.seed ${seed} +server.salt ${salt} +server.maxplayers ${maxplayers} +server.worldsize ${worldsize} +server.saveinterval ${saveinterval} +rcon.web ${rconweb} +rcon.ip ${ip} +rcon.port ${rconport} +rcon.password \"${rconpassword}\" -logfile"
startparameters="-batchmode +app.listenip ${ip} +app.port ${appport} +server.ip ${ip} +server.port ${port} +server.queryport ${queryport} +server.tickrate ${tickrate} +server.hostname \"${servername}\" +server.identity \"${selfname}\" +server.gamemode ${gamemode} +server.level \"${serverlevel}\" +server.seed ${seed} +server.salt ${salt} +server.maxplayers ${maxplayers} +server.worldsize ${worldsize} +server.saveinterval ${saveinterval} +rcon.web ${rconweb} +rcon.ip ${ip} +rcon.port ${rconport} +rcon.password \"${rconpassword}\" -logfile"
#### LinuxGSM Settings ####

2
lgsm/functions/info_game.sh

@ -1462,7 +1462,7 @@ fn_info_game_rust() {
# Parameters
servername=${servername:-"NOT SET"}
port=${port:-"0"}
queryport=${port:-"0"}
queryport=${queryport:-"0"}
appport=${appport:-"0"}
rconport=${rconport:-"0"}
gamemode=${gamemode:-"NOT SET"}

Loading…
Cancel
Save