Browse Source

corrected queryport

pull/1787/head
Daniel Gibbs 7 years ago
parent
commit
d6617175e0
  1. 2
      lgsm/functions/info_config.sh

2
lgsm/functions/info_config.sh

@ -51,7 +51,7 @@ fn_info_config_justcause3(){
serverpassword=$(grep "password" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^#/d' -e 's/password//g' | tr -d '=\";,:' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//')
maxplayers=$(grep "\"maxPlayers\"" "${servercfgfullpath}" | tr -cd '[:digit:]')
port=$(grep "\"port\"" "${servercfgfullpath}" | tr -cd '[:digit:]')
steamport=$(grep "\"queryPort\"" "${servercfgfullpath}" | tr -cd '[:digit:]')
queryport=$(grep "\"queryPort\"" "${servercfgfullpath}" | tr -cd '[:digit:]')
steamport=$(grep "\"steamPort\"" "${servercfgfullpath}" | tr -cd '[:digit:]')
tickrate=$(grep "\"maxTickRate\"" "${servercfgfullpath}" | tr -cd '[:digit:]')

Loading…
Cancel
Save