Browse Source

fix(cod4): Improve servername and rcon password parsing (#3564)

* fix(cod4): Improve servername and rcon password parsing

* further improvements to info_game

Co-authored-by: Daniel Gibbs <[email protected]>
pull/3525/head
Christian 4 years ago
committed by GitHub
parent
commit
5ca1803353
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      lgsm/config-default/config-lgsm/pstbsserver/_default.cfg
  2. 501
      lgsm/functions/info_game.sh
  3. 5
      lgsm/functions/info_messages.sh

1
lgsm/config-default/config-lgsm/pstbsserver/_default.cfg

@ -14,7 +14,6 @@ port="10027"
queryport="10037"
rconport="21114"
randommap="NONE"
#servername="LinuxGSM Server"
maxplayers="40"
reservedslots="0"

501
lgsm/functions/info_game.sh

File diff suppressed because it is too large

5
lgsm/functions/info_messages.sh

@ -339,6 +339,11 @@ fn_info_message_gameserver(){
fi
fi
# Reverved Slots
if [ -n "${statspassword}" ]; then
echo -e "${lightblue}Reserved Slots:\t${default}${reservedslots}"
fi
# Bots
if [ -n "${gdbots}" ]; then
echo -e "${lightblue}Bots:\t${default}${gdbots}"

Loading…
Cancel
Save