Browse Source

fix(hwserver): fix startup and change logging

pull/4189/head
H3o66 3 years ago
parent
commit
1c52451a24
  1. 3
      lgsm/config-default/config-lgsm/hwserver/_default.cfg
  2. 1
      lgsm/modules/info_game.sh

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

@ -16,7 +16,6 @@ queryport="12881"
maxplayers="20" maxplayers="20"
defaultmap="" # Optional defaultmap="" # Optional
creativemode="0" # Free Build: creativemode="1" creativemode="0" # Free Build: creativemode="1"
gamelog="gamelog.txt"
## Add admins using STEAMID64 ## Add admins using STEAMID64
# Example : addadmin 012345678901234567; addadmin 987654321098765432 # Example : addadmin 012345678901234567; addadmin 987654321098765432
@ -28,7 +27,7 @@ loadsave=""
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
# Edit with care | http://hurtworld.wikia.com/wiki/Hosting_A_Server # Edit with care | http://hurtworld.wikia.com/wiki/Hosting_A_Server
startparameters="-batchmode -nographics -exec \"host ${port} ${defaultmap} ${loadsave};queryport ${queryport};maxplayers ${maxplayers};servername ${servername};creativemode ${creativemode};${admins}\"" startparameters="-batchmode -nographics -logfile ${gamelog} -exec \"host ${port} ${defaultmap} ${loadsave};queryport ${queryport};maxplayers ${maxplayers};servername ${servername};creativemode ${creativemode};${admins}\""
#### LinuxGSM Settings #### #### LinuxGSM Settings ####

1
lgsm/modules/info_game.sh

@ -710,7 +710,6 @@ fn_info_game_hw() {
port=${port:-"0"} port=${port:-"0"}
queryport=${queryport:-"0"} queryport=${queryport:-"0"}
maxplayers=${maxplayers:-"0"} maxplayers=${maxplayers:-"0"}
defaultmap=${defaultmap:-"NOT SET"}
creativemode=${creativemode:-"NOT SET"} creativemode=${creativemode:-"NOT SET"}
} }

Loading…
Cancel
Save